Timer Mode Registers - Panasonic MN103S User Manual

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

Chapter 8
8-bit Timer
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]
bp
7
Flag
TM0
CNE
At reset
0
Access
R/W
bp
Flag
7
TM0CNE
6
TM0LDE
5-3
-
TM0CK2
2-0
TM0CK1
TM0CK0
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".
..
..
VIII - 18
Control Registers
6
5
4
3
TM0
-
-
-
LDE
0
0
0
0
R/W
R
R
R
Description
Timer operation enable
Timer initialization
-
Count clock source selection
2
1
0
TM0
TM0
TM0
CK2
CK1
CK0
0
0
0
R/W
R/W
R/W
Set condition
0: Operation disabled
1: Operation enabled
0: Normal operation
1: Initialization
TM0BR value is loaded into TM0BC.
-
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.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents