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

RTC structure for alarm time. More...

#include <tm_stm32f4_rtc.h>

Data Fields

TM_RTC_AlarmType_t alarmtype
 
uint8_t seconds
 
uint8_t minutes
 
uint8_t hours
 
uint8_t day
 

Detailed Description

RTC structure for alarm time.

Field Documentation

TM_RTC_AlarmType_t alarmtype

Alarm type setting. TM_RTC_AlarmType_t for more info

uint8_t day

Alarm day value. If you select trigger for alarm every week, then this parameter has value between 1 and 7, representing days in a week, Monday to Sunday If you select trigger for alarm every month, then this parameter has value between 1 - 31, representing days in a month.

uint8_t hours

Alarm hours value

uint8_t minutes

Alarm minutes value

uint8_t seconds

Alarm seconds value