Interface functions for the real-time clock. More...
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Enumerations | |
enum | hal_rtc_compare_mode_t { HAL_RTC_COMPARE_MODE_DISABLE = 0x00, HAL_RTC_COMPARE_MODE_1 = 0x02, HAL_RTC_COMPARE_MODE_0 = 0x03 } |
Functions | |
void | hal_rtc_capture (void) |
void | hal_rtc_radio_capture_enable (_Bool en) |
void | hal_rtc_set_compare_mode (hal_rtc_compare_mode_t mode) |
void | hal_rtc_start (_Bool en) |
void | hal_rtc_set_compare_value (uint16_t value) |
uint16_t | hal_rtc_get_compare_value (void) |
uint16_t | hal_rtc_get_capture_value (void) |
uint8_t | hal_rtc_get_capture_clock_cycles (void) |
Interface functions for the real-time clock.
Definition in file hal_rtc.h.