I need to read a GPIO input status in run time, anyone know how to do that?
i'm using DM816x DVR RDK board with version 00.07.00.02
I refer to the application source code "app_dio_if.c", i can only set a input sensor to detect falling edge or rising edge. and then wait for the interrupt.
How about if i need to read it in runtime? eg to get GPIO Input 1 is High or Low?