How can 1176 get GPIO value

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can 1176 get GPIO value

Jump to solution
341 Views
jingyangxie
Contributor V

I want to use gpio as input mode(not interrupt mode) ,how can i get this gpio value, the SDK 2.12 only provides gpio write api(GPIO_PinWrite)

0 Kudos
1 Solution
339 Views
jingyangxie
Contributor V

Got it by read the corresponding bit in PSR of this GPIO

View solution in original post

1 Reply
340 Views
jingyangxie
Contributor V

Got it by read the corresponding bit in PSR of this GPIO