| 数据搜索系统,热门电子元器件搜索 |
|
RM0312 数据表(PDF) 85 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0312 数据表(HTML) 85 Page - STMicroelectronics |
|
85 / 275 page ![]() DocID022352 Rev 3 85/275 RM0312 Auto-wakeup (AWU) 92 12.3 AWU functional description 12.3.1 AWU operation To use the AWU, perform the following steps in order: 1. Measure the LS clock frequency using the MSR bit in AWU_CSR register and TIM input capture 1. 2. Define the appropriate prescaler value by writing to the APR [5:0] bits in the Asynchronous prescaler register (AWU_APR). 3. Select the desired auto-wakeup delay by writing to the AWUTB[3:0] bits in the Timebase selection register (AWU_TBR). 4. Set the AWUEN bit in the Control/status register (AWU_CSR). 5. Execute the HALT instruction. AWU counters are reloaded and start to count a new AWU time interval. Note: The counters only start when the MCU enters Active-halt mode after a HALT instruction (refer to the Active-halt mode section in the power management chapter). The AWU interrupt is then enabled at the same time. The prescaler counter starts to count only if APR[5:0] value is different from its reset value, 0x3F. Idle mode If the AWU is not in use, then the AWUTB[3:0] bits the Timebase selection register (AWU_TBR) should be loaded with 0b0000 to reduce power consumption. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |