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

u8 seconds
 Seconds (0-59).
u8 minutes
 Minutes (0-59).
u8 hours
 Hours (0-23 or 1-12).
u8 PM
 PM Indicator for 12-hour format (0 = AM, 1 = PM).
u8 timesystem
 Time System (0 = 24-hour, 1 = 12-hour).
u8 weekdays
 Day of the week (1-7).
u8 days
 Day of the month (1-31).
u8 months
 Month (1-12).
u8 years
 Year (0-99).

Detailed Description

RTC time data structure.

Note
This structure holds the individual components of time and date.

Definition at line 121 of file rtc.h.

Field Documentation

◆ days

u8 rtc_data_t::days

Day of the month (1-31).

Definition at line 128 of file rtc.h.

◆ hours

u8 rtc_data_t::hours

Hours (0-23 or 1-12).

Definition at line 124 of file rtc.h.

◆ minutes

u8 rtc_data_t::minutes

Minutes (0-59).

Definition at line 123 of file rtc.h.

◆ months

u8 rtc_data_t::months

Month (1-12).

Definition at line 129 of file rtc.h.

◆ PM

u8 rtc_data_t::PM

PM Indicator for 12-hour format (0 = AM, 1 = PM).

Definition at line 125 of file rtc.h.

◆ seconds

u8 rtc_data_t::seconds

Seconds (0-59).

Definition at line 122 of file rtc.h.

◆ timesystem

u8 rtc_data_t::timesystem

Time System (0 = 24-hour, 1 = 12-hour).

Definition at line 126 of file rtc.h.

◆ weekdays

u8 rtc_data_t::weekdays

Day of the week (1-7).

Definition at line 127 of file rtc.h.

◆ years

u8 rtc_data_t::years

Year (0-99).

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