匿名
未登录
登录
丢石头百科
搜索
查看“STM8 AWU寄存器”的源代码
来自丢石头百科
名字空间
页面
讨论
更多
更多
页面选项
查看
查看源代码
历史
←
STM8 AWU寄存器
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
<table border="0" cellpadding="0" cellspacing="0" style="color: rgb(72, 61, 139); font-family: Arial, 新宋体, 微软雅黑; font-size: 12px;" width="780"><tbody><tr><th class="type_483D8B" scope="col" style="line-height: 20px; font-weight: normal; border-top-style: none;" valign="top"> 控制/状态寄存器(AWU_CSR) 地址偏移值:0x00 复位值:0x00 [[File:STM8_P92_1.jpg]] <table border="1" height="105" width="541"><tbody><tr bgcolor="#FFFFFF" class="type_483D8B" style="font-size: 12px; line-height: 20px; border-top-style: none; color: rgb(72, 61, 139);"><th class="type_483D8B_12px_b" style="font-family: Arial, Helvetica, sans-serif;" width="49">位7:6</th><td align="left" style="padding-left: 10px; padding-right: 5px;" width="476">保留位,必须保持为0</td></tr><tr bgcolor="#FFFFFF" class="type_483D8B" style="font-size: 12px; line-height: 20px; border-top-style: none; color: rgb(72, 61, 139);"><th class="type_483D8B_12px_b" style="font-family: Arial, Helvetica, sans-serif;">位5</th><td align="left" style="padding-left: 10px; padding-right: 5px;">WUF:自动唤醒标志位 此位在自动唤醒模块产生中断时被置位,通过读AWU_CSR清零。写操作不影响此位的数值 0:无自动唤醒中断产生 1:自动唤醒中断产生</td></tr><tr bgcolor="#FFFFFF" class="type_483D8B" style="font-size: 12px; line-height: 20px; border-top-style: none; color: rgb(72, 61, 139);"><th class="type_483D8B_12px_b" style="font-family: Arial, Helvetica, sans-serif;">位4</th><td align="left" style="padding-left: 10px; padding-right: 5px;">AWUEN:自动唤醒使能位 此位由软件置位和清零。由此位使能自动唤醒功能。如果MCU进入Active-halt或Wait模式,则自动唤醒模块按照预先编程设置延时一段时间唤醒MCU。 0:禁止自动唤醒功能 1:使能自动唤醒功能</td></tr><tr bgcolor="#FFFFFF" class="type_483D8B" style="font-size: 12px; line-height: 20px; border-top-style: none; color: rgb(72, 61, 139);"><th class="type_483D8B_12px_b" style="font-family: Arial, Helvetica, sans-serif;">位3:1</th><td align="left" style="padding-left: 10px; padding-right: 5px;">保留位,必须保持为0</td></tr><tr bgcolor="#FFFFFF" class="type_483D8B" style="font-size: 12px; line-height: 20px; border-top-style: none; color: rgb(72, 61, 139);"><th class="type_483D8B_12px_b" style="font-family: Arial, Helvetica, sans-serif;">位0</th><td align="left" style="padding-left: 10px; padding-right: 5px;">MSR:测量使能位 此位使能fLS时钟连接到TM3的输入捕获。允许定时器测量低速时钟频率 0:禁止测量功能 1:使能测量功能</td></tr></tbody></table> 异步预分频寄存器(AWU_APR) 地址偏移值:0x01 复位值:0x3F [[File:STM8_P93_1.jpg]] <table border="1" height="105" width="541"><tbody><tr bgcolor="#FFFFFF" class="type_483D8B" style="font-size: 12px; line-height: 20px; border-top-style: none; color: rgb(72, 61, 139);"><th class="type_483D8B_12px_b" style="font-family: Arial, Helvetica, sans-serif;" width="49">位7:6</th><td align="left" style="padding-left: 10px; padding-right: 5px;" width="476">保留,须保持清零</td></tr><tr bgcolor="#FFFFFF" class="type_483D8B" style="font-size: 12px; line-height: 20px; border-top-style: none; color: rgb(72, 61, 139);"><th class="type_483D8B_12px_b" style="font-family: Arial, Helvetica, sans-serif;">位5:0</th><td align="left" style="padding-left: 10px; padding-right: 5px;">APPR[5:0]:异步分频 此位由软件设置选择提供给计数器时钟的分频值 00h:APRDIV=2 01h:APRDIV=3 ... 06h:APRDIV=8 ... 0Eh:APRDIV=16 0Fh:APRDIV=17 .... 3Eh:APRDIV=64 注意:此寄存器不能设置成其初始复位值(3Fh)</td></tr></tbody></table> 时基选择寄存器(AWU_TBR) 地址偏移值:0x02 复位值:0x00 [[File:STM8_P94_1.jpg]] <table border="1" height="105" width="541"><tbody><tr bgcolor="#FFFFFF" class="type_483D8B" style="font-size: 12px; line-height: 20px; border-top-style: none; color: rgb(72, 61, 139);"><th class="type_483D8B_12px_b" style="font-family: Arial, Helvetica, sans-serif;" width="49">位7:4</th><td align="left" style="padding-left: 10px; padding-right: 5px;" width="476">保留,须保持清零</td></tr><tr bgcolor="#FFFFFF" class="type_483D8B" style="font-size: 12px; line-height: 20px; border-top-style: none; color: rgb(72, 61, 139);"><th class="type_483D8B_12px_b" style="font-family: Arial, Helvetica, sans-serif;">位3:0</th><td align="left" style="padding-left: 10px; padding-right: 5px;"> AWUTB[3:0]:自动唤醒时基选择 此位由软件设置选择自动唤醒时基,来定义AWU自动唤醒中断间隔时间。AWU自动唤醒中断由 AWUEN=1来使能。 [[File:STM8_P94_2.jpg]] </td></tr></tbody></table> AWU寄存器表和复位值 [[File:STM8_P95_1.jpg]]</th></tr></tbody></table>
返回至
STM8 AWU寄存器
。
导航
导航
首页
最近更改
随机页面
MediaWiki帮助
首页
首页
树莓派
主机
配件包
外壳
键鼠
电源
扩展板
显示屏
墨水屏
摄像模块
通信模块
继电器
电机驱动板
游戏机
产品分类
树莓派
Arduino
micro:bit
STM32
Espressif
WiFi模块
蓝牙模块
无线模块
LoRa模块
4G模块
GSM
GPRS
以太网
导航模块
北斗卫星
GPS
LCD
墨水屏
OLED
摄像头
USB模块
串口模块
RS232
RS485
CAN
传感器
温度模块
湿度模块
气压模块
继电器
电机模块
指纹模块
电平转换
音频模块
编程器
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志