Other Parts Discussed in Thread: HALCOGEN
Hello,
I use 6 NHET pins; 3 as normal outputs and 3 as PWM.
I am searching for a way to achieve the following behaviors without the need of physically routing/capturing the outputs as inputs:
1) to generate dedicated interrupts when each PWM starts and stop
2) to generate an interrupt when each output changes its status.
I am reading about the functions generated by halcogen such as pwmNotification for 1) but, if I get it correctly, it generates an interrupt for each PWM period (multiple interrupts) that I should count to distinguish an activation/deactivation period.
Concerning 2): since halcogen shows that both directions are enable any time a pin is set as output, can it also detect rising/falling edge of the pin also as output? Alternatively, can some HR share setting achieve the scope?
Thanks ahead for a reply.
Regards.