Data Structures | |
struct | XMC_CCU4_SLICE_CAPTURE_CONFIG_t |
struct | XMC_CCU4_SLICE_COMPARE_CONFIG_t |
struct | XMC_CCU4_SLICE_EVENT_CONFIG_t |
Typedefs | |
typedef CCU4_GLOBAL_TypeDef | XMC_CCU4_MODULE_t |
typedef uint8_t | XMC_CCU4_SLICE_INPUT_t |
typedef CCU4_CC4_TypeDef | XMC_CCU4_SLICE_t |
The CCU4 peripheral is a major component for systems that need general purpose timers for signal monitoring/conditioning and Pulse Width Modulation (PWM) signal generation. Power electronic control systems like switched mode power supplies or interruptible power supplies, can easily be implemented with the functions inside the CCU4 peripheral.
Each CCU4 module is comprised of four identical 16 bit Capture/Compare Timer slices, CC4y (where y = [0..4]). Each timer slice can work in compare mode or in capture mode.
APIs provided in this file cover the following functional blocks of CCU4:
– Timer configuration, Capture configuration, Function/Event configuration, Interrupt configuration
It can be used to:
It can be used to:
Also, the CCU4 block can be configured from the ModusToolbox™ Device Configurator: CCU4 Personality
typedef CCU4_GLOBAL_TypeDef XMC_CCU4_MODULE_t |
Typedef for CCU4 Global data structure
typedef uint8_t XMC_CCU4_SLICE_INPUT_t |
External Event Input list. This list depicts the possible input connections to the CCU4 slice. Interconnects are specific to each device.
typedef CCU4_CC4_TypeDef XMC_CCU4_SLICE_t |
Typedef for CCU4 Slice data structure
enum XMC_CCU4_CLOCK_t |
CCU4 set the shadow transfer type for multichannel mode
Slice shadow transfer options.
Automatic Shadow Transfer request when writing into shadow register
Actions that can be performed upon detection of an external Timer STOP event
External Event trigger criteria - Edge sensitivity
Low pass filter Configuration. The External Event input should be stable for a selected number of clock cycles.
External Event trigger criteria - Level sensitivity
External Function list
Available Interrupt Event Ids
Multi Channel Shadow transfer request configuration options
Available Interrupt Event Ids, which is added to support multi event APIs
Timer clock Divider
Slice shadow transfer mode options.
Service Request Lines for CCU4. Event are mapped to these SR lines and these are used to generate the interrupt.
Timer clear on capture
Immediate write into configuration register
enum XMC_CCU4_STATUS_t |
Selects suspend mode
void XMC_CCU4_DisableClock | ( | XMC_CCU4_MODULE_t *const | module, |
const uint8_t | slice_number | ||
) |
module | Constant pointer to CCU4 module |
slice_number | Slice for which the clock should be disabled. Range: [0x0 to 0x3] |
void XMC_CCU4_DisableModule | ( | XMC_CCU4_MODULE_t *const | module | ) |
module | Constant pointer to CCU4 module |
void XMC_CCU4_EnableClock | ( | XMC_CCU4_MODULE_t *const | module, |
const uint8_t | slice_number | ||
) |
module | Constant pointer to CCU4 module |
slice_number | Slice for which the clock should be Enabled. Range: [0x0 to 0x3] |
void XMC_CCU4_EnableModule | ( | XMC_CCU4_MODULE_t *const | module | ) |
module | Constant pointer to CCU4 module |
void XMC_CCU4_EnableMultipleClocks | ( | XMC_CCU4_MODULE_t *const | module, |
const uint8_t | clock_mask | ||
) |
module | Constant pointer to CCU4 module |
clock_mask | Slices whose clocks are to be enabled simultaneously. Bit location 0/1/2/3 represents slice-0/1/2/3 respectively. Range: [0x1 to 0xF] |
void XMC_CCU4_EnableShadowTransfer | ( | XMC_CCU4_MODULE_t *const | module, |
const uint32_t | shadow_transfer_msk | ||
) |
module | Constant pointer to CCU4 module |
shadow_transfer_msk | Shadow transfer request mask for various transfers. Use XMC_CCU4_SHADOW_TRANSFER_t enum items to create a mask of choice, using a bit wise OR operation. |
Any call to XMC_CCU4_SLICE_SetTimerPeriodMatch()
XMC_CCU4_SLICE_SetTimerCompareMatch()
XMC_CCU4_SLICE_SetPrescaler()
XMC_CCU4_SLICE_CompareInit()
XMC_CCU4_SLICE_CaptureInit(). must be succeeded by this API. Directly accessed Register is GCSS.
XMC_CCU4_SLICE_STATUS_BIT_t XMC_CCU4_GetSliceStatusBit | ( | XMC_CCU4_MODULE_t *const | module, |
uint8_t | slice_number | ||
) |
module | Constant pointer to CCU4 module |
slice_number | Slice for which the status bit should be obtained. Range: [0x0 to 0x3] |
void XMC_CCU4_Init | ( | XMC_CCU4_MODULE_t *const | module, |
const XMC_CCU4_SLICE_MCMS_ACTION_t | mcs_action | ||
) |
module | Constant pointer to CCU4 module |
mcs_action | multi-channel shadow transfer request configuration |
bool XMC_CCU4_IsPrescalerRunning | ( | XMC_CCU4_MODULE_t *const | module | ) |
module | Constant pointer to CCU4 module |
void XMC_CCU4_SetModuleClock | ( | XMC_CCU4_MODULE_t *const | module, |
const XMC_CCU4_CLOCK_t | clock | ||
) |
module | Constant pointer to CCU4 module |
clock | Choice of input clock to the module |
void XMC_CCU4_SetMultiChannelShadowTransferMode | ( | XMC_CCU4_MODULE_t *const | module, |
const uint32_t | slice_mode_msk | ||
) |
module | Constant pointer to CCU4 module |
slice_mode_msk | Slices for which the configuration has to be applied. Use XMC_CCU4_MULTI_CHANNEL_SHADOW_TRANSFER_t enum items to create a mask of choice, using a bit wise OR operation. |
void XMC_CCU4_SetSuspendMode | ( | XMC_CCU4_MODULE_t *const | module, |
const XMC_CCU4_SUSPEND_MODE_t | mode | ||
) |
module | Constant pointer to CCU8 module |
mode | Selects suspend mode |
void XMC_CCU4_SLICE_Capture0Config | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_EVENT_t | event | ||
) |
slice | Constant pointer to CC4 Slice |
event | Map an External event to the Capture-0 Function |
void XMC_CCU4_SLICE_Capture1Config | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_EVENT_t | event | ||
) |
slice | Constant pointer to CC4 Slice |
event | Map an External event to the Capture-1 Function |
void XMC_CCU4_SLICE_CaptureInit | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_CAPTURE_CONFIG_t *const | capture_init | ||
) |
slice | Constant pointer to CC4 Slice |
capture_init | Pointer to slice configuration structure |
void XMC_CCU4_SLICE_ClearEvent | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_IRQ_ID_t | event | ||
) |
slice | Constant pointer to CC4 Slice |
event | Asserted event which must be acknowledged. |
void XMC_CCU4_SLICE_ClearTimer | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_CompareInit | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_COMPARE_CONFIG_t *const | compare_init | ||
) |
slice | Constant pointer to CC4 Slice |
compare_init | Pointer to slice configuration structure |
void XMC_CCU4_SLICE_ConfigureEvent | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_EVENT_t | event, | ||
const XMC_CCU4_SLICE_EVENT_CONFIG_t *const | config | ||
) |
slice | Constant pointer to CC4 Slice |
event | The External Event which needs to be configured. |
config | Pointer to event configuration data. |
void XMC_CCU4_SLICE_ConfigureStatusBitOverrideEvent | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_EVENT_CONFIG_t *const | ev1_config, | ||
const XMC_CCU4_SLICE_EVENT_CONFIG_t *const | ev2_config | ||
) |
slice | Constant pointer to CC4 Slice |
ev1_config | Pointer to event 1 configuration data |
ev2_config | Pointer to event 2 configuration data |
void XMC_CCU4_SLICE_CountConfig | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_EVENT_t | event | ||
) |
slice | Constant pointer to CC4 Slice |
event | Map an External event to the External Count Function |
void XMC_CCU4_SLICE_DirectionConfig | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_EVENT_t | event | ||
) |
slice | Constant pointer to CC4 Slice |
event | Map an External event to the External Count Direction Function |
void XMC_CCU4_SLICE_DisableAutomaticShadowTransferRequest | ( | XMC_CCU4_SLICE_t *const | slice, |
const uint32_t | automatic_shadow_transfer | ||
) |
slice | Constant pointer to CC4 Slice |
automatic_shadow_transfer | specify upon which register update, automatic shadow transfer request should not be generated Use :: XMC_CCU4_SLICE_AUTOMAIC_SHADOW_TRANSFER_WRITE_INTO_t enum items to create a mask of choice, using a bit wise OR operation. |
void XMC_CCU4_SLICE_DisableCascadedShadowTransfer | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_DisableDithering | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_DisableEvent | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_IRQ_ID_t | event | ||
) |
slice | Constant pointer to CC4 Slice |
event | Event whose assertion can potentially lead to an interrupt |
void XMC_CCU4_SLICE_DisableFloatingPrescaler | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_DisableMultiChannelMode | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_DisableMultipleEvents | ( | XMC_CCU4_SLICE_t *const | slice, |
const uint16_t | mask | ||
) |
slice | Constant pointer to CC4 Slice |
mask | Event mask such that multiple events can be enabled. Use XMC_CCU4_SLICE_MULTI_IRQ_ID_t enum items to create a mask of choice, using a bit wise OR operation. |
void XMC_CCU4_SLICE_DisableTrap | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_EnableAutomaticShadowTransferRequest | ( | XMC_CCU4_SLICE_t *const | slice, |
const uint32_t | automatic_shadow_transfer | ||
) |
slice | Constant pointer to CC4 Slice |
automatic_shadow_transfer | specify upon which register update, automatic shadow transfer request is generated Use :: XMC_CCU4_SLICE_AUTOMAIC_SHADOW_TRANSFER_WRITE_INTO_t enum items to create a mask of choice, using a bit wise OR operation. |
void XMC_CCU4_SLICE_EnableCascadedShadowTransfer | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_EnableDithering | ( | XMC_CCU4_SLICE_t *const | slice, |
const bool | period_dither, | ||
const bool | duty_dither, | ||
const uint8_t | spread | ||
) |
slice | Constant pointer to CC4 Slice |
period_dither | Boolean instruction on dithering of period match |
duty_dither | Boolean instruction on dithering of compare match |
spread | Dither compare value |
void XMC_CCU4_SLICE_EnableEvent | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_IRQ_ID_t | event | ||
) |
slice | Constant pointer to CC4 Slice |
event | Event whose assertion can potentially lead to an interrupt |
void XMC_CCU4_SLICE_EnableFloatingPrescaler | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_EnableMultiChannelMode | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_EnableMultipleEvents | ( | XMC_CCU4_SLICE_t *const | slice, |
const uint16_t | intr_mask | ||
) |
slice | Constant pointer to CC4 Slice |
intr_mask | Event mask such that multiple events can be enabled. Use XMC_CCU4_SLICE_MULTI_IRQ_ID_t enum items to create a mask of choice, using a bit wise OR operation. |
void XMC_CCU4_SLICE_EnableTrap | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_GateConfig | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_EVENT_t | event | ||
) |
slice | Constant pointer to CC4 Slice |
event | Map an External event to the External Gating Function |
uint32_t XMC_CCU4_SLICE_GetCapturedValueFromFifo | ( | const XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_CAP_REG_SET_t | set | ||
) |
slice | Constant pointer to CC4 Slice |
set | The capture register set from which the captured value is to be retrieved |
uint32_t XMC_CCU4_SLICE_GetCaptureRegisterValue | ( | const XMC_CCU4_SLICE_t *const | slice, |
const uint8_t | reg_num | ||
) |
slice | Constant pointer to CC4 Slice |
reg_num | The capture register from which the captured value is to be retrieved Range: [0,3] |
XMC_CCU4_SLICE_TIMER_COUNT_DIR_t XMC_CCU4_SLICE_GetCountingDir | ( | const XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
bool XMC_CCU4_SLICE_GetEvent | ( | const XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_IRQ_ID_t | event | ||
) |
slice | Constant pointer to CC4 Slice |
event | Event to be evaluated for assertion |
XMC_CCU4_STATUS_t XMC_CCU4_SLICE_GetLastCapturedTimerValue | ( | const XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_CAP_REG_SET_t | set, | ||
uint32_t * | val_ptr | ||
) |
slice | Constant pointer to CC4 Slice |
set | The capture register set, which must be evaluated |
val_ptr | Out Parameter of the API.Stores the captured timer value into this out parameter. |
XMC_CCU4_SLICE_PRESCALER_t XMC_CCU4_SLICE_GetPrescaler | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
XMC_CCU4_SLICE_MODE_t XMC_CCU4_SLICE_GetSliceMode | ( | const XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
uint16_t XMC_CCU4_SLICE_GetTimerCompareMatch | ( | const XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
XMC_CCU4_SLICE_TIMER_COUNT_MODE_t XMC_CCU4_SLICE_GetTimerCountingMode | ( | const XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
uint16_t XMC_CCU4_SLICE_GetTimerPeriodMatch | ( | const XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
XMC_CCU4_SLICE_TIMER_REPEAT_MODE_t XMC_CCU4_SLICE_GetTimerRepeatMode | ( | const XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
uint16_t XMC_CCU4_SLICE_GetTimerValue | ( | const XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
bool XMC_CCU4_SLICE_IsExtendedCapReadEnabled | ( | const XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
bool XMC_CCU4_SLICE_IsTimerRunning | ( | const XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_LoadConfig | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_EVENT_t | event | ||
) |
slice | Constant pointer to CC4 Slice |
event | Map an External event to the External load Function |
void XMC_CCU4_SLICE_ModulationConfig | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_EVENT_t | event, | ||
const XMC_CCU4_SLICE_MODULATION_MODE_t | mod_mode, | ||
const bool | synch_with_pwm | ||
) |
slice | Constant pointer to CC4 Slice |
event | Map an External event to the External Modulation Function |
mod_mode | Desired Modulation mode |
synch_with_pwm | Option to synchronize modulation with PWM start Pass true if the modulation needs to be synchronized with PWM signal. |
void XMC_CCU4_SLICE_SetDitherCompareValue | ( | XMC_CCU4_SLICE_t *const | slice, |
const uint8_t | comp_val | ||
) |
slice | Constant pointer to CC4 Slice |
comp_val | Dither compare value Range: [0x0 to 0xF] |
void XMC_CCU4_SLICE_SetEvent | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_IRQ_ID_t | event | ||
) |
slice | Constant pointer to CC4 Slice |
event | Event whose assertion can potentially lead to an interrupt |
void XMC_CCU4_SLICE_SetFloatingPrescalerCompareValue | ( | XMC_CCU4_SLICE_t *const | slice, |
const uint8_t | cmp_val | ||
) |
slice | Constant pointer to CC4 Slice |
cmp_val | Prescaler divider compare value Range: [0x0 to 0xF] |
void XMC_CCU4_SLICE_SetInput | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_EVENT_t | event, | ||
const XMC_CCU4_SLICE_INPUT_t | input | ||
) |
slice | Constant pointer to CC4 Slice |
event | The External Event which needs to be configured. |
input | One of the 16 inputs meant to be mapped to the desired event |
void XMC_CCU4_SLICE_SetInterruptNode | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_IRQ_ID_t | event, | ||
const XMC_CCU4_SLICE_SR_ID_t | sr | ||
) |
slice | Constant pointer to CC4 Slice |
event | Event which must be bound to a service request line |
sr | The Service request line which is bound to the event |
void XMC_CCU4_SLICE_SetPassiveLevel | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_OUTPUT_PASSIVE_LEVEL_t | level | ||
) |
slice | Constant pointer to CC4 Slice |
level | Slice output passive level |
void XMC_CCU4_SLICE_SetPrescaler | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_PRESCALER_t | div_val | ||
) |
slice | Constant pointer to CC4 Slice |
div_val | Prescaler divider value. Accepts enum :: XMC_CCU4_SLICE_PRESCALER_t Range: [0x0 to 0xF] |
void XMC_CCU4_SLICE_SetShadowTransferMode | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_SHADOW_TRANSFER_MODE_t | shadow_transfer_mode | ||
) |
slice | Constant pointer to CC4 Slice |
shadow_transfer_mode | mode to be configured Use :: XMC_CCU4_SLICE_SHADOW_TRANSFER_MODE_t enum items for mode |
void XMC_CCU4_SLICE_SetTimerCompareMatch | ( | XMC_CCU4_SLICE_t *const | slice, |
const uint16_t | compare_val | ||
) |
slice | Constant pointer to CC4 Slice |
compare_val | Timer compare value |
void XMC_CCU4_SLICE_SetTimerCountingMode | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_TIMER_COUNT_MODE_t | mode | ||
) |
slice | Constant pointer to CC4 Slice |
mode | Desired counting mode (Either Edge Aligned or Center Aligned) |
void XMC_CCU4_SLICE_SetTimerPeriodMatch | ( | XMC_CCU4_SLICE_t *const | slice, |
const uint16_t | period_val | ||
) |
slice | Constant pointer to CC4 Slice |
period_val | Timer period value Range: [0x0 to 0xFFFF] |
void XMC_CCU4_SLICE_SetTimerRepeatMode | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_TIMER_REPEAT_MODE_t | mode | ||
) |
slice | Constant pointer to CC4 Slice |
mode | Desired repetition mode (Either single shot or Continuous) |
void XMC_CCU4_SLICE_SetTimerValue | ( | XMC_CCU4_SLICE_t *const | slice, |
const uint16_t | timer_val | ||
) |
slice | Constant pointer to CC4 Slice |
timer_val | The new timer value that has to be loaded into the TIMER register. Range: [0x0 to 0xFFFF] |
void XMC_CCU4_SLICE_StartConfig | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_EVENT_t | event, | ||
const XMC_CCU4_SLICE_START_MODE_t | start_mode | ||
) |
slice | Constant pointer to CC4 Slice |
event | Map an External event to the External Start Function |
start_mode | Behavior of slice when the start function is activated |
void XMC_CCU4_SLICE_StartTimer | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_StatusBitOverrideConfig | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_StopClearTimer | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_StopConfig | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_EVENT_t | event, | ||
const XMC_CCU4_SLICE_END_MODE_t | end_mode | ||
) |
slice | Constant pointer to CC4 Slice |
event | Map an External event to the External Stop Function |
end_mode | Behavior of slice when the stop function is activated |
void XMC_CCU4_SLICE_StopTimer | ( | XMC_CCU4_SLICE_t *const | slice | ) |
slice | Constant pointer to CC4 Slice |
void XMC_CCU4_SLICE_TrapConfig | ( | XMC_CCU4_SLICE_t *const | slice, |
const XMC_CCU4_SLICE_TRAP_EXIT_MODE_t | exit_mode, | ||
bool | synch_with_pwm | ||
) |
slice | Constant pointer to CC4 Slice |
exit_mode | How should a previously logged trap state be exited? |
synch_with_pwm | Should exit of trap state be synchronized with PWM cycle start? |
void XMC_CCU4_SLICE_WriteCoherentlyWithPWMCycle | ( | XMC_CCU4_SLICE_t *const | slice, |
const uint32_t | coherent_write | ||
) |
slice | Constant pointer to CC4 Slice |
coherent_write | specifies for what fields this mode has to be applied Use :: XMC_CCU4_SLICE_WRITE_INTO_t enum items to create a mask of choice, using a bit wise OR operation. |
void XMC_CCU4_SLICE_WriteImmediateAfterShadowTransfer | ( | XMC_CCU4_SLICE_t *const | slice, |
const uint32_t | immediate_write | ||
) |
slice | Constant pointer to CC4 Slice |
immediate_write | specifies for what fields this mode has to be applied Use :: XMC_CCU4_SLICE_WRITE_INTO_t enum items to create a mask of choice, using a bit wise OR operation. |
void XMC_CCU4_StartPrescaler | ( | XMC_CCU4_MODULE_t *const | module | ) |
module | Constant pointer to CCU4 module |
void XMC_CCU4_StopPrescaler | ( | XMC_CCU4_MODULE_t *const | module | ) |
module | Constant pointer to CCU4 module |