FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gap8/pmsis/drivers/rtc/rtc.c File Reference

Functions

void pi_rtc_conf_init (struct pi_rtc_conf *conf)
 
int pi_rtc_open (struct pi_device *device)
 
void pi_rtc_close (struct pi_device *device)
 
int pi_rtc_datetime_set (struct pi_device *device, struct tm *time)
 
int pi_rtc_datetime_get (struct pi_device *device, struct tm *time)
 
int pi_rtc_alarm_set (struct pi_device *device, struct tm *alarm)
 
int pi_rtc_alarm_get (struct pi_device *device, struct tm *alarm)
 
int pi_rtc_timer_set (struct pi_device *device, uint32_t countdown)
 
uint32_t pi_rtc_timer_get (struct pi_device *device)
 
int pi_rtc_ioctl (struct pi_device *device, uint32_t cmd, void *arg)
 

Function Documentation

int pi_rtc_alarm_get ( struct pi_device *  device,
struct tm *  alarm 
)

References __pi_rtc_alarm_get().

int pi_rtc_alarm_set ( struct pi_device *  device,
struct tm *  alarm 
)

References __pi_rtc_alarm_set().

void pi_rtc_close ( struct pi_device *  device)

References __pi_rtc_close().

void pi_rtc_conf_init ( struct pi_rtc_conf *  conf)

References __pi_rtc_conf_init().

int pi_rtc_datetime_get ( struct pi_device *  device,
struct tm *  time 
)
int pi_rtc_datetime_set ( struct pi_device *  device,
struct tm *  time 
)
int pi_rtc_ioctl ( struct pi_device *  device,
uint32_t  cmd,
void *  arg 
)

References __pi_rtc_ioctl().

int pi_rtc_open ( struct pi_device *  device)

References __pi_rtc_open().

uint32_t pi_rtc_timer_get ( struct pi_device *  device)

References __pi_rtc_timer_get().

int pi_rtc_timer_set ( struct pi_device *  device,
uint32_t  countdown 
)

References __pi_rtc_timer_set().