![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 85](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609085.webp)
BAT32G1x9 user manual | Chapter 4 Clock generation circuit
85 / 1149
Rev.1.02
4.3.7
Peripheral enable registers 0, 1, 2, 3 (PER0, PER1, PER2, P ER2 PER3)
This is the register that the setting enable or disables the provision of clocks to each peripheral hardware. Reduce
power consumption and noise by stopping clocking hardware that is not in use.
When using the following peripheral functions controlled by these registers, the corresponding position "1" must be
placed before the initial setup of the peripheral functions.
•
Real-time clock, 15-bit interval timer
•
A/D converter
•
Serial interface IICA0/1
•
Universal serial communication unit SCI0/1/2
•
Serial interface SPI0/1
Note
•
afcan0/1/2
note
•
Timer40
•
Timer81
•
D/A converter
•
Timer B
•
Comparator
•
Timer M
•
Enhanced DMA
•
PWMOP
•
Timer C
•
Timer A
•
LCD bus interface
note
Note: The serial interface SPI0/1, afcan2, LCD bus interface is a BAT32G179 specific function
.
Set the PER0 registers, PER1 registers, PER2 registers, and PER2 registers via the 8-bit memory operation instructions PER3 register.
After generating a reset signal, the value of these registers changes to "00H".
Figure 4-9 The format of Peripheral enable register 0 (PER0) (1/3).
Address: 40020420H
After reset:
00H R/W
symbol
PER0
RTCEN
Provides control of the input clock of the real-time clock (RTC) and
a 15-bit
interval timer
0
Stop providing the input clock.
• You cannot write SFR for real-time clocks (RTCs) and
15-bit
interval timers.
• The real-time clock (RTC) and
15-bit
interval timer are in reset state.
1
An input clock is provided.
• Read and write SFR for real-time clock (RTC) and
15-bit
interval timer.
Note: The RTCEN bit is initialized only during power-on reset and remains unchanged during other resets.
7
6
5
4
3
2
2
1
0
RTCEN Note
-
ADCIN
IICA0EN
SCI1IN
SCI0EN
CAN0EN
TM40EN