caffeine-hal 0.6.6
A Header-Defined Interface c library, it provides the hal layer for the Caffeine framework
Loading...
Searching...
No Matches
Data Fields
cfn_hal_rtc_api_s Struct Reference

RTC Virtual Method Table (VMT). More...

#include <cfn_hal_rtc.h>

Data Fields

cfn_hal_api_base_t base
 
cfn_hal_error_code_t(* set_time )(cfn_hal_rtc_t *driver, cfn_hal_rtc_time_t *time)
 
cfn_hal_error_code_t(* get_time )(cfn_hal_rtc_t *driver, cfn_hal_rtc_time_t *time)
 
cfn_hal_error_code_t(* set_alarm )(cfn_hal_rtc_t *driver, uint32_t id, cfn_hal_rtc_time_t *time)
 
cfn_hal_error_code_t(* get_alarm )(cfn_hal_rtc_t *driver, uint32_t id, bool *elapsed, cfn_hal_rtc_time_t *time)
 
cfn_hal_error_code_t(* stop_alarm )(cfn_hal_rtc_t *driver, uint32_t id)
 

Detailed Description

RTC Virtual Method Table (VMT).

Field Documentation

◆ base

cfn_hal_api_base_t cfn_hal_rtc_api_s::base

◆ get_alarm

cfn_hal_error_code_t(* cfn_hal_rtc_api_s::get_alarm) (cfn_hal_rtc_t *driver, uint32_t id, bool *elapsed, cfn_hal_rtc_time_t *time)

◆ get_time

cfn_hal_error_code_t(* cfn_hal_rtc_api_s::get_time) (cfn_hal_rtc_t *driver, cfn_hal_rtc_time_t *time)

◆ set_alarm

cfn_hal_error_code_t(* cfn_hal_rtc_api_s::set_alarm) (cfn_hal_rtc_t *driver, uint32_t id, cfn_hal_rtc_time_t *time)

◆ set_time

cfn_hal_error_code_t(* cfn_hal_rtc_api_s::set_time) (cfn_hal_rtc_t *driver, cfn_hal_rtc_time_t *time)

◆ stop_alarm

cfn_hal_error_code_t(* cfn_hal_rtc_api_s::stop_alarm) (cfn_hal_rtc_t *driver, uint32_t id)

The documentation for this struct was generated from the following file: