Skip to content
Snippets Groups Projects
  1. Aug 01, 2019
    • rahix's avatar
      fix(rtc): Fix rtc values not being synchronized · 1b575b03
      rahix authored
      
      Use RTC_GetTime() instead of RTC_GetSecond() because otherwise a read
      immediately following the RTC alarm will return the previous value.
      RTC_GetTime() will return E_BUSY a number of times before finally being
      successful and returning a timestamp.  To keep the system load minimal
      during this waiting, the task is put to sleep for 4ms everytime the read
      fails.  This value might need further adjustment.
      
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      1b575b03
    • rahix's avatar
      feat(rtc): Add RTC alarm interrupt · db390227
      rahix authored
      
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      db390227
  2. Jul 31, 2019
  3. Jul 30, 2019
  4. Jul 29, 2019
  5. Jul 28, 2019
  6. Jul 27, 2019
Loading