当前位置:网站首页>Stm32cubemx (8): RTC and RTC wake-up interrupt
Stm32cubemx (8): RTC and RTC wake-up interrupt
2022-07-05 04:58:00 【Shrimp paste】
Real time clock (RTC):
it It's an independent BCD Timer / Counter .RTC Provide A calendar clock 、 Two programmable The alarm clock is broken , And one A periodic programmable wake-up flag with interrupt function .RTC Also included for managing low power mode Automatic wake-up unit .
Two 32 Bit registers contain binary decimal format (BCD) Seconds of 、 minute 、 Hours (12 or 24 hourly )、 star
Period 、 date 、 Month and year . Besides , Sub second values in binary format are also available .
The system can automatically compensate the days of the month to 28、29( Leap year )、30 and 31 God . And you can have daylight saving time
compensate .
Other 32 The bit register also contains programmable alarm sub seconds 、 second 、 minute 、 Hours 、 What day and date of the week .
block diagram :
According to the picture above : Work out RTC clock frequency :32.768kHZ/128/256=1HZ
interrupt :
choice LSE As RTC Clock source :


Code :

RTC Wake up interrupt :
There is more configuration in the following step :
Code :


Callback function :
边栏推荐
- 2022/7/1學習總結
- 中国艾草行业研究与投资前景预测报告(2022版)
- Redis 排查大 key 的4种方法,优化必备
- Difference between singleton and factory pattern
- 54. 螺旋矩阵 & 59. 螺旋矩阵 II ●●
- Create a pyGame window with a blue background
- Emlog博客主题模板源码简约好看响应式
- Solutions and answers for the 2021 Shenzhen cup
- 775 Div.1 B. integral array mathematics
- 中国针状焦行业发展研究与投资价值报告(2022版)
猜你喜欢

Redis has four methods for checking big keys, which are necessary for optimization

UE4/UE5 虚幻引擎,材质篇,纹理,Compression and Memory压缩和内存

C4D simple cloth (version above R21)

2021 huashubei mathematical modeling idea + reference + paper

54. Spiral matrix & 59 Spiral matrix II ●●

2022 thinking of Mathematical Modeling B problem of American college students / analysis of 2022 American competition B problem

Create a pyGame window with a blue background

AutoCAD - feature matching

Recherche de mots pour leetcode (solution rétrospective)

3dsmax scanning function point connection drawing connection line
随机推荐
Use assimp library to read MTL file data
AutoCAD - lengthening
Time format conversion
54. Spiral matrix & 59 Spiral matrix II ●●
AutoCAD - Document Management
stm32Cubemx(8):RTC和RTC唤醒中断
How much do you know about 3DMAX rendering skills and HDRI light sources? Dry goods sharing
Judge the position of the monster in the role under unity3d
669. 修剪二叉搜索树 ●●
54. 螺旋矩阵 & 59. 螺旋矩阵 II ●●
Emlog blog theme template source code simple good-looking responsive
SQLServer 存储过程传递数组参数
China polyurethane rigid foam Market Research and investment forecast report (2022 Edition)
China needle coke industry development research and investment value report (2022 Edition)
AutoCAD - isometric annotation
2022 American College Students' mathematical modeling ABCDEF problem thinking /2022 American match ABCDEF problem analysis
#775 Div.1 B. Integral Array 数学
中国艾草行业研究与投资前景预测报告(2022版)
2022/7/1学习总结
cocos_ Lua loads the file generated by bmfont fnt