PWM
|
Detailed Description
#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 |
const XMC_CCU4_SLICE_COMPARE_CONFIG_t* const PWM_HandleType::ccu4_slice_config_ptr |
const XMC_CCU4_SLICE_SR_ID_t PWM_HandleType::ccu4_slice_period_match_node |
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 |
const XMC_CCU8_SLICE_COMPARE_CONFIG_t* const PWM_HandleType::ccu8_slice_config_ptr |
const XMC_CCU8_SLICE_SR_ID_t PWM_HandleType::ccu8_slice_period_match_node |
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().
const bool PWM_HandleType::compare_match_enable |
uint32_t PWM_HandleType::compare_value |
Value that is pushed into the compare register
Definition at line 230 of file PWM.h.
Referenced by PWM_SetPeriodMatchValue().
uint32_t PWM_HandleType::duty_cycle |
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_CCU8_t* const PWM_HandleType::global_ccu8_handle |
const XMC_GPIO_CONFIG_t* const PWM_HandleType::gpio_out_config |
const uint8_t PWM_HandleType::gpio_out_pin |
XMC_GPIO_PORT_t* const PWM_HandleType::gpio_out_port |
const uint8_t PWM_HandleType::kernel_number |
const bool PWM_HandleType::period_match_enable |
uint32_t PWM_HandleType::period_value |
Value that is pushed into the period register
Definition at line 232 of file PWM.h.
Referenced by PWM_SetPeriodMatchValue().
uint32_t PWM_HandleType::shadow_mask |
Holds the required shadow mask.
Definition at line 236 of file PWM.h.
Referenced by PWM_SetPassiveLevel(), and PWM_SetPeriodMatchValue().
const uint8_t PWM_HandleType::slice_number |
const bool PWM_HandleType::start_control |
The current state of the PWM App instance
Definition at line 240 of file PWM.h.
Referenced by PWM_SetPeriodMatchValue().
Type of CCU selected for the PWM generation
Definition at line 238 of file PWM.h.
Referenced by PWM_ClearEvent(), PWM_GetInterruptStatus(), PWM_GetTimerStatus(), PWM_Init(), PWM_SetDutyCycle(), PWM_SetFreq(), PWM_SetFreqAndDutyCycle(), PWM_SetPassiveLevel(), PWM_SetPeriodMatchValue(), PWM_Start(), and PWM_Stop().
The documentation for this struct was generated from the following file: