There is no single-shot mode. An enabled channel stays enabled forever.
I believe if the FIFO underruns, then the last entry is repeated the next time it is popped - so you could write a tuple of {value, zero} which would generate a single PWM pulse then nothing. Polling the FIFO empty status bit and then disabling the channel would let you do this cleanly.
I believe if the FIFO underruns, then the last entry is repeated the next time it is popped - so you could write a tuple of {value, zero} which would generate a single PWM pulse then nothing. Polling the FIFO empty status bit and then disabling the channel would let you do this cleanly.
Statistics: Posted by jdb — Thu May 23, 2024 6:25 am