libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
rtc.c File Reference
Include dependency graph for rtc.c:

Go to the source code of this file.

Functions

void rtc_set_prescaler (uint32_t rtc, uint16_t presc)
 RTC set Prescaler value. More...
 
uint32_t rtc_get_counter (uint32_t rtc)
 RTC get Counter value. More...
 
void rtc_enable_events (uint32_t rtc, uint32_t mask)
 Enable events. More...
 
void rtc_disable_events (uint32_t rtc, uint32_t mask)
 Disable events. More...
 
void rtc_start (uint32_t rtc)
 Start the RTC. More...
 
void rtc_stop (uint32_t rtc)
 Stop the RTC. More...
 
void rtc_clear (uint32_t rtc)
 Clear the RTC. More...
 
void rtc_set_compare (uint32_t rtc, uint8_t cmp, uint32_t value)
 Set compare register. More...