PWM: PWM_HandleType Struct Reference

Modbus RTU XMC47

PWM_HandleType Struct Reference

Detailed Description

Initialization parameters of the PWM App.

Definition at line 184 of file PWM.h.

#include <PWM.h>

Data Fields

XMC_GPIO_PORT_t *const gpio_out_port
const XMC_GPIO_CONFIG_t *const gpio_out_config
uint32_t compare_value
uint32_t period_value
uint32_t duty_cycle
uint32_t shadow_mask
const PWM_TIMER_SLICE_t timer_type
PWM_STATUS_t state
const uint8_t gpio_out_pin
const uint8_t kernel_number
const uint8_t slice_number
const bool start_control
const bool period_match_enable
const bool compare_match_enable
GLOBAL_CCU4_t *const global_ccu4_handle
GLOBAL_CCU8_t *const global_ccu8_handle
XMC_CCU4_MODULE_t *const ccu4_kernel_ptr
XMC_CCU8_MODULE_t *const ccu8_kernel_ptr
XMC_CCU4_SLICE_t *const ccu4_slice_ptr
XMC_CCU8_SLICE_t *const ccu8_slice_ptr
const
XMC_CCU4_SLICE_COMPARE_CONFIG_t
*const 
ccu4_slice_config_ptr
const
XMC_CCU8_SLICE_COMPARE_CONFIG_t
*const 
ccu8_slice_config_ptr
const XMC_CCU4_SLICE_SR_ID_t ccu4_slice_period_match_node
const XMC_CCU8_SLICE_SR_ID_t ccu8_slice_period_match_node
const XMC_CCU4_SLICE_SR_ID_t ccu4_slice_compare_match_node
const XMC_CCU8_SLICE_SR_ID_t ccu8_slice_compare_match_node

Field Documentation

XMC_CCU4_MODULE_t* const PWM_HandleType::ccu4_kernel_ptr

Pointer to CCU4 kernel

Definition at line 199 of file PWM.h.

Referenced by PWM_SetPassiveLevel(), and PWM_SetPeriodMatchValue().

const XMC_CCU4_SLICE_SR_ID_t PWM_HandleType::ccu4_slice_compare_match_node

SR node line for period match

Definition at line 255 of file PWM.h.

const XMC_CCU4_SLICE_COMPARE_CONFIG_t* const PWM_HandleType::ccu4_slice_config_ptr

Pointer to CCU4 configuration handle

Definition at line 219 of file PWM.h.

const XMC_CCU4_SLICE_SR_ID_t PWM_HandleType::ccu4_slice_period_match_node

SR node line for period match

Definition at line 245 of file PWM.h.

XMC_CCU4_SLICE_t* const PWM_HandleType::ccu4_slice_ptr

Pointer to CCU4 slice

Definition at line 209 of file PWM.h.

Referenced by PWM_ClearEvent(), PWM_GetInterruptStatus(), PWM_GetTimerStatus(), PWM_SetPassiveLevel(), and PWM_SetPeriodMatchValue().

XMC_CCU8_MODULE_t* const PWM_HandleType::ccu8_kernel_ptr

Pointer to CCU8 kernel

Definition at line 202 of file PWM.h.

Referenced by PWM_SetPassiveLevel(), and PWM_SetPeriodMatchValue().

const XMC_CCU8_SLICE_SR_ID_t PWM_HandleType::ccu8_slice_compare_match_node

SR node line for period match

Definition at line 258 of file PWM.h.

const XMC_CCU8_SLICE_COMPARE_CONFIG_t* const PWM_HandleType::ccu8_slice_config_ptr

Pointer to CCU8 configuration handle

Definition at line 222 of file PWM.h.

const XMC_CCU8_SLICE_SR_ID_t PWM_HandleType::ccu8_slice_period_match_node

SR node line for period match

Definition at line 248 of file PWM.h.

XMC_CCU8_SLICE_t* const PWM_HandleType::ccu8_slice_ptr

Pointer to CCU8 slice

Definition at line 212 of file PWM.h.

Referenced by PWM_ClearEvent(), PWM_GetInterruptStatus(), PWM_GetTimerStatus(), PWM_SetPassiveLevel(), and PWM_SetPeriodMatchValue().

Enable/Disable Compare match interrupt

Definition at line 272 of file PWM.h.

Value that is pushed into the compare register

Definition at line 230 of file PWM.h.

Referenced by PWM_SetPeriodMatchValue().

Value of duty cycle that is scaled with a factor 100

Definition at line 234 of file PWM.h.

Referenced by PWM_SetPeriodMatchValue().

GLOBAL_CCU4_t* const PWM_HandleType::global_ccu4_handle

GLOBAL_CCU4 App handle

Definition at line 189 of file PWM.h.

GLOBAL_CCU8_t* const PWM_HandleType::global_ccu8_handle

GLOBAL_CCU8 App handle

Definition at line 192 of file PWM.h.

const XMC_GPIO_CONFIG_t* const PWM_HandleType::gpio_out_config

Holds the pin configuration for the PWM output

Definition at line 228 of file PWM.h.

Holds the pin number for the PWM output

Definition at line 262 of file PWM.h.

XMC_GPIO_PORT_t* const PWM_HandleType::gpio_out_port

Holds the port number for the PWM output

Definition at line 226 of file PWM.h.

Indicates the CCUx kernel number

Definition at line 264 of file PWM.h.

Enable/Disable Period match interrupt

Definition at line 270 of file PWM.h.

Value that is pushed into the period register

Definition at line 232 of file PWM.h.

Referenced by PWM_SetPeriodMatchValue().

Holds the required shadow mask.

Definition at line 236 of file PWM.h.

Referenced by PWM_SetPassiveLevel(), and PWM_SetPeriodMatchValue().

Indicates the CCUx slice number

Definition at line 266 of file PWM.h.

Enable/disable start of PWM after initialization

Definition at line 268 of file PWM.h.

The current state of the PWM App instance

Definition at line 240 of file PWM.h.

Referenced by PWM_SetPeriodMatchValue().


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