| Electronic Components Datasheet Search |
|
AN3133 Datasheet(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3133 Datasheet(HTML) 18 Page - STMicroelectronics |
|
18 / 43 page ![]() Programming the RTC AN3133 18/43 Doc ID 16956 Rev 5 2.3 Programming the Auto-wakeup unit Table 6 describes the steps required to configure the Auto-wakeup unit. Table 6. Steps to configure the Auto wake-up unit Step What to do How to do it Comments 1 Disable the wakeup timer. Clear WUTE bit in RTC_CR2 register. 2 Ensure access to Wakeup auto-reload counter and bits WUCKSEL[2:0] is allowed. Poll WUTWF until it is set in RTC_ISR1. It takes approximately 2 RTCCLK clock cycles. 3 Program the value into the wakeup timer. Set RTC_WUTRL and RTC_WUTRH. See Section 3.4: Maximum and minimum RTC wakeup period. 4 Select the desired clock source. Program WUCKSEL[2:0] bits in RTC_CR1 register. 5 Re-enable the wakeup timer. Set WUTE bit in RTC_CR2 register. The wakeup timer restarts down-counting. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |