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
490 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
Reply
1 Solution
488 Views
jingyangxie
Contributor V

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

View solution in original post

1 Reply
489 Views
jingyangxie
Contributor V

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