BAT32G1x9 user manual | Chapter 8 Timer B
259 / 1149
Rev.1.02
8.3.1 Peripheral enables register 1 (PER1).
The PER1 register is a register that is set to enable or disable clocks to each peripheral hardware. Reduce power
consumption and noise by stopping clocking hardware that is not in use.
To use timer B, bit6 (TMBEN) 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 8-2 format of Peripheral enable register 1 (PER1)
Address: 0x4002081A
after reset:
00H
R/W
symbol
PER1
TMBEN
Provides control of the input clock of timer B
0
Stop providing the input clock.
• Cannot write SFR for timer
B.
• Timer
B
is in reset state.
1
An input clock is provided.
• SFR can be read and written to timer
B.
Note: To set timer B, you must first place the
TMBEN
position
"1". When
the TMBEN
bit is
"0",
the write operation of the
control register of timer B is ignored, and the read values are both the initial values (port mode register (PMxx) and port register
(P xx) except).
7
6
5
4
3
2
2
1
0
DACEN
TMBAndN
PGACMPEN
TMMEN
DMAIn
PWMOPEN
TMCEN
Note 2
TSTONE