Data Structures | |
struct | XMC_HRPWM_CSG_CMP_t |
struct | XMC_HRPWM_CSG_CONFIG_t |
struct | XMC_HRPWM_CSG_DAC_t |
struct | XMC_HRPWM_CSG_INPUT_CONFIG_t |
struct | XMC_HRPWM_CSG_SGEN_t |
struct | XMC_HRPWM_HRC_CONFIG_t |
struct | XMC_HRPWM_HRC_SRC_CONFIG_t |
Typedefs | |
typedef HRPWM0_CSG_Type | XMC_HRPWM_CSG_t |
typedef HRPWM0_HRC_Type | XMC_HRPWM_HRC_t |
typedef HRPWM0_Type | XMC_HRPWM_t |
The HRPWM extends the capabilities of the associated Capture/Compare Unit(CCU8), that simplifies the design various of SMPS. It allows easy and fast implementation of control loop, reduced total number of external components, avoid susceptibility to environmental and process variations there by reducing the size of the power supply.
Comparator Slope Generator(CSG)
HRPWM module consists 3 Comparator Slope Generator(CSG) units. Each CSG unit comprised of one High Speed Comparator, a dedicated 10 bit 30 MS/s DAC and one hardware controlled Slope Compensation module.
CSG features include:
High Resolution Channel unit(HRC)
It also has 4 High Resolution Channel unit(HRC) that upgrades 4 compare channels of a Capture/Compare unit (CCU8), enabling generation of PWM with 150ps resolution. ie; the rise time and/or fall time of PWM can be changed in steps of 150ps.
HRC features include:
Also, the HRPWM block can be configured from the ModusToolbox™ Device Configurator: HRPWM Personality
typedef HRPWM0_CSG_Type XMC_HRPWM_CSG_t |
Typedef for CSG unit registers data structure
typedef HRPWM0_HRC_Type XMC_HRPWM_HRC_t |
Typedef for HRPWM high resolution channel registers data structure
typedef HRPWM0_Type XMC_HRPWM_t |
Typedef for HRPWM Global registers data structure
enum XMC_HRPWM_CLK_FREQ_t |
HRPWM CSG - Slope Generation clock selection
enum XMC_HRPWM_CSG_CLK_t |
HRPWM CSG - Comparator output filter window
HRPWM CSG - Selection of edge sensitivity
Input list to CSG
HRPWM CSG - IRQ Event Id The enum is used to access the bitfields of registers CSGySRE, CSGySRS, CSGySWS, CSGySWC, CSGyISTAT
HRPWM CSG - Prescaler external start configuration
HRPWM CSG - Prescaler external stop configuration
DAC, Comparator start controls & Comparator clamped state control The enum is used to access the bitfields of registers CSGSETG, CSGCLRG, CSGSTATG
HRPWM CSG - Slope Generation control mode
HRPWM CSG - Slope Generation external start configuration
HRPWM CGS - Slope Generation external stop configuration
HRPWM CSG - Slope step gain
CSG comparator input switch request
enum XMC_HRPWM_CSG_SWSM_t |
HRPWM CSG - Initial DAC start mode
enum XMC_HRPWM_HR_LOGIC_t |
enum XMC_HRPWM_HR_PATH_t |
HRPWM HRC High Resolution mode configuration
Shadow transfer for HRC values The enum is used to access the bitfields of registers HRCSTRG, HRCCTRG, HRCSTSG
HR source selector edge configuration (GSEL)
enum XMC_HRPWM_LR_PATH_t |
HRPWM CSG - DAC shadow transfer values
enum XMC_HRPWM_STATUS_t |
void XMC_HRPWM_ClampComparatorOutput | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |
void XMC_HRPWM_ClearPreScaler | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_PRESCALER_STATUS_t to generate the mask. |
void XMC_HRPWM_CSG_ClrEventSW | ( | XMC_HRPWM_CSG_t *const | csg, |
XMC_HRPWM_CSG_IRQ_ID_t | event | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
event | Event selected for software trigger. |
void XMC_HRPWM_CSG_DACRefValSwitchingConfig | ( | XMC_HRPWM_CSG_t *const | csg, |
const XMC_HRPWM_CSG_INPUT_CONFIG_t *const | config | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
config | Pointer to configuration structure. |
void XMC_HRPWM_CSG_DisableEvent | ( | XMC_HRPWM_CSG_t *const | csg, |
XMC_HRPWM_CSG_IRQ_ID_t | event | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
event | Event selected for interrupt. |
void XMC_HRPWM_CSG_EnableEvent | ( | XMC_HRPWM_CSG_t *const | csg, |
XMC_HRPWM_CSG_IRQ_ID_t | event | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
event | Event selected for interrupt. |
uint32_t XMC_HRPWM_CSG_GetEventStatus | ( | XMC_HRPWM_CSG_t *const | csg, |
const uint32_t | mask | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_IRQ_ID_t to generate the input. |
void XMC_HRPWM_CSG_Init | ( | XMC_HRPWM_CSG_t *const | csg, |
const XMC_HRPWM_CSG_CONFIG_t *const | config | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
config | Pointer to configuration structure. |
void XMC_HRPWM_CSG_SelBlankingInput | ( | XMC_HRPWM_CSG_t *const | csg, |
const XMC_HRPWM_CSG_INPUT_CONFIG_t *const | config | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
config | Pointer to configuration structure. |
void XMC_HRPWM_CSG_SelClampingInput | ( | XMC_HRPWM_CSG_t *const | csg, |
const XMC_HRPWM_CSG_INPUT_CONFIG_t *const | config | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
config | Pointer to configuration structure. |
void XMC_HRPWM_CSG_SelSlopeGenClkInput | ( | XMC_HRPWM_CSG_t *const | csg, |
const XMC_HRPWM_CSG_CLK_INPUT_t | input_clk | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
input_clk | Clock selection. |
void XMC_HRPWM_CSG_SetCMPInput | ( | XMC_HRPWM_CSG_t *const | csg, |
const XMC_HRPWM_CSG_CMP_INPUT_t | input | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
input | Input to comparator. Use the enum type XMC_HRPWM_CSG_CMP_INPUT_t to generate the input. |
void XMC_HRPWM_CSG_SetEventSW | ( | XMC_HRPWM_CSG_t *const | csg, |
XMC_HRPWM_CSG_IRQ_ID_t | event | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
event | Event selected for software trigger. |
void XMC_HRPWM_CSG_SetSRNode | ( | XMC_HRPWM_CSG_t *const | csg, |
const XMC_HRPWM_CSG_IRQ_ID_t | event, | ||
const XMC_HRPWM_CSG_IRQ_SR_LINE_t | sr | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
event | Event selected for interrupt. |
sr | Service request node. |
void XMC_HRPWM_CSG_StartSlopeGenConfig | ( | XMC_HRPWM_CSG_t *const | csg, |
const XMC_HRPWM_CSG_INPUT_CONFIG_t *const | config | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
config | Pointer to configuration structure. |
void XMC_HRPWM_CSG_StopSlopeGenConfig | ( | XMC_HRPWM_CSG_t *const | csg, |
const XMC_HRPWM_CSG_INPUT_CONFIG_t *const | config | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
config | Pointer to configuration structure. |
void XMC_HRPWM_CSG_TriggerDACConvConfig | ( | XMC_HRPWM_CSG_t *const | csg, |
const XMC_HRPWM_CSG_INPUT_CONFIG_t *const | config | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
config | Pointer to configuration structure. |
void XMC_HRPWM_CSG_TriggerShadowXferConfig | ( | XMC_HRPWM_CSG_t *const | csg, |
const XMC_HRPWM_CSG_INPUT_CONFIG_t *const | config | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
config | Pointer to configuration structure. |
void XMC_HRPWM_CSG_UpdateBlankingValue | ( | XMC_HRPWM_CSG_t *const | csg, |
uint8_t | value | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
value | Value to be written to blanking register. |
void XMC_HRPWM_CSG_UpdateDACPrescaler | ( | XMC_HRPWM_CSG_t *const | csg, |
XMC_HRPWM_CSG_PRESCALER_DIVISION_t | div_value | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
div_value | Prescaler value. |
void XMC_HRPWM_CSG_UpdateDACRefDSV1 | ( | XMC_HRPWM_CSG_t *const | csg, |
uint32_t | value | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
value | Value to be written to DSV1 shadow register. |
void XMC_HRPWM_CSG_UpdateDACRefDSV2 | ( | XMC_HRPWM_CSG_t *const | csg, |
uint32_t | value | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
value | Value to be written to DSV2 register. |
void XMC_HRPWM_CSG_UpdateDACStepGain | ( | XMC_HRPWM_CSG_t *const | csg, |
XMC_HRPWM_CSG_SLOPE_STEP_GAIN_t | gain | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
gain | Gain value. |
void XMC_HRPWM_CSG_UpdateFilterWindow | ( | XMC_HRPWM_CSG_t *const | csg, |
XMC_HRPWM_CSG_CMP_FILTER_WINDOW_t | window | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
window | Size of filter window. |
void XMC_HRPWM_CSG_UpdatePulseClk | ( | XMC_HRPWM_CSG_t *const | csg, |
uint32_t | value | ||
) |
csg | Constant pointer to XMC_HRPWM_CSG_t, pointing to the CSG channel base address |
value | No of clock pulses to be swallowed in the filter window. |
void XMC_HRPWM_DisableBias | ( | XMC_HRPWM_t *const | hrpwm | ) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
void XMC_HRPWM_DisableComparatorShadowTransfer | ( | XMC_HRPWM_t *const | hrpwm, |
uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_SHADOW_TX_DAC_t to generate the mask. |
void XMC_HRPWM_DisableCsgClock | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_CLK_t to generate the mask. |
void XMC_HRPWM_DisableGlobalHR | ( | XMC_HRPWM_t *const | hrpwm | ) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
void XMC_HRPWM_DisableHighResolutionPath | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected HRC modules. Use the enum type XMC_HRPWM_HR_PATH_t to generate the mask. |
void XMC_HRPWM_DisableHighResolutionShadowTransfer | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected HRC modules. Use the enum type XMC_HRPWM_HRC_SHADOW_TX_t to generate the mask. |
void XMC_HRPWM_DisableHRPowerMode | ( | XMC_HRPWM_t *const | hrpwm | ) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
void XMC_HRPWM_DisableLowResolutionPath | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected HRC modules. Use the enum type XMC_HRPWM_LR_PATH_t to generate the mask. |
void XMC_HRPWM_EnableBias | ( | XMC_HRPWM_t *const | hrpwm | ) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
void XMC_HRPWM_EnableComparatorShadowTransfer | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected HRC modules. Use the enum type XMC_HRPWM_SHADOW_TX_DAC_t to generate the mask. |
void XMC_HRPWM_EnableGlobalHR | ( | XMC_HRPWM_t *const | hrpwm | ) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
void XMC_HRPWM_EnableHighResolutionPath | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected HRC modules. Use the enum type XMC_HRPWM_HR_PATH_t to generate the mask. |
void XMC_HRPWM_EnableHighResolutionShadowTransfer | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected HRC modules. Use the enum type XMC_HRPWM_HRC_SHADOW_TX_t to generate the mask. |
void XMC_HRPWM_EnableHRPowerMode | ( | XMC_HRPWM_t *const | hrpwm | ) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
void XMC_HRPWM_EnableLowResolutionPath | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected HRC modules. Use the enum type XMC_HRPWM_LR_PATH_t to generate the mask. |
uint32_t XMC_HRPWM_GetCMPInput | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_SWITCH_CMP_INPUT_t to generate the mask. |
uint32_t XMC_HRPWM_GetComparatorShadowTransferStatus | ( | XMC_HRPWM_t *const | hrpwm | ) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
uint32_t XMC_HRPWM_GetHighResolutionShadowTransferStatus | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected HRC modules. Use the enum type XMC_HRPWM_HRC_SHADOW_TX_t to generate the mask. |
XMC_HRPWM_HR_LOGIC_t XMC_HRPWM_GetHRGenReadyStatus | ( | XMC_HRPWM_t *const | hrpwm | ) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
uint32_t XMC_HRPWM_GetRunBitStatus | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |
void XMC_HRPWM_HRC_ConfigSourceSelect0 | ( | XMC_HRPWM_HRC_t *const | hrc, |
const XMC_HRPWM_HRC_SRC_CONFIG_t *const | config | ||
) |
hrc | Constant pointer to XMC_HRPWM_HRC_t, pointing to the HRC channel base address |
config | Pointer to configuration structure. |
void XMC_HRPWM_HRC_ConfigSourceSelect1 | ( | XMC_HRPWM_HRC_t *const | hrc, |
const XMC_HRPWM_HRC_SRC_CONFIG_t *const | config | ||
) |
hrc | Constant pointer to XMC_HRPWM_HRC_t, pointing to the HRC channel base address |
config | Pointer to configuration structure. |
void XMC_HRPWM_HRC_Init | ( | XMC_HRPWM_HRC_t *const | hrc, |
const XMC_HRPWM_HRC_CONFIG_t *const | config | ||
) |
hrc | Constant pointer to XMC_HRPWM_HRC_t, pointing to the HRC channel base address |
config | Pointer to configuration structure. |
void XMC_HRPWM_HRC_Set_HR_Source | ( | XMC_HRPWM_HRC_t *const | hrc, |
XMC_HRPWM_HRC_SOURCE_t | source | ||
) |
hrc | Constant pointer to XMC_HRPWM_HRC_t, pointing to the HRC channel base address |
source | Source connected to high resolution channel. |
void XMC_HRPWM_HRC_SetCompare1 | ( | XMC_HRPWM_HRC_t *const | hrc, |
const uint8_t | cr1_value | ||
) |
hrc | Constant pointer to XMC_HRPWM_HRC_t, pointing to the HRC channel base address |
cr1_value | high resolution positioning value. |
void XMC_HRPWM_HRC_SetCompare2 | ( | XMC_HRPWM_HRC_t *const | hrc, |
const uint8_t | cr2_value | ||
) |
hrc | Constant pointer to XMC_HRPWM_HRC_t, pointing to the HRC channel base address |
cr2_value | high resolution positioning value. |
void XMC_HRPWM_HRC_SetDeadTimeFalling | ( | XMC_HRPWM_HRC_t *const | hrc, |
uint16_t | dcf_value | ||
) |
hrc | Constant pointer to XMC_HRPWM_HRC_t, pointing to the HRC channel base address |
dcf_value | Falling edge dead time value. |
void XMC_HRPWM_HRC_SetDeadTimeRising | ( | XMC_HRPWM_HRC_t *const | hrc, |
uint16_t | dcr_value | ||
) |
hrc | Constant pointer to XMC_HRPWM_HRC_t, pointing to the HRC channel base address |
dcr_value | Rising edge dead time value. |
XMC_HRPWM_STATUS_t XMC_HRPWM_Init | ( | XMC_HRPWM_t *const | hrpwm | ) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
uint32_t XMC_HRPWM_IsComparatorClamped | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |
bool XMC_HRPWM_IsComparatorRunning | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |
uint32_t XMC_HRPWM_IsDacRunning | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |
uint32_t XMC_HRPWM_IsPrescalerRunning | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_PRESCALER_STATUS_t to generate the mask. |
bool XMC_HRPWM_IsSlopeGenerationRunning | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |
void XMC_HRPWM_ModuleClkFreq | ( | XMC_HRPWM_t *const | hrpwm, |
const XMC_HRPWM_CLK_FREQ_t | clk_freq | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
clk_freq | The operating clock frequency of HRPWM module. Use the enum type XMC_HRPWM_CLK_FREQ_t to generate the mask. |
void XMC_HRPWM_SetCsgPowerMode | ( | XMC_HRPWM_t *const | hrpwm, |
const XMC_HRPWM_CSG_SLICE_t | slice, | ||
const XMC_HRPWM_CSG_POWER_MODE_t | power_mode | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
slice | Slice NO. |
power_mode | The mode to be put in. |
void XMC_HRPWM_StartComparator | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |
void XMC_HRPWM_StartDac | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |
void XMC_HRPWM_StartSlopeGeneration | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |
void XMC_HRPWM_StopComparator | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |
void XMC_HRPWM_StopDac | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |
void XMC_HRPWM_StopSlopeGeneration | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |
void XMC_HRPWM_UnClampComparatorOutput | ( | XMC_HRPWM_t *const | hrpwm, |
const uint32_t | mask | ||
) |
hrpwm | Constant pointer to XMC_HRPWM_t, pointing to the HRPWM module base address |
mask | masked values of selected CSG modules. Use the enum type XMC_HRPWM_CSG_RUN_BIT_t to generate the mask. |