SN8P1600
8-bit micro-controller
TC1R AUTO-LOAD REGISTER
TC1R is an 8-bit register for the TC1 auto-reload function. TC1R’s value applies to TC1OUT and PWM1OUT
functions. . Under TC1OUT application, users must enable and set the TC1R register. The main purpose of TC1R is as
following.
ꢂ
ꢂ
Store the auto-reload value and set into TC1C when the TC1C overflow. (ALOAD1 = 1).
Store the duty value of PWM1OUT function.
0DEH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TC1R7
TC1R6
TC1R5
TC1R4
TC1R3
TC1R2
TC1R1
TC1R0
TC1R
Read/Write
After reset
W
-
W
-
W
-
W
-
W
-
W
-
W
-
W
-
The equation of TC1R initial value is like TC1C as following.
TC1R initial value = 256 - (TC1 interrupt interval time * input clock)
Note: The TC1R is write-only register can’t be process by INCMS, DECMS instructions.
ꢂ
SONiX TECHNOLOGY CO., LTD
Page 59
Revision 1.94