libws libws
WSwan hardware library for the Wonderful toolchain
Loading...
Searching...
No Matches
ws_cart_rtc_date_t Struct Reference

Structure containing the date read from the RTC, BCD-encoded. More...

#include <rtc.h>

Data Fields

uint8_t year
 Year (0x00 - 0x99)
uint8_t month
 Month (0x01 - 0x12)
uint8_t day
 Day of month (0x01 - 0x31)
uint8_t wday
 Day of week (0x00 - 0x06)

Detailed Description

Structure containing the date read from the RTC, BCD-encoded.

Definition at line 62 of file rtc.h.

Field Documentation

◆ day

uint8_t day

Day of month (0x01 - 0x31)

Definition at line 65 of file rtc.h.

◆ month

uint8_t month

Month (0x01 - 0x12)

Definition at line 64 of file rtc.h.

◆ wday

uint8_t wday

Day of week (0x00 - 0x06)

Definition at line 66 of file rtc.h.

◆ year

uint8_t year

Year (0x00 - 0x99)

Definition at line 63 of file rtc.h.


The documentation for this struct was generated from the following file: