SN8F2250B Series
USB 2.0 Full-Speed 8-Bit Micro-Controller
8.6.2 TC1M MODE REGISTER
08BH
TC1M
Read/Write
After reset
Bit 7
TC1ENB
R/W
Bit 6
TC1rate2
R/W
Bit 5
TC1rate1
R/W
Bit 4
TC1rate0
R/W
Bit 3
TC1CKS
R/W
Bit 2
ALOAD0
R/W
Bit 1
Bit 0
TC1OUT PWM0OUT
R/W
0
R/W
0
0
0
0
0
0
0
Bit 0
Bit 1
Bit 2
Bit 3
PWM0OUT: PWM output control bit.
0 = Disable PWM output.
1 = Enable PWM output. PWM duty controlled by TC1OUT, ALOAD0 bits.
TC1OUT: TC1 time out toggle signal output control bit. Only valid when PWM0OUT = 0.
0 = Disable, P5.3 is I/O function.
1 = Enable, P5.3 is output TC1OUT signal.
ALOAD0: Auto-reload control bit. Only valid when PWM0OUT = 0.
0 = Disable TC1 auto-reload function.
1 = Enable TC1 auto-reload function.
TC1CKS: TC1 clock source select bit.
0 = Internal clock (Fcpu or Fosc).
1 = External clock from P0.0/INT0 pin.
Bit [6:4] TC1RATE[2:0]: TC1 internal clock select bits.
000 = fcpu/256.
001 = fcpu/128.
…
110 = fcpu/4.
111 = fcpu/2.
Bit 7
TC1ENB: TC1 counter control bit.
0 = Disable TC1 timer.
1 = Enable TC1 timer.
Note: When TC1CKS=1, TC1 became an external event counter and TC1RATE is useless. No more P0.0
interrupt request will be raised. (P0.0IRQ will be always 0).
SONiX TECHNOLOGY CO., LTD
Page 93
Version 1.1