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

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

Field Documentation

◆ days

u8 rtc_data_t::days

Day of the month (1-31) *‍/.

Definition at line 123 of file rtc.h.

◆ hours

u8 rtc_data_t::hours

Hours (0-23 or 1-12) *‍/.

Definition at line 119 of file rtc.h.

◆ minutes

u8 rtc_data_t::minutes

Minutes (0-59) *‍/.

Definition at line 118 of file rtc.h.

◆ months

u8 rtc_data_t::months

Month (1-12) *‍/.

Definition at line 124 of file rtc.h.

◆ PM

u8 rtc_data_t::PM

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

Definition at line 120 of file rtc.h.

◆ seconds

u8 rtc_data_t::seconds

Seconds (0-59) *‍/.

Definition at line 117 of file rtc.h.

◆ timesystem

u8 rtc_data_t::timesystem

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

Definition at line 121 of file rtc.h.

◆ weekdays

u8 rtc_data_t::weekdays

Day of the week (1-7) *‍/.

Definition at line 122 of file rtc.h.

◆ years

u8 rtc_data_t::years

Year (0-99) *‍/.

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