PWM_CCU4: PWM_CCU4_HandleType Struct Reference

PWM CCU4

PWM_CCU4_HandleType Struct Reference

Detailed Description

Initialization parameters of the PWM_CCU4 APP.

Definition at line 247 of file PWM_CCU4.h.

#include <PWM_CCU4.h>

Data Fields

const PWM_CCU4_CONFIG_t *const config_ptr
 
XMC_CCU4_MODULE_t *const ccu4_module_ptr
 
XMC_CCU4_SLICE_t *const ccu4_slice_ptr
 
const uint8_t kernel_number
 
const uint8_t slice_number
 
const uint32_t shadow_txfr_msk
 
const uint32_t dither_shadow_txfr_msk
 
const uint32_t prescaler_shadow_txfr_msk
 
PWM_CCU4_STATE_t state
 
uint32_t frequency_tclk
 
uint32_t sym_duty
 

Field Documentation

XMC_CCU4_MODULE_t* const PWM_CCU4_HandleType::ccu4_module_ptr

Points to CCU4 global register base address

Definition at line 250 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init(), PWM_CCU4_SetDither(), PWM_CCU4_SetDutyCycle(), PWM_CCU4_SetFreq(), PWM_CCU4_SetFreqAndDutyCycle(), and PWM_CCU4_Start().

const PWM_CCU4_CONFIG_t* const PWM_CCU4_HandleType::config_ptr

Points to the variable containing PWM_CCU4 APP configuration

Definition at line 249 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init(), PWM_CCU4_SetFreq(), PWM_CCU4_SetFreqAndDutyCycle(), and PWM_CCU4_Start().

const uint32_t PWM_CCU4_HandleType::dither_shadow_txfr_msk

Mask for enabling shadow transfer of dither registers

Definition at line 255 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init(), and PWM_CCU4_SetDither().

uint32_t PWM_CCU4_HandleType::frequency_tclk

Defines the operating frequency of the CCU4 slice

Definition at line 259 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init(), PWM_CCU4_SetFreq(), and PWM_CCU4_SetFreqAndDutyCycle().

const uint8_t PWM_CCU4_HandleType::kernel_number

CCU4 Kernel number

Definition at line 252 of file PWM_CCU4.h.

const uint32_t PWM_CCU4_HandleType::prescaler_shadow_txfr_msk

Mask for enabling shadow transfer of floating prescaler registers

Definition at line 256 of file PWM_CCU4.h.

const uint32_t PWM_CCU4_HandleType::shadow_txfr_msk

Mask for enabling shadow transfer of period and compare registers

Definition at line 254 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init(), PWM_CCU4_SetDutyCycle(), PWM_CCU4_SetFreq(), and PWM_CCU4_SetFreqAndDutyCycle().

const uint8_t PWM_CCU4_HandleType::slice_number

CCU4 slice number

Definition at line 253 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Start().

PWM_CCU4_STATE_t PWM_CCU4_HandleType::state

Defines the current state of the PWM_CCU4 APP

Definition at line 258 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init(), PWM_CCU4_SetDutyCycle(), PWM_CCU4_SetFreq(), PWM_CCU4_SetFreqAndDutyCycle(), PWM_CCU4_Start(), and PWM_CCU4_Stop().

uint32_t PWM_CCU4_HandleType::sym_duty

Defines the channel 1 duty cycle in symmetric mode

Definition at line 260 of file PWM_CCU4.h.

Referenced by PWM_CCU4_SetDutyCycle(), PWM_CCU4_SetFreq(), and PWM_CCU4_SetFreqAndDutyCycle().


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