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

Functions

void __pi_rtc_conf_init (struct pi_rtc_conf *conf)
 
int32_t __pi_rtc_open (uint8_t rtc_id, struct pi_rtc_conf *conf)
 
void __pi_rtc_close (uint8_t rtc_id)
 
int32_t __pi_rtc_datetime_set (uint8_t rtc_id, struct tm *time)
 
int32_t __pi_rtc_datetime_get (uint8_t rtc_id, struct tm *time)
 
int32_t __pi_rtc_alarm_set (uint8_t rtc_id, struct tm *alarm)
 
int32_t __pi_rtc_alarm_get (uint8_t rtc_id, struct tm *alarm)
 
int32_t __pi_rtc_timer_set (uint8_t rtc_id, uint32_t countdown)
 
uint32_t __pi_rtc_timer_get (uint8_t rtc_id)
 
int32_t __pi_rtc_ioctl (uint8_t rtc_id, uint32_t cmd, void *arg)
 

Function Documentation

int32_t __pi_rtc_alarm_get ( uint8_t  rtc_id,
struct tm *  alarm 
)
void __pi_rtc_close ( uint8_t  rtc_id)
void __pi_rtc_conf_init ( struct pi_rtc_conf *  conf)
int32_t __pi_rtc_datetime_get ( uint8_t  rtc_id,
struct tm *  time 
)
uint32_t __pi_rtc_timer_get ( uint8_t  rtc_id)
int32_t __pi_rtc_timer_set ( uint8_t  rtc_id,
uint32_t  countdown 
)