BAT32G1x9 user manual | Chapter 7 Timer A
235 / 1149
Rev.1.02
7.3.1
Peripheral enable register 1 (PER1).
The PER1 register is a register that is set to allow or disable clocks to each peripheral hardware. Reduce
power consumption and noise by stopping clocking hardware that is not in use.
To use timer A, bit0 (TMAEN) must be set to "1".
The PER1 register is set via the 8-bit memory operation instruction.
After generating a reset signal, the value of this register changes to "00H".
Figure 7-2 the format of peripheral enable register 1 (PER1)
Address: 4002081AH
after reset:
00HR/W
symbol
PER1
TMAEN
Provides control of the input clock of timer A
0
Stop providing the input clock.
• Cannot write SFR for timer
A.
• Timer
A
is reset.
1
An input clock is provided.
• Can read and write the
SFR used by timer A.
Note 1
To set timer
A, you must first place the
TMAEN
position
"1". When
the TMAEN
bit is
"0"
,
the write operation of the
control register of
timer
A
is ignored
, and the read values are the initial values (port mode register
PM
x
and port
register
Px).
7
6
5
4
3
2
2
1
0
DACEN
TMBAndN
PGACMPEN
TMMEN
DMAIn
PWMOPEN
TMCEN
TSTONE