XMC Peripheral Library for XMC4000 Family
XMC_CCU4_SLICE_CAPTURE_CONFIG_t Struct Reference

#include <xmc_ccu4.h>

Data Fields

uint32_t float_limit: 4
 
uint32_t prescaler_initval: 4
 
uint32_t timer_concatenation: 1
 
uint32_t fifo_enable: 1
 
uint32_t ignore_full_flag: 1
 
uint32_t prescaler_mode: 1
 
uint32_t same_event: 1
 
uint32_t timer_clear_mode: 2
 

Detailed Description

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

Field Documentation

◆ fifo_enable

uint32_t fifo_enable

Should the capture registers be setup as a FIFO?(Extended capture mode)

◆ float_limit

uint32_t float_limit

The max value which the prescaler divider can increment to

◆ ignore_full_flag

uint32_t ignore_full_flag

Should updates to capture registers follow full flag rules?

◆ prescaler_initval

uint32_t prescaler_initval

Prescaler divider value

◆ prescaler_mode

uint32_t prescaler_mode

Normal or floating prescaler Accepts enum :: XMC_CCU4_SLICE_PRESCALER_MODE_t

◆ same_event

uint32_t same_event

Should the capture event for C1V/C0V and C3V/C2V be same capture edge?

◆ timer_clear_mode

uint32_t timer_clear_mode

How should the timer register be cleared upon detection of capture event? Accepts enum XMC_CCU4_SLICE_TIMER_CLEAR_MODE_t

◆ timer_concatenation

uint32_t timer_concatenation

Enables the concatenation of the timer


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