English
Language : 

HD404449 Datasheet, PDF (58/123 Pages) Hitachi Semiconductor – HD404449 SERIES
HD404449 Series
Registers for Timer A Operation: Timer A operating modes are set by the following registers.
• Timer mode register A (TMA: $008): Four-bit write-only register that selects timer A’s operating mode
and input clock source as shown in figure 41.
Timer mode register A (TMA: $008)
Bit
Initial value
Read/Write
Bit name
3
0
W
TMA3
2
0
W
TMA2
1
0
W
TMA1
0
0
W
TMA0
Source Input clock
TMA3 TMA2 TMA1 TMA0 prescaler frequency Operating mode
0
0
0
0 PSS
2048tcyc Timer A mode
1 PSS
1024tcyc
1
0 PSS
512tcyc
1 PSS
128tcyc
1
0
0 PSS
32tcyc
1 PSS
8tcyc
1
0 PSS
4tcyc
1 PSS
2tcyc
1
0
0
0 PSW
32tWcyc Time-base
mode
1 PSW
16tWcyc
1
0 PSW
8tWcyc
1 PSW
2tWcyc
1
0
0 PSW
1/2tWcyc
1 Inhibited
1 Don't PSW and TCA reset
care
Notes: 1. tWcyc = 244.14 µs (when a 32.768-kHz crystal oscillator is used)
2. Timer counter overflow output period (seconds) = input clock period (seconds) × 256.
3. The division ratio must not be modified during time-base mode operation, otherwise
an overflow cycle error will occur.
Figure 41 Timer Mode Register A (TMA)
58