
R01UH0092EJ0110 Rev.1.10
Page 310 of 807
Jul 31, 2012
M16C/64C Group
18. Timer B
18.2.7
Timer B Count Source Select Register i (TBCSi) (i = 0 to 3)
TCS2-TCS0 (TBi count source select bit) (b2-b0)
TCS6-TCS4 (TBj count source select bit) (b6-b4)
Select f1TIMAB or f2TIMAB by setting the PCLK0 bit in the PCLKR register.
b7 b6 b5 b4
b1
b2
b3
Symbol
TBCS1
TBCS3
Address
01C9h
01E9h
Reset Value
X0h
X0h
b0
Function
Bit Symbol
Bit Name
RW
Timer B Count Source Select Register 1, Timer B Count Source Select Register 3
TBCS1 register: i = 2; TBCS3 register: i = 5
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
TBi count source select bit
TCS1
TCS2
TCS0
RW
RW
RW
RW
TCS3
0: TCK0 to TCK1 enabled,
TCS0 to TCS2 disabled
1: TCK0 to TCK1 disabled,
TCS0 to TCS2 enabled
TBi count source option
specified bit
—
—
(b7-b4)
No register bits. If necessary, set to 0. The read value is undefined.
b7 b6 b5 b4
b1
b2
b3
Symbol
TBCS0
TBCS2
Address
01C8h
01E8h
Reset Value
00h
00h
b0
Function
Bit Symbol
Bit Name
RW
Timer B Count Source Select Register 0, Timer B Count Source Select Register 2
TBCS0 register: i = 0, j = 1; TBCS2 register: i = 3, j = 4
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
TBi count source select bit
TCS1
TCS2
TCS0
RW
RW
RW
RW
TCS3
0: TCK0 to TCK1 enabled,
TCS0 to TCS2 disabled
1: TCK0 to TCK1 disabled,
TCS0 to TCS2 enabled
TBi count source option
specified 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
TBj count source select bit
TCS5
TCS6
TCS4
RW
RW
RW
RW
TCS7
0: TCK0 to TCK1 enabled,
TCS4 to TCS6 disabled
1: TCK0 to TCK1 disabled,
TCS4 to TCS6 enabled
TBj count source option
specified bit
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...