1 #ifndef STM32F103CB_RTC_H_ 2 #define STM32F103CB_RTC_H_ 61 #include <libopencm3/stm32/rtc.h> uint32_t RTC_getCount(void)
Get the current count value.
Header file for stm32f103cb DEBUG.
mcu_error RTC_setPrescaler(uint32_t resolution)
Set the raw prescaler value of the RTC.
void RTC_clockEnable(void)
Enable the RTC clock.
uint8_t RTC_isOverflowEnabled(void)
Determine if the overflow interrupt is enabled.
void RTC_setCount(uint32_t count)
Set the current count value.
uint8_t RTC_isResolutionEnabled(void)
Determine if the resolution (second) interrupt is enabled.
void RTC_disableAlarmISR(void)
disables the alarm ISR.
void RTC_enableAlarmISR(uint32_t count, void(*al_isr)(void))
Enables the alarm ISR.
void RTC_disableResolutionISR(void)
disables the resolution ISR.
void RTC_enableOverflowISR(void(*ov_isr)(void))
Enables the overflow ISR.
Header file for stm32f103cb SYSTICK.
mcu_error RTC_setup(uint32_t resolution)
Initialize the Real time clock.
void RTC_disableOverflowISR(void)
disables the overflow ISR.
void RTC_enableResolutionISR(void(*res_isr)(void))
Enables the resolution ISR.
uint8_t RTC_isAlarmEnabled(void)
Determine if the alarm interrupt is enabled.
mcu_error RTC_calibrate(uint32_t resolution)
Calibrate the RTC to a given resolution in milliseconds.
mcu_error
Error enumerators for the Debug peripheral.