RTCC initialization structure.

Public Attributes#

bool

Enable/disable counting when initialization is completed.

bool

Enable/disable timer counting during debug halt.

bool

Enable/disable pre-counter wrap on ch.

bool

Enable/disable counter wrap on ch.

Counter prescaler.

bool

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

Select operational mode of the counter.

bool

Disable leap year correction for calendar mode.

Public Attribute Documentation#

enable#

bool RTCC_Init_TypeDef::enable

Enable/disable counting when initialization is completed.


debugRun#

bool RTCC_Init_TypeDef::debugRun

Enable/disable timer counting during debug halt.


precntWrapOnCCV0#

bool RTCC_Init_TypeDef::precntWrapOnCCV0

Enable/disable pre-counter wrap on ch.

0 CCV value.


cntWrapOnCCV1#

bool RTCC_Init_TypeDef::cntWrapOnCCV1

Enable/disable counter wrap on ch.

1 CCV value.


presc#

RTCC_CntPresc_TypeDef RTCC_Init_TypeDef::presc

Counter prescaler.


prescMode#

RTCC_PrescMode_TypeDef RTCC_Init_TypeDef::prescMode

Prescaler mode.


enaOSCFailDetect#

bool RTCC_Init_TypeDef::enaOSCFailDetect

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


cntMode#

RTCC_CntMode_TypeDef RTCC_Init_TypeDef::cntMode

Select operational mode of the counter.


disLeapYearCorr#

bool RTCC_Init_TypeDef::disLeapYearCorr

Disable leap year correction for calendar mode.

When this parameter is set to false, February has 29 days if (year % 4 == 0). If set to true, February always has 28 days.