XMC Peripheral Library for XMC4000 Family
XMC_HRPWM_CSG_SGEN_t Struct Reference

#include <xmc_hrpwm.h>

Data Fields

uint32_t pulse_swallow_val
 
uint32_t ctrl_mode: 2
 
uint32_t ext_start_mode: 2
 
uint32_t ext_stop_mode: 2
 
uint32_t fixed_prescaler_enable: 1
 
uint32_t prescaler: 2
 
uint32_t prescaler_ext_start_mode: 2
 
uint32_t prescaler_ext_stop_mode: 2
 
uint32_t pulse_swallow_enable: 1
 
uint32_t pulse_swallow_win_mode: 2
 
uint32_t sc
 
uint32_t slope_ref_val_mode: 2
 
uint32_t static_mode_ist_enable: 1
 
uint32_t step_gain: 2
 

Detailed Description

CSG Unit - Slope Generation configuration

Field Documentation

◆ ctrl_mode

uint32_t ctrl_mode

Slope control mode. Accepts enum XMC_HRPWM_CSG_SLOPE_CTRL_MODE_t

◆ ext_start_mode

uint32_t ext_start_mode

Slope external start mode. Accepts enum XMC_HRPWM_CSG_SLOPE_EXT_START_t

◆ ext_stop_mode

uint32_t ext_stop_mode

Slope external stop mode. Accepts enum XMC_HRPWM_CSG_SLOPE_EXT_STOP_t

◆ fixed_prescaler_enable

uint32_t fixed_prescaler_enable

Fixed pre-scaler, 0:enabled, 1:disabled

◆ prescaler

uint32_t prescaler

Pre-scaler division factor

◆ prescaler_ext_start_mode

uint32_t prescaler_ext_start_mode

Pre-scaler external start mode. Accepts enum XMC_HRPWM_CSG_PRESCALER_EXT_START_t

◆ prescaler_ext_stop_mode

uint32_t prescaler_ext_stop_mode

Pre-scaler external stop mode. Accepts enum XMC_HRPWM_CSG_PRESCALER_EXT_STOP_t

◆ pulse_swallow_enable

uint32_t pulse_swallow_enable

Pulse swallow enable / disable. Accepts enum XMC_HRPWM_FUNC_STATUS_t

◆ pulse_swallow_val

uint32_t pulse_swallow_val

Pulse swallow value

◆ pulse_swallow_win_mode

uint32_t pulse_swallow_win_mode

Pulse swallow window mode

◆ sc

uint32_t sc

Slope Generation Configuration

◆ slope_ref_val_mode

uint32_t slope_ref_val_mode

Slope reference value mode

◆ static_mode_ist_enable

uint32_t static_mode_ist_enable

Immediate shadow transfer in static mode enabled. Accepts enum XMC_HRPWM_FUNC_STATUS_t

◆ step_gain

uint32_t step_gain

Slope step gain configuration


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