Download Print this page

AcSiP AI7688H Reference Manual page 51

Advertisement

There's another GPIO mode which is INPUT. It takes the digital signal input
from the pin and interprets it into 1 and 0. This example will continuously
print out the value received from P10 on the board. You can short 3V3 and
P10 to observe the change in values
Finally, an interrupt service routine can be installed to the pin and invoked
when the values of the input pin GPIO#2 has changed. Call isr API with the
trigger type you want to register and the function to be called. Note that the
function runs in a different thread.
-47-
Document Name
AI7688H
Reference Manual
Version
V 2.0
Date
2019/08/08

Advertisement

loading

This manual is also suitable for:

Ek-ai7688h