SN8P2714X_2715
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 60
V1.4
Bit 0
PWM0OUT:
PWM output control bit. Refer “PWM Function Description” section for detailed information.
0 = Disable the PWM output
1 = Enable the PWM output (Auto-disable the TC0OUT function.)
PWM0OUT = 1, TC0X8=0
ALOAD0 TC0OUT TC0 Overflow boundary PWM duty range
Max PWM
Frequency
(Fosc = 16M)
(Fcpu = 4M)
Note
0
0
FFh to 00h
0/256 ~ 255/256
7.8125K
Overflow per 256 count
0
1
3Fh to 40h
0/64 ~ 63/64
31.25K
Overflow per 64 count
1
0
1Fh to 20h
0/32 ~ 31/32
62.5K
Overflow per 32 count
1
1
0Fh to 10h
0/16 ~ 15/16
125K
Overflow per 16 count
PWM0OUT = 1, TC0X8=1
ALOAD0 TC0OUT TC0 Overflow boundary PWM duty range
Max PWM
Frequency
(Fosc = 16M)
(Fcpu = 4M)
Note
0
0
FFh to 00h
0/256 ~ 255/256
62.5K
Overflow per 256 count
0
1
3Fh to 40h
0/64 ~ 63/64
250K
Overflow per 64 count
1
0
1Fh to 20h
0/32 ~ 31/32
500K
Overflow per 32 count
1
1
0Fh to 10h
0/16 ~ 15/16
1000K
Overflow per 16 count
Note: When TC0CKS=1, TC0 became an external event counter and TC0RATE is useless. No more P0.0
interrupt request will be raised. (P0.0IRQ will be always 0).