Firmware SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
bc_rtc_t Struct Reference

RTC date and time structure. More...

#include <bc_rtc.h>

Data Fields

uint8_t seconds
 Seconds parameter, from 00 to 59.
 
uint16_t subseconds
 Subsecond downcounter. When it reaches zero, it's reload value is the same as RTC_SYNC_PREDIV.
 
uint8_t minutes
 Minutes parameter, from 00 to 59.
 
uint8_t hours
 Hours parameter, 24Hour mode, 00 to 23.
 
uint8_t week_day
 Day in a week, from 1 to 7.
 
uint8_t date
 Date in a month, 1 to 31.
 
uint8_t month
 Month in a year, 1 to 12.
 
uint16_t year
 Year parameter, 2000 to 2099.
 
uint32_t timestamp
 Seconds from 01.01.1970 00:00:00.
 

Detailed Description

RTC date and time structure.

Definition at line 15 of file bc_rtc.h.


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