SN8P2200 Series
USB 1.1 Low-Speed 8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 87
Version 1.7
8.4.2 TCxIRQ and PWM Duty
In PWM mode, the frequency of TC0IRQ is depended on PWM duty range. From following diagram, the TC0IRQ
frequency is related with PWM duty.
TC0 Overflow,
TC0IRQ = 1
PWM0 Output
(Duty Range 0~15)
0xFF
TC0C Value
0x00
PWM0 Output
(Duty Range 0~31)
0xFF
TC0C Value
0x00
PWM0 Output
(Duty Range 0~63)
0xFF
TC0C Value
0x00
0xFF
TC0C Value
0x00
PWM0 Output
(Duty Range 0~255)
TC0 Overflow,
TC0IRQ = 1
TC0 Overflow,
TC0IRQ = 1
TC0 Overflow,
TC0IRQ = 1