Chapter 8
8-bit Timer
VIII - 28 Control Registers
■ Timer 16 Mode Register (TM16MD: 0x0000A1C4) [8-bit Access Register]
..
When the count clock source is set to IOCLK/128, set the TM16IN flag of the external prescaler con-
trol register TMEXPSC8 to “1” and the EXPSCNE flag to “ 1”.
..
bp 76543210
Flag TM16
CNE
TM16
LDE
---TM16
CK2
TM16
CK1
TM16
CK0
At reset 00000000
Access R/W R/W R R R R/W R/W R/W
bp Flag Description Set condition
7TM16CNE
Timer operation enable 0: Operation disabled
1: Operation enabled
6TM16LDE
Timer initialization 0: Normal operation
1: Initialization
TM16BR value is loaded into TM16BC.
5-3 - - -
2-0
TM16CK2
TM16CK1
TM16CK0
Count clock source selection 000: IOCLK
001: IOCLK/8
010: IOCLK/32
011: Cascading with timer 15
100: Timer 14 underflow
101: Timer 15 underflow
110: Setting prohibited
111: IOCLK/128
When 1/8 IOCLK and 1/32 IOCLK are used, the prescaler control reg-
ister (TM1417PSC) should be set.