We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cd32be commit f97712bCopy full SHA for f97712b
src/rtc/rtc2.rs
@@ -65,11 +65,11 @@ pub fn clear_timestamp_flag(rtc: &RTC) {
65
}
66
67
pub fn is_alarm_a_accessible(rtc: &RTC) -> bool {
68
- rtc.isr.read().alrawf().bit_is_clear()
+ rtc.isr.read().alrawf().bit_is_set()
69
70
71
pub fn is_alarm_b_accessible(rtc: &RTC) -> bool {
72
- rtc.isr.read().alrbwf().bit_is_clear()
+ rtc.isr.read().alrbwf().bit_is_set()
73
74
75
// AN7459
0 commit comments