PWM_CCU4: PWM_CCU4_ConfigType Struct Reference

PWM CCU4

PWM_CCU4_ConfigType Struct Reference

Detailed Description

Configuration parameters of the PWM_CCU4 APP.

Definition at line 171 of file PWM_CCU4.h.

#include <PWM_CCU4.h>

Data Fields

const bool start_control
 
const uint16_t period_value
 
const uint16_t compare_value
 
const bool int_per_match
 
const bool int_cmp_match_up
 
const bool int_cmp_match_down
 
const bool int_one_match_down
 
const bool int_e0
 
const bool int_e1
 
const bool int_e2
 
const XMC_CCU4_SLICE_SR_ID_t sr_per_match
 
const XMC_CCU4_SLICE_SR_ID_t sr_cmp_match_up
 
const XMC_CCU4_SLICE_SR_ID_t sr_cmp_match_down
 
const XMC_CCU4_SLICE_SR_ID_t sr_one_match_down
 
const XMC_CCU4_SLICE_SR_ID_t sr_e0
 
const XMC_CCU4_SLICE_SR_ID_t sr_e1
 
const XMC_CCU4_SLICE_SR_ID_t sr_e2
 
const
XMC_CCU4_SLICE_EVENT_CONFIG_t
*const 
event0_config_ptr
 
const
XMC_CCU4_SLICE_EVENT_CONFIG_t
*const 
event1_config_ptr
 
const
XMC_CCU4_SLICE_EVENT_CONFIG_t
*const 
event2_config_ptr
 
const XMC_CCU4_SLICE_EVENT_t ext_start_event
 
const XMC_CCU4_SLICE_START_MODE_t ext_start_mode
 
const XMC_CCU4_SLICE_EVENT_t ext_stop_event
 
const XMC_CCU4_SLICE_END_MODE_t ext_stop_mode
 
const XMC_CCU4_SLICE_EVENT_t ext_count_dir_event
 
const XMC_CCU4_SLICE_EVENT_t ext_gate_event
 
const XMC_CCU4_SLICE_EVENT_t ext_count_event
 
const XMC_CCU4_SLICE_EVENT_t ext_load_event
 
const XMC_CCU4_SLICE_EVENT_t ext_mod_event
 
const
XMC_CCU4_SLICE_MODULATION_MODE_t 
ext_mod_mode
 
const bool ext_mod_sync
 
const XMC_CCU4_SLICE_EVENT_t ext_override_edge_event
 
const XMC_CCU4_SLICE_EVENT_t ext_override_level_event
 
const bool ext_trap_enable
 
const XMC_CCU4_SLICE_EVENT_t ext_trap_event
 
const bool ext_trap_sync
 
const
XMC_CCU4_SLICE_TRAP_EXIT_MODE_t 
ext_trap_exit
 
const
XMC_CCU4_MULTI_CHANNEL_SHADOW_TRANSFER_t 
mcm_shadow_txfr_mode
 
const
XMC_CCU4_SLICE_SHADOW_TRANSFER_MODE_t 
shadow_transfer_mode
 
const uint32_t immediate_write
 
const uint32_t automatic_shadow_transfer
 
const bool cascaded_shadow_txfr_enable
 
const
XMC_CCU4_SLICE_COMPARE_CONFIG_t
*const 
ccu4_cc4_slice_timer_ptr
 
const bool gpio_ch_out_enable
 
XMC_GPIO_PORT_t *const gpio_ch_out_ptr
 
const uint8_t gpio_ch_out_pin
 
const XMC_GPIO_CONFIG_t *const gpio_ch_out_config_ptr
 
GLOBAL_CCU4_t *const global_ccu4_handle
 

Field Documentation

const uint32_t PWM_CCU4_ConfigType::automatic_shadow_transfer

Defines the registers that are enabled for automatic shadow transfer

Definition at line 229 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().

const bool PWM_CCU4_ConfigType::cascaded_shadow_txfr_enable

Enables cascade of shadow transfer in timer concatenate mode

Definition at line 230 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().

const XMC_CCU4_SLICE_COMPARE_CONFIG_t* const PWM_CCU4_ConfigType::ccu4_cc4_slice_timer_ptr

Points to the variable CCU4 timer initialization

Definition at line 233 of file PWM_CCU4.h.

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

const uint16_t PWM_CCU4_ConfigType::compare_value

Channel 1 compare register value. Determines the duty cycle

Definition at line 175 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().

const XMC_CCU4_SLICE_EVENT_CONFIG_t* const PWM_CCU4_ConfigType::event0_config_ptr

Points to the variable containing event 0 configuration

Definition at line 193 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_EVENT_CONFIG_t* const PWM_CCU4_ConfigType::event1_config_ptr

Points to the variable containing event 1 configuration

Definition at line 194 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_EVENT_CONFIG_t* const PWM_CCU4_ConfigType::event2_config_ptr

Points to the variable containing event 2 configuration

Definition at line 195 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_EVENT_t PWM_CCU4_ConfigType::ext_count_dir_event

Defines to which event external count direction signal is connected

Definition at line 203 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_EVENT_t PWM_CCU4_ConfigType::ext_count_event

Defines to which event external count signal is connected

Definition at line 207 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_EVENT_t PWM_CCU4_ConfigType::ext_gate_event

Defines to which event external gating signal is connected

Definition at line 205 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_EVENT_t PWM_CCU4_ConfigType::ext_load_event

Defines to which event external load signal is connected

Definition at line 209 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_EVENT_t PWM_CCU4_ConfigType::ext_mod_event

Defines to which event external modulation signal is connected

Definition at line 211 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_MODULATION_MODE_t PWM_CCU4_ConfigType::ext_mod_mode

Defines mode of external modulation

Definition at line 212 of file PWM_CCU4.h.

const bool PWM_CCU4_ConfigType::ext_mod_sync

Defines mode of synchronization for external modulation

Definition at line 213 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_EVENT_t PWM_CCU4_ConfigType::ext_override_edge_event

Defines to which event external edge override signal is connected

Definition at line 215 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_EVENT_t PWM_CCU4_ConfigType::ext_override_level_event

Defines to which event external level override signal is connected

Definition at line 217 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_EVENT_t PWM_CCU4_ConfigType::ext_start_event

Defines to which event external start signal is connected

Definition at line 197 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Start().

const XMC_CCU4_SLICE_START_MODE_t PWM_CCU4_ConfigType::ext_start_mode

Defines mode of starting the timer

Definition at line 198 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_EVENT_t PWM_CCU4_ConfigType::ext_stop_event

Defines to which event external stop signal is connected

Definition at line 200 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_END_MODE_t PWM_CCU4_ConfigType::ext_stop_mode

Defines mode of stopping the timer

Definition at line 201 of file PWM_CCU4.h.

const bool PWM_CCU4_ConfigType::ext_trap_enable

Enables the trap

Definition at line 219 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_EVENT_t PWM_CCU4_ConfigType::ext_trap_event

Defines to which event external trap signal is connected

Definition at line 220 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_TRAP_EXIT_MODE_t PWM_CCU4_ConfigType::ext_trap_exit

Defines mode of exiting trap state

Definition at line 222 of file PWM_CCU4.h.

const bool PWM_CCU4_ConfigType::ext_trap_sync

Defines mode of synchronization

Definition at line 221 of file PWM_CCU4.h.

GLOBAL_CCU4_t* const PWM_CCU4_ConfigType::global_ccu4_handle

Points to GLOBAL_CCU4 APP handle

Definition at line 240 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().

const XMC_GPIO_CONFIG_t* const PWM_CCU4_ConfigType::gpio_ch_out_config_ptr

Points to the variable containing GPIO configuration

Definition at line 238 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().

const bool PWM_CCU4_ConfigType::gpio_ch_out_enable

Enables GPIO initialization for channel 1 direct output

Definition at line 235 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().

const uint8_t PWM_CCU4_ConfigType::gpio_ch_out_pin

Pin number in the selected PORT

Definition at line 237 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().

XMC_GPIO_PORT_t* const PWM_CCU4_ConfigType::gpio_ch_out_ptr

Points to PORT BASE address

Definition at line 236 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().

const uint32_t PWM_CCU4_ConfigType::immediate_write

Defines the registers that are enabled for immediate shadow transfer

Definition at line 228 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().

const bool PWM_CCU4_ConfigType::int_cmp_match_down

Enables event service request generation when timer is counting down and equals to channel 1 compare register

Definition at line 179 of file PWM_CCU4.h.

const bool PWM_CCU4_ConfigType::int_cmp_match_up

Enables event service request generation when timer is counting up and equals to channel 1 compare register

Definition at line 178 of file PWM_CCU4.h.

const bool PWM_CCU4_ConfigType::int_e0

Enables event service request generation by external event 0 signal based on the trigger edge selection

Definition at line 181 of file PWM_CCU4.h.

const bool PWM_CCU4_ConfigType::int_e1

Enables event service request generation by external event 1 signal based on the trigger edge selection

Definition at line 182 of file PWM_CCU4.h.

const bool PWM_CCU4_ConfigType::int_e2

Enables event service request generation by external event 2 signal based on the trigger edge selection

Definition at line 183 of file PWM_CCU4.h.

const bool PWM_CCU4_ConfigType::int_one_match_down

Enables event service request generation when timer is counting down and equals 1

Definition at line 180 of file PWM_CCU4.h.

const bool PWM_CCU4_ConfigType::int_per_match

Enables event service request generation when timer value equals to period register

Definition at line 177 of file PWM_CCU4.h.

const XMC_CCU4_MULTI_CHANNEL_SHADOW_TRANSFER_t PWM_CCU4_ConfigType::mcm_shadow_txfr_mode

Defines the mode of shadow transfer in multi channel mode operation

Definition at line 224 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().

const uint16_t PWM_CCU4_ConfigType::period_value

Period register value. Determines the frequency

Definition at line 174 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().

const XMC_CCU4_SLICE_SHADOW_TRANSFER_MODE_t PWM_CCU4_ConfigType::shadow_transfer_mode

Defines the timer value(s) at which shadow transfer trigger is generated

Definition at line 227 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().

const XMC_CCU4_SLICE_SR_ID_t PWM_CCU4_ConfigType::sr_cmp_match_down

Service request node to which channel 1 compare match while timer counting down event is forwarded

Definition at line 187 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_SR_ID_t PWM_CCU4_ConfigType::sr_cmp_match_up

Service request node to which channel 1 compare match while timer counting up event is forwarded

Definition at line 186 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_SR_ID_t PWM_CCU4_ConfigType::sr_e0

Service request node to which event 0 is forwarded

Definition at line 189 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_SR_ID_t PWM_CCU4_ConfigType::sr_e1

Service request node to which event 1 is forwarded

Definition at line 190 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_SR_ID_t PWM_CCU4_ConfigType::sr_e2

Service request node to which event 2 is forwarded

Definition at line 191 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_SR_ID_t PWM_CCU4_ConfigType::sr_one_match_down

Service request node to which timer one match event is forwarded

Definition at line 188 of file PWM_CCU4.h.

const XMC_CCU4_SLICE_SR_ID_t PWM_CCU4_ConfigType::sr_per_match

Service request node to which period match event is forwarded

Definition at line 185 of file PWM_CCU4.h.

const bool PWM_CCU4_ConfigType::start_control

Enables starting of timer after initialization

Definition at line 173 of file PWM_CCU4.h.

Referenced by PWM_CCU4_Init().


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