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

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 146 of file rtc.h.

Field Documentation

◆ current_time

rtc_data_t rtc_instance::current_time

Current time data *‍/.

Definition at line 149 of file rtc.h.

◆ drv

const rtc_api_t* rtc_instance::drv

Pointer to RTC API structure *‍/.

Definition at line 148 of file rtc.h.

◆ inst

i2c_instance_t* rtc_instance::inst

Pointer to I2C instance *‍/.

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