Hi
I am working with nrf52832 NORDIC soc with Segger with nrf52 sdk 16
I have looked at the "pin_change_int_pca_10040" example and tried to play with it a little bit
- If I change the "GPIOTE_CONFIG_IN_SENSE_TOGGLE(bool)" from 'true' to 'false' I see no difference in performance so what is the value of that bool ?
- I want to configure a pin interrupt that calls for one ISR when its change to up and call for another ISR (interrupt service routine) when it changes back down (or to previous original state), off course the calls should occur only on pin change. I have tried to define another 'nrf_drv_gpiote_in_config_t in_config' and define the first for 'high to low' and the other for 'low to high' and then call 'nrf_drv_gpiote_in_init()' again with a different handler but it does not compile because of redefinition of 'out_config' so I guess there is another way to do that
- I am still new to Nordic terminology, I have read a little bit of the data sheet on GPIOTE and GPIO and if I can create a hardware interrupt both on GPIO, I am not sure what is the main difference between the GPIO and GPIOTE and what the Task and Event refers to .. is it a ppi configured handlers (ISR) or .. what does it mean ? why or when to use GPIO and when to use GPIOTE ?