I am using the input capture and output compare functions. Basically, in the IC ISR, every 30th pulse, an led lights up for 500ms. Using the captured time, an offset is added to the output compare registers. In the OC ISR, the led turns off.
The led is turned off by port control, not using the toggle/set/clear feature of the output compare.
Question: if the port pin for the led is set and the clear on compare is set, does port value for the led remain latched?