GlobLib
HAL and API libraries for MCUs and hardware.
|
Source file for stm32f103cb real time clock. More...
#include "stm32f103cb_rtc.h"
Go to the source code of this file.
Functions | |
mcu_error | RTC_setup (uint32_t resolution) |
Initialize the Real time clock. More... | |
mcu_error | RTC_setPrescaler (uint32_t resolution) |
Set the raw prescaler value of the RTC. More... | |
mcu_error | RTC_calibrate (uint32_t resolution) |
Calibrate the RTC to a given resolution in milliseconds. More... | |
void | RTC_setCount (uint32_t count) |
Set the current count value. More... | |
void | RTC_clockEnable (void) |
Enable the RTC clock. More... | |
uint32_t | RTC_getCount (void) |
Get the current count value. More... | |
void | RTC_enableResolutionISR (void(*res_isr)(void)) |
Enables the resolution ISR. More... | |
void | RTC_disableResolutionISR (void) |
disables the resolution ISR. | |
uint8_t | RTC_isResolutionEnabled (void) |
Determine if the resolution (second) interrupt is enabled. More... | |
void | RTC_enableAlarmISR (uint32_t count, void(*al_isr)(void)) |
Enables the alarm ISR. More... | |
void | RTC_disableAlarmISR (void) |
disables the alarm ISR. | |
uint8_t | RTC_isAlarmEnabled (void) |
Determine if the alarm interrupt is enabled. More... | |
void | RTC_enableOverflowISR (void(*ov_isr)(void)) |
Enables the overflow ISR. More... | |
void | RTC_disableOverflowISR (void) |
disables the overflow ISR. | |
uint8_t | RTC_isOverflowEnabled (void) |
Determine if the overflow interrupt is enabled. More... | |
Source file for stm32f103cb real time clock.
Definition in file stm32f103cb_rtc.c.