LETIMER_Init_TypeDef Struct Reference

LETIMER initialization structure.

#include <em_letimer.h>

Data Fields

bool enable
 Start counting when initialization completes.
 
bool debugRun
 Counter shall keep running during debug halt.
 
bool comp0Top
 Load COMP0 register into CNT when counter underflows.
 
bool bufTop
 Load COMP1 into COMP0 when REP0 reaches 0.
 
uint8_t out0Pol
 Idle value for output 0.
 
uint8_t out1Pol
 Idle value for output 1.
 
LETIMER_UFOA_TypeDef ufoa0
 Underflow output 0 action.
 
LETIMER_UFOA_TypeDef ufoa1
 Underflow output 1 action.
 
LETIMER_RepeatMode_TypeDef repMode
 Repeat mode.
 
uint32_t topValue
 Top value.
 

LETIMER initialization structure.

Field Documentation

◆ enable

bool LETIMER_Init_TypeDef::enable

Start counting when initialization completes.

◆ debugRun

bool LETIMER_Init_TypeDef::debugRun

Counter shall keep running during debug halt.

◆ comp0Top

bool LETIMER_Init_TypeDef::comp0Top

Load COMP0 register into CNT when counter underflows.

◆ bufTop

bool LETIMER_Init_TypeDef::bufTop

Load COMP1 into COMP0 when REP0 reaches 0.

◆ out0Pol

uint8_t LETIMER_Init_TypeDef::out0Pol

Idle value for output 0.

◆ out1Pol

uint8_t LETIMER_Init_TypeDef::out1Pol

Idle value for output 1.

◆ ufoa0

LETIMER_UFOA_TypeDef LETIMER_Init_TypeDef::ufoa0

Underflow output 0 action.

◆ ufoa1

LETIMER_UFOA_TypeDef LETIMER_Init_TypeDef::ufoa1

Underflow output 1 action.

◆ repMode

LETIMER_RepeatMode_TypeDef LETIMER_Init_TypeDef::repMode

Repeat mode.

◆ topValue

uint32_t LETIMER_Init_TypeDef::topValue

Top value.

Counter wraps when top value matches counter value is reached.