Is it possible to set an RTC GPIO pin to high inside the wake stub?
Cheers,
Mustafa
Setting a GPIO pin to high inside the wake stub
Re: Setting a GPIO pin to high inside the wake stub
Got it:
I can use gpio_output_set from gpio.h library:
to trigger a pin to HIGH, find the pin register, i.e. for IO4 it is BIT4 and:
similarly, to trigger the pin to low:
I can use gpio_output_set from gpio.h library:
to trigger a pin to HIGH, find the pin register, i.e. for IO4 it is BIT4 and:
Code: Select all
gpio_output_set(BIT4, 0, BIT4, 0);
Code: Select all
gpio_output_set(0, BIT4, BIT4, 0);
Who is online
Users browsing this forum: Bing [Bot] and 92 guests