XMC42_800WPSU_LLC
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
High Resolution PWM peripheral configuration

Files

file  HRPWM0_CSG2.c
 HRPWM peripheral configuration.
 
file  HRPWM0_CSG2.h
 HRPWM peripheral configuration header.
 

Functions

void HRPWM0_CSG_Init (void)
 Configuration and initialization of the HRPWM-CSG peripheral.
Comparator 2 enabled.
CSG DAC configured as static value (no slope generation).
Comparison event triggers highest priority ISR, which freezes converter operation in case of short-circuit. More...
 

HRWPM comparator module configuration data

const XMC_HRPWM_CSG_CONFIG_t csg2_init_config
 

Detailed Description

Function Documentation

void HRPWM0_CSG_Init ( void  )

Configuration and initialization of the HRPWM-CSG peripheral.
Comparator 2 enabled.
CSG DAC configured as static value (no slope generation).
Comparison event triggers highest priority ISR, which freezes converter operation in case of short-circuit.

Returns
None

Definition at line 123 of file HRPWM0_CSG2.c.

References csg2_init_config.

Referenced by main().

Variable Documentation

const XMC_HRPWM_CSG_CONFIG_t csg2_init_config

Initialization data of the CSG unit, following the LLD structure

Definition at line 63 of file HRPWM0_CSG2.c.

Referenced by HRPWM0_CSG_Init().