Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
stm32:peripherals:rtc_wakeup [2017/08/24 13:10] – [RTC register write protection] ruanstm32:peripherals:rtc_wakeup [2018/10/10 06:18] – [RTC_ISR] Added WUTF description kjaz
Line 37: Line 37:
   * Disable wakeup timer in ''RTC->CR''.   * Disable wakeup timer in ''RTC->CR''.
   * Wait until configuration of RTC is allowed. \\ Check corresponding bit in ''RTC->ISR''.   * Wait until configuration of RTC is allowed. \\ Check corresponding bit in ''RTC->ISR''.
-  * Program reload value in ''RTC->WUTR''. 
   * Program prescaler value in ''RTC->CR''.   * Program prescaler value in ''RTC->CR''.
 +  * Program reload value in ''RTC->WUTR''.
   * Enable wakeup interrupt in ''RTC->CR''.   * Enable wakeup interrupt in ''RTC->CR''.
  
Line 90: Line 90:
 |WUTWF*|0|Wake up timer configuration not allowed| |WUTWF*|0|Wake up timer configuration not allowed|
 |:::|1|Wake up timer configuration allowed| |:::|1|Wake up timer configuration allowed|
 +|WUTF||Wake up timer flag is set by hardware when wakeup counter reaches 0 and cleared by software by writing 0.||
 * This bit is set, after the WUTE bit (control register) has been set to 0, and reset by hardware. * This bit is set, after the WUTE bit (control register) has been set to 0, and reset by hardware.
  • stm32/peripherals/rtc_wakeup.txt
  • Last modified: 2022/12/27 18:42
  • by ruan