David-OConnor / stm32-hal

This library provides access to STM32 peripherals in Rust.
MIT License
147 stars 44 forks source link

[Corect] RTC Invert 24hr bit format logic #71

Closed yann77500 closed 1 year ago

yann77500 commented 1 year ago

According with stm32wb55 datasheet, FMT bit in RTC_CR register use following logic : FMT = 1 => 12hr format FMT = 0 => 24hr format

David-OConnor commented 1 year ago

You are correct; nice find.