GPS Device
Loading...
Searching...
No Matches
TIME_ts Struct Reference

Holds a time-of-day value (hours, minutes, seconds). More...

#include <stm32f401re_rtc.h>

Public Attributes

uint8_t hours
uint8_t minutes
uint8_t seconds

Detailed Description

Holds a time-of-day value (hours, minutes, seconds).

Used by rtc_set_time and rtc_get_time. All fields are in decimal (not BCD); conversion to/from the RTC's BCD format is handled internally by the driver.

Definition at line 96 of file stm32f401re_rtc.h.

Member Data Documentation

◆ hours

uint8_t TIME_ts::hours

Hour of the day (0–23).

Definition at line 97 of file stm32f401re_rtc.h.

◆ minutes

uint8_t TIME_ts::minutes

Minute of the hour (0–59).

Definition at line 98 of file stm32f401re_rtc.h.

◆ seconds

uint8_t TIME_ts::seconds

Second of the minute (0–59).

Definition at line 99 of file stm32f401re_rtc.h.


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