Im doing my first JN5168 project, and first JenOS project ever (never used any nxp processors)
Im trying to figure out 2 things.
1, I have a toggle switch that I want to use to wake up the MCU whenever is toggled (rising or falling)
Is the only was to do this to connect the switch to 2 diffrent inputs and have one vAHI_DioWakeEdge() for rising and one for falling?
2. What happens upon a wake called by a DIO? after enabling vAHI_DioWakeEnable(), which function will be executed upon the wake up? I want to use the wake up kinda like an interrupt, where it runs one specific function?
Thanks for the beginner help!