Hi All.
So, scanning through the API reference, it appears there are two different methods to attach an ISR the Pulse Counter:
* pcnt_isr_service_install() / pcnt_isr_handler_add()
* pcnt_isr_register()
However, I haven't yet found an explanation of what the difference between these two is. Anyone have an explanation or a pointer to an explanation?
Thanks.
Attach ISR to Pulse Counter
Re: Attach ISR to Pulse Counter
pcnt_isr_register is only if you want to write your own low level isr
Re: Attach ISR to Pulse Counter
Thanks. Is that distinction documented somewhere?
Re: Attach ISR to Pulse Counter
Not sure, but it is common to most of the peripheral drivers. The interrupt service manages its own isr so it will call pcnt_isr_register internally.
Who is online
Users browsing this forum: Google [Bot], MicroController and 78 guests