How to set/clear the PWMSP002 'Enable Single Shot Mode' at run time

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
I would like to set / clear the PWMSP002 'Enable Single Shot Mode' at run time but there does not appear to be an API function to do this.

Is there a recommended method for doing this ?

Any suggestions would be greatly appreciated.

Best regards
Aaron
0 Likes
2 Replies
Not applicable
Hi Aaron,

Are you looking for CC8yTC.TSSM bit? For example, use "CCU80_CC80 -> TC |= 0x02" to enable Single Shot Mode.

BR,
Zain
0 Likes
Not applicable
Hi Zain,

That is exactly what I need. Once again thank you very much for your help.

Best regards
Aaron
0 Likes