-
If i understand tasks are for outputs and events are for inputs.
-
Wanted to know relationship between channel and the pin numbers. do they hold the relationship like Channel[(pinnumber/8)] = pinnumber; in other words channel 0 is for pin 0 to 7 channel 1 is for pin 8 to 15 channel 2 is for pin 16 to 23 channel 3 is for pin 24 to 31
-
If i understand the GPIO pins can be hooked to functions [input events] using this mapping app_gpiote_user_register. so how about outputs, can outputs be normally driven by written value to the GPIO pins ??. or is there a way to pass the arguments to a GPIOTE function and get the output written onto GPIO.
-
are there any restrictions w.r.t to configuring a pin w.r.t to input [event] and output [task]?
-
what is task here, is it a seperate task having its own stack and behave like a task ?
-
Once i configure the GPIO output to a channel, can i call the GPIo write funtion in main() or it has to be done as part of some task...[is that what you mean by task]??