EFM32 Pearl Gecko Software Documentation  efm32pg1-doc-4.2.1
RTCC_Init_TypeDef Struct Reference

#include <em_rtcc.h>

Data Fields

bool enable
 
bool debugRun
 
bool precntWrapOnCCV0
 
bool cntWrapOnCCV1
 
RTCC_CntPresc_TypeDef presc
 
RTCC_PrescMode_TypeDef prescMode
 
bool enaOSCFailDetect
 
RTCC_CntMode_TypeDef cntMode
 
bool disLeapYearCorr
 

Detailed Description

RTCC initialization structure.

Definition at line 173 of file em_rtcc.h.

Field Documentation

bool RTCC_Init_TypeDef::enable

Enable/disable counting when initialization is completed.

Definition at line 176 of file em_rtcc.h.

Referenced by RTCC_Init().

bool RTCC_Init_TypeDef::debugRun

Enable/disable timer counting during debug halt.

Definition at line 179 of file em_rtcc.h.

Referenced by RTCC_Init().

bool RTCC_Init_TypeDef::precntWrapOnCCV0

Enable/disable precounter wrap on ch. 0 CCV value.

Definition at line 182 of file em_rtcc.h.

Referenced by RTCC_Init().

bool RTCC_Init_TypeDef::cntWrapOnCCV1

Enable/disable counter wrap on ch. 1 CCV value.

Definition at line 185 of file em_rtcc.h.

Referenced by RTCC_Init().

RTCC_CntPresc_TypeDef RTCC_Init_TypeDef::presc

Counter prescaler.

Definition at line 188 of file em_rtcc.h.

Referenced by RTCC_Init(), and RTCDRV_Init().

RTCC_PrescMode_TypeDef RTCC_Init_TypeDef::prescMode

Prescaler mode.

Definition at line 191 of file em_rtcc.h.

Referenced by RTCC_Init().

bool RTCC_Init_TypeDef::enaOSCFailDetect

Enable/disable the check that sets the OSCFFAIL interrupt flag if no LFCLK-RTCC ticks are detected within one ULFRCO cycles.

Definition at line 201 of file em_rtcc.h.

Referenced by RTCC_Init().

RTCC_CntMode_TypeDef RTCC_Init_TypeDef::cntMode

Select the operational mode of the counter.

Definition at line 204 of file em_rtcc.h.

Referenced by RTCC_Init().

bool RTCC_Init_TypeDef::disLeapYearCorr

Disable leap year correction for the calendar mode. When this parameter is set to false, February has 29 days if (year % 4 == 0). If true, February always has 28 days.

Definition at line 209 of file em_rtcc.h.

Referenced by RTCC_Init().


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