FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rtc_accessors.h File Reference

Functions

static uint32_t rtc_apb_sr_get (uint32_t base)
 
static void rtc_apb_sr_set (uint32_t base, uint32_t value)
 
static uint32_t rtc_apb_cr_get (uint32_t base)
 
static void rtc_apb_cr_set (uint32_t base, uint32_t value)
 
static uint32_t rtc_apb_dr_get (uint32_t base)
 
static void rtc_apb_dr_set (uint32_t base, uint32_t value)
 
static uint32_t rtc_reserved_get (uint32_t base)
 
static void rtc_reserved_set (uint32_t base, uint32_t value)
 
static uint32_t rtc_apb_icr_get (uint32_t base)
 
static void rtc_apb_icr_set (uint32_t base, uint32_t value)
 
static uint32_t rtc_apb_imr_get (uint32_t base)
 
static void rtc_apb_imr_set (uint32_t base, uint32_t value)
 
static uint32_t rtc_apb_ifr_get (uint32_t base)
 
static void rtc_apb_ifr_set (uint32_t base, uint32_t value)
 

Function Documentation

static uint32_t rtc_apb_cr_get ( uint32_t  base)
inlinestatic

References GAP_READ, and RTC_APB_CR_OFFSET.

static void rtc_apb_cr_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References GAP_WRITE, and RTC_APB_CR_OFFSET.

static uint32_t rtc_apb_dr_get ( uint32_t  base)
inlinestatic

References GAP_READ, and RTC_APB_DR_OFFSET.

static void rtc_apb_dr_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References GAP_WRITE, and RTC_APB_DR_OFFSET.

static uint32_t rtc_apb_icr_get ( uint32_t  base)
inlinestatic

References GAP_READ, and RTC_APB_ICR_OFFSET.

static void rtc_apb_icr_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References GAP_WRITE, and RTC_APB_ICR_OFFSET.

static uint32_t rtc_apb_ifr_get ( uint32_t  base)
inlinestatic

References GAP_READ, and RTC_APB_IFR_OFFSET.

static void rtc_apb_ifr_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References GAP_WRITE, and RTC_APB_IFR_OFFSET.

static uint32_t rtc_apb_imr_get ( uint32_t  base)
inlinestatic

References GAP_READ, and RTC_APB_IMR_OFFSET.

static void rtc_apb_imr_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References GAP_WRITE, and RTC_APB_IMR_OFFSET.

static uint32_t rtc_apb_sr_get ( uint32_t  base)
inlinestatic

References GAP_READ, and RTC_APB_SR_OFFSET.

static void rtc_apb_sr_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References GAP_WRITE, and RTC_APB_SR_OFFSET.

static uint32_t rtc_reserved_get ( uint32_t  base)
inlinestatic

References GAP_READ, and RTC_RESERVED_OFFSET.

static void rtc_reserved_set ( uint32_t  base,
uint32_t  value 
)
inlinestatic

References GAP_WRITE, and RTC_RESERVED_OFFSET.