Sapphire SoC DS Sapphire SoC UG Sapphire HP SoC DS Sapphire HP SoC UG RISC-V Embedded IDE UG Board Support Package
Loading...
Searching...
No Matches

#include <rtc.h>

Data Fields

rtc_status_t(* getTime )(rtc_instance_t *rtc)
 Get time function pointer *‍/.
rtc_status_t(* setTime )(rtc_instance_t *rtc)
 Set time function pointer *‍/.
rtc_status_t(* setTimeSystem )(rtc_instance_t *rtc, u8 mode)
 Set time system function pointer *‍/.

Detailed Description

RTC API structure.

Note
This structure holds function pointers for RTC operations.

Definition at line 132 of file rtc.h.

Field Documentation

◆ getTime

rtc_status_t(* rtc_api_t::getTime) (rtc_instance_t *rtc)

Get time function pointer *‍/.

Definition at line 133 of file rtc.h.

◆ setTime

rtc_status_t(* rtc_api_t::setTime) (rtc_instance_t *rtc)

Set time function pointer *‍/.

Definition at line 134 of file rtc.h.

◆ setTimeSystem

rtc_status_t(* rtc_api_t::setTimeSystem) (rtc_instance_t *rtc, u8 mode)

Set time system function pointer *‍/.

Definition at line 135 of file rtc.h.


The documentation for this struct was generated from the following file:
  • C:/Users/JasonLau/Downloads/workspace_local/GitLab/efx_IP/efx_soc_rv64/embedded_sw/software/standalone/driver/rtc/rtc.h