TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
TM_DS1307_Time_t Struct Reference

Structure for date/time. More...

#include <tm_stm32f4_ds1307.h>

Data Fields

uint8_t seconds
 
uint8_t minutes
 
uint8_t hours
 
uint8_t day
 
uint8_t date
 
uint8_t month
 
uint8_t year
 

Detailed Description

Structure for date/time.

Field Documentation

uint8_t date

Date in a month, 1 to 31

uint8_t day

Day in a week, from 1 to 7

uint8_t hours

Hours parameter, 24Hour mode, 00 to 23

uint8_t minutes

Minutes parameter, from 00 to 59

uint8_t month

Month in a year, 1 to 12

uint8_t seconds

Seconds parameter, from 00 to 59

uint8_t year

Year parameter, 00 to 99, 00 is 2000 and 99 is 2099