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.


Definition at line 212 of file platform/emlib/inc/em_rtcc.h

debugRun#

bool RTCC_Init_TypeDef::debugRun

Enable/disable timer counting during debug halt.


Definition at line 215 of file platform/emlib/inc/em_rtcc.h

precntWrapOnCCV0#

bool RTCC_Init_TypeDef::precntWrapOnCCV0

Enable/disable pre-counter wrap on ch.

0 CCV value.


Definition at line 218 of file platform/emlib/inc/em_rtcc.h

cntWrapOnCCV1#

bool RTCC_Init_TypeDef::cntWrapOnCCV1

Enable/disable counter wrap on ch.

1 CCV value.


Definition at line 221 of file platform/emlib/inc/em_rtcc.h

presc#

RTCC_CntPresc_TypeDef RTCC_Init_TypeDef::presc

Counter prescaler.


Definition at line 224 of file platform/emlib/inc/em_rtcc.h

prescMode#

RTCC_PrescMode_TypeDef RTCC_Init_TypeDef::prescMode

Prescaler mode.


Definition at line 227 of file platform/emlib/inc/em_rtcc.h

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.


Definition at line 238 of file platform/emlib/inc/em_rtcc.h

cntMode#

RTCC_CntMode_TypeDef RTCC_Init_TypeDef::cntMode

Select operational mode of the counter.


Definition at line 243 of file platform/emlib/inc/em_rtcc.h

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.


Definition at line 250 of file platform/emlib/inc/em_rtcc.h