RV32 SoC DS UG
High-Perf RV32 SoC DS UG
RV64 SoC DS UG API and Examples
Embedded IDE UG
Loading...
Searching...
No Matches

#include <rtc.h>

Data Fields

i2c_instance_tinst
 Pointer to I2C instance.
const rtc_api_tdrv
 Pointer to RTC API structure.
rtc_data_t current_time
 Current time data.

Detailed Description

RTC instance structure.

Note
This structure holds the instance data, driver and i2c setting for an RTC peripheral.
  • inst: Pointer to I2C instance used for RTC communication.
  • drv: Pointer to RTC API structure. Uses function pointers for RTC operations.
  • current_time: Current time data structure.

Definition at line 153 of file rtc.h.

Field Documentation

◆ current_time

rtc_data_t rtc_instance::current_time

Current time data.

Definition at line 156 of file rtc.h.

◆ drv

const rtc_api_t* rtc_instance::drv

Pointer to RTC API structure.

Definition at line 155 of file rtc.h.

◆ inst

i2c_instance_t* rtc_instance::inst

Pointer to I2C instance.

Definition at line 154 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