XMC Peripheral Library for XMC4000 Family
XMC_DSD_CH_FILTER_CONFIG_t Struct Reference

#include <xmc_dsd.h>

Data Fields

uint32_t clock_divider: 4
 
uint32_t decimation_factor
 
uint32_t filter_start_value
 
int16_t offset
 
uint32_t clock_source: 4
 
uint32_t data_source: 4
 
uint32_t filter_type: 2
 
uint32_t result_event: 2
 
uint32_t strobe: 4
 

Detailed Description

DSD filter is the basic module of the DSD. It can be used separately or can be combined with the other modules like integrator, rectify, auxiliary filter etc. The filter demodulates the incoming bit stream from the delta sigma modulator to a 16 bit result. Note: Configure or reconfigure filter parameters while the channel is inactive.

Field Documentation

◆ clock_divider

uint32_t clock_divider

This parameter can take a value of XMC_DSD_CH_CLK_t

◆ clock_source

uint32_t clock_source

This parameter can take a value of XMC_DSD_CH_CLOCK_SOURCE_t

◆ data_source

uint32_t data_source

This parameter can take a value of XMC_DSD_CH_DATA_SOURCE_t

◆ decimation_factor

uint32_t decimation_factor

This parameter can be in range of 4 - 256[dec]

◆ filter_start_value

uint32_t filter_start_value

This parameter can be in range of 4 - decimation_factor[dec]

◆ filter_type

uint32_t filter_type

This parameter can take a value of XMC_DSD_CH_FILTER_TYPE_t

◆ offset

int16_t offset

Offset subtracted from result.This parameter can take a value of int16_t

◆ result_event

uint32_t result_event

This parameter can take a value of XMC_DSD_CH_RESULT_EVENT_t

◆ strobe

uint32_t strobe

This parameter can take a value of XMC_DSD_CH_STROBE_t


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