www.geehy.com Page 36
circuit diagram is as follows:
Figure 5 TMR14 Indirect Measurement Clock Frequency Circuit Diagram
TMR14
GPIO
RTCCLK
HSECLK/32
MCOCLK
RMPSEL
TI1
The input capture of TMR14 can select to connect the internal clock (RTCCLK,
HSECLK/32, MCOCLK) of a GPIO port or a MCU by configuring RMPSEL bit of
TMRx_OPT register of TMR14. See this register for specific configuration.
Low-power Mode
PCLK and DMACLK can be disabled by software.
Sleep mode:
Stop CPU clock
Flash and RAM interface clocks can be stopped by software
When all peripheral clocks connected to APB bus are disabled, the
hardware will stop the clocks of AHb1/APB bridge
Stop mode and standby mode:
All 1.5V power domains are disabled
PLLCLK, HSICLK, HSICLK14 and HSECLK are disabled
Deep sleep mode:
The system can be debugged by setting the STOP_CLK_STS bit and
STANDBY_CLK_STS bit in DBGMCU_CFG.
The system selects HSICLK as SYSCLK through interrupt (in stop
mode) or reset (standby mode)
If Flash programming is in progress, the system will enter deep sleep
mode only after all programming operations are completed
If APB domain is being used, the system will enter deep sleep mode
only after all operations are completed
5.4
Register Address Mapping
Table 20 RCM Register Address Mapping
Register name
Description
Offset address
RCM_CTRL1
Clock control register 1
0x00
RCM_CFG1
Clock configuration register 1
0x04
RCM_INT
Clock interrupt register
0x08
RCM_APBRST2
APB peripheral reset register 2
0x0C
RCM_APBRST1
APB peripheral reset register 1
0x10
RCM_AHBCLKEN
AHB peripheral clock enable register
0x14
RCM_APBCLKEN2
APB peripheral clock enable register 2
0x18
RCM_APBCLKEN1
APB peripheral clock enable register 1
0x1C