cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
273 Views
Registered: ‎02-05-2019

Read the State of GPIO pins - ZCU111 RFSoC

Hi Developers

Greetings

I am using ZCU-111 eval board.
I am trying to read the state of a GPIO_LED (AR16) from sdk.

Using the function "XGpioPs_ReadPin(const XGpioPs *InstancePtr, u32 Pin)" 

how to find the pin value for the specific LED or any GPIO port? I tried looking at the reference manual, however all the pins are named as string, but the function expects a u32 value.

Am i using the wrong function? If so, how to read the state of a GPIO port from SDK for ZCU-111.

Appreciate the help.


Thanks in advance.


Nanda

0 Kudos