XMC Peripheral Library for XMC4000 Family
XMC_CCU4_SLICE_COMPARE_CONFIG_t Struct Reference

#include <xmc_ccu4.h>

Data Fields

uint32_t dither_limit: 4
 
uint32_t float_limit: 4
 
uint32_t passive_level: 1
 
uint32_t prescaler_initval: 4
 
uint32_t timer_concatenation: 1
 
uint32_t dither_duty_cycle: 1
 
uint32_t dither_timer_period: 1
 
uint32_t mcm_enable: 1
 
uint32_t monoshot: 1
 
uint32_t prescaler_mode: 1
 
uint32_t shadow_xfer_clear: 1
 
uint32_t timer_mode: 1
 

Detailed Description

Configuration data structure for CCU4 slice. Specifically configures the CCU4 slice to compare mode operation. This excludes event and function configuration.

Field Documentation

◆ dither_duty_cycle

uint32_t dither_duty_cycle

Can the compare match of the timer dither?

◆ dither_limit

uint32_t dither_limit

The value that determines the spreading of dithering

◆ dither_timer_period

uint32_t dither_timer_period

Can the period of the timer dither?

◆ float_limit

uint32_t float_limit

The max value which the prescaler divider can increment to

◆ mcm_enable

uint32_t mcm_enable

Multi-Channel mode enable?

◆ monoshot

uint32_t monoshot

Single shot or Continuous mode . Accepts enum :: XMC_CCU4_SLICE_TIMER_REPEAT_MODE_t

◆ passive_level

uint32_t passive_level

Configuration of ST and OUT passive levels. Accepts enum :: XMC_CCU4_SLICE_OUTPUT_PASSIVE_LEVEL_t

◆ prescaler_initval

uint32_t prescaler_initval

Initial prescaler divider value Accepts enum :: XMC_CCU4_SLICE_PRESCALER_t

◆ prescaler_mode

uint32_t prescaler_mode

Normal or floating prescaler mode. Accepts enum :: XMC_CCU4_SLICE_PRESCALER_MODE_t

◆ shadow_xfer_clear

uint32_t shadow_xfer_clear

Should PR and CR shadow xfer happen when timer is cleared?

◆ timer_concatenation

uint32_t timer_concatenation

Enables the concatenation of the timer if true.

◆ timer_mode

uint32_t timer_mode

Edge aligned or Centre Aligned. Accepts enum XMC_CCU4_SLICE_TIMER_COUNT_MODE_t


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