R01UH0092EJ0110 Rev.1.10
Page 258 of 807
Jul 31, 2012
M16C/64C Group
17. Timer A
17.2.4
Timer A Count Source Select Register i (TACSi) (i = 0 to 2)
TCS2 to TCS0 (TAi count source select bit) (b2-b0) (i = 0, 2, 4)
TCS6 to TCS4 (TAj count source select bit) (b6-b4) (i = 1, 3)
Select f1TIMAB or f2TIMAB by the PCLK0 bit in the PCLKR register.
b7 b6 b5 b4
b1
b2
b3
Symbol
TACS0 to TACS1
Address
01D0h to 01D1h
Reset Value
00h
b0
Function
Bit Symbol
Bit Name
RW
Timer A Count Source Select Register 0, Timer A Count Source Select Register 1
b2 b1 b0
0 0 0: f1TIMAB or f2TIMAB
0 0 1: f8TIMAB
0 1 0: f32TIMAB
0 1 1: f64TIMAB
1 0 0: Do not set.
1 0 1: fOCO-S
1 1 0: fC32
1 1 1: Do not set
TAi count source select bit
TACS0 register: i = 0, j = 1
TACS1 register: i = 2, j = 3
TCS1
TCS2
TCS0
RW
RW
RW
TAj count source select bit
b6 b5 b4
0 0 0: f1TIMAB or f2TIMAB
0 0 1: f8TIMAB
0 1 0: f32TIMAB
0 1 1: f64TIMAB
1 0 0: Do not set.
1 0 1: fOCO-S
1 1 0: fC32
1 1 1: Do not set
TCS5
RW
RW
TCS4
RW
TCS6
RW
TCS3
0: TCK0, TCK1 enabled,
TCS0 to TCS2 disabled
1: TCK0, TCK1 disabled,
TCS0 to TCS2 enabled
TAi count source option
specified bit
TCS7
RW
0: TCK0, TCK1 enabled,
TCS4 to TCS6 disabled
1: TCK0, TCK1 disabled,
TCS4 to TCS6 enabled
TAj count source option
specified bit
b7 b6 b5 b4
b1
b2
b3
Symbol
TACS2
Address
01D2h
Reset Value
X0h
b0
Timer A Count Source Select Register 2
Function
Bit Symbol
Bit Name
RW
b2 b1 b0
0 0 0: f1TIMAB or f2TIMAB
0 0 1 : f8TIMAB
0 1 0: f32TIMAB
0 1 1: f64TIMAB
1 0 0: Do not set.
1 0 1: fOCO-S
1 1 0: fC32
1 1 1: Do not set
TA4 count source select bit
TCS1
TCS2
TCS0
RW
RW
RW
—
—
(b7-b4)
No register bits. If necessary, set to 0. The read values are undefined.
RW
TCS3
0: TCK0 to TCK1 enabled,
TCS0 to TCS2 disabled
1: TCK0 to TCK1 disabled,
TCS0 to TCS2 enabled
TA4 count source option
specified bit
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...