EasyManua.ls Logo

Panasonic MN103S - Timer Mode Registers

Panasonic MN103S
552 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 8
8-bit Timer
VIII - 18 Control Registers
8.2.4 Timer Mode Registers
Timer mode registers are readable/writable 8-bit registers that control timer 0 to timer 7 and timer 14 to 17.
Timer 0 Mode Register (TM0MD: 0x0000A180) [8-bit Access Register]
..
When the count clock source is set to IOCLK/128, set the TM0IN flag of the external prescaler control
register TMEXPSC8 to “1” and the EXPSCNE flag to “ 1”.
..
bp 76543210
Flag TM0
CNE
TM0
LDE
---TM0
CK2
TM0
CK1
TM0
CK0
At reset 00000000
Access R/W R/W R R R R/W R/W R/W
bp Flag Description Set condition
7TM0CNE
Timer operation enable 0: Operation disabled
1: Operation enabled
6TM0LDE
Timer initialization 0: Normal operation
1: Initialization
TM0BR value is loaded into TM0BC.
5-3 - - -
2-0
TM0CK2
TM0CK1
TM0CK0
Count clock source selection 000: IOCLK
001: IOCLK/8
010: IOCLK/32
011: Setting prohibited
100: Setting prohibited
101: Timer 1 underflow
110: Timer 2 underflow
111: IOCLK/128
When 1/8 IOCLK and 1/32 IOCLK are used, the prescaler control reg-
ister (TM03PSC) should be set.

Table of Contents

Other manuals for Panasonic MN103S

Related product manuals