FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gap9/pmsis/include/pmsis/implem/hal/rtc/rtc.h File Reference

Functions

static uint32_t hal_rtc_status_get (uint8_t rtc_id)
 
static void hal_rtc_request_set (uint8_t rtc_id, uint8_t addr, uint8_t write)
 
static void hal_rtc_data_set (uint8_t rtc_id, uint32_t data)
 
static uint32_t hal_rtc_data_get (uint8_t rtc_id)
 
static void hal_rtc_irq_flag_read_reset (uint8_t rtc_id)
 
static void hal_rtc_irq_flag_write_reset (uint8_t rtc_id)
 

Function Documentation

static uint32_t hal_rtc_data_get ( uint8_t  rtc_id)
inlinestatic

References rtc, and rtc_apb_dr_get().

static void hal_rtc_data_set ( uint8_t  rtc_id,
uint32_t  data 
)
inlinestatic

APB Data Register.

References rtc, and rtc_apb_dr_set().

static void hal_rtc_irq_flag_read_reset ( uint8_t  rtc_id)
inlinestatic
static void hal_rtc_irq_flag_write_reset ( uint8_t  rtc_id)
inlinestatic
static void hal_rtc_request_set ( uint8_t  rtc_id,
uint8_t  addr,
uint8_t  write 
)
inlinestatic

APB Control Register.

References rtc, RTC_APB_CR_APB_ADDR, RTC_APB_CR_APB_OP, and rtc_apb_cr_set().

static uint32_t hal_rtc_status_get ( uint8_t  rtc_id)
inlinestatic

APB Status Register.

References rtc, and rtc_apb_sr_get().