I'm trying to get LPCOMP working on Zephyr - from my research online I can see no information about this currently so I'd like to find out how to do this.
According to an example for getting it working on vanilla NCS (https://devzone.nordicsemi.com/f/nordic-q-a/2847/lpcomp-wakeup-example), simply defining the following function will allow the function to be registered as the callback for an lpcomp event:
void LPCOMP_COMP_IRQHandler(void)
Could you tell me - will this work in Zephyr, or will I have to use some other method to register the callback for the lpcomp wakeup event?
Also, will simply doing what is defined in the lpcomp_init function from that sample work too? Is there anything else I'll have to do?
Thanks in advance!