XMC Peripheral Library for XMC4000 Family: xmc_ccu4.h File Reference

XMC Peripheral Library for XMC4000 Family

XMC Peripheral Library for XMC4000 Family  2.1.16
xmc_ccu4.h File Reference
#include "xmc_common.h" #include "xmc1_ccu4_map.h"
#include "xmc4_ccu4_map.h"
Include dependency graph for xmc_ccu4.h:

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
 

Enumerations

Functions

void XMC_CCU4_DisableClock (XMC_CCU4_MODULE_t *const module, const uint8_t slice_number)
 
void XMC_CCU4_DisableModule (XMC_CCU4_MODULE_t *const module)
 
void XMC_CCU4_EnableClock (XMC_CCU4_MODULE_t *const module, const uint8_t slice_number)
 
void XMC_CCU4_EnableModule (XMC_CCU4_MODULE_t *const module)
 
void XMC_CCU4_EnableMultipleClocks (XMC_CCU4_MODULE_t *const module, const uint8_t clock_mask)
 
void XMC_CCU4_EnableShadowTransfer (XMC_CCU4_MODULE_t *const module, const uint32_t shadow_transfer_msk)
 
void XMC_CCU4_Init (XMC_CCU4_MODULE_t *const module, const XMC_CCU4_SLICE_MCMS_ACTION_t mcs_action)
 
bool XMC_CCU4_IsPrescalerRunning (XMC_CCU4_MODULE_t *const module)
 
void XMC_CCU4_SetModuleClock (XMC_CCU4_MODULE_t *const module, const XMC_CCU4_CLOCK_t clock)
 
void XMC_CCU4_SetMultiChannelShadowTransferMode (XMC_CCU4_MODULE_t *const module, const uint32_t slice_mode_msk)
 
void XMC_CCU4_SLICE_Capture0Config (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_EVENT_t event)
 
void XMC_CCU4_SLICE_Capture1Config (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_EVENT_t event)
 
void XMC_CCU4_SLICE_CaptureInit (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_CAPTURE_CONFIG_t *const capture_init)
 
void XMC_CCU4_SLICE_ClearEvent (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_IRQ_ID_t event)
 
void XMC_CCU4_SLICE_ClearTimer (XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_CompareInit (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_COMPARE_CONFIG_t *const compare_init)
 
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)
 
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)
 
void XMC_CCU4_SLICE_CountConfig (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_EVENT_t event)
 
void XMC_CCU4_SLICE_DirectionConfig (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_EVENT_t event)
 
void XMC_CCU4_SLICE_DisableAutomaticShadowTransferRequest (XMC_CCU4_SLICE_t *const slice, const uint32_t automatic_shadow_transfer)
 
void XMC_CCU4_SLICE_DisableCascadedShadowTransfer (XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_DisableDithering (XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_DisableEvent (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_IRQ_ID_t event)
 
void XMC_CCU4_SLICE_DisableFloatingPrescaler (XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_DisableMultiChannelMode (XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_DisableMultipleEvents (XMC_CCU4_SLICE_t *const slice, const uint16_t mask)
 
void XMC_CCU4_SLICE_DisableTrap (XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_EnableAutomaticShadowTransferRequest (XMC_CCU4_SLICE_t *const slice, const uint32_t automatic_shadow_transfer)
 
void XMC_CCU4_SLICE_EnableCascadedShadowTransfer (XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_EnableDithering (XMC_CCU4_SLICE_t *const slice, const bool period_dither, const bool duty_dither, const uint8_t spread)
 
void XMC_CCU4_SLICE_EnableEvent (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_IRQ_ID_t event)
 
void XMC_CCU4_SLICE_EnableFloatingPrescaler (XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_EnableMultiChannelMode (XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_EnableMultipleEvents (XMC_CCU4_SLICE_t *const slice, const uint16_t intr_mask)
 
void XMC_CCU4_SLICE_EnableTrap (XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_GateConfig (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_EVENT_t event)
 
uint32_t XMC_CCU4_SLICE_GetCapturedValueFromFifo (const XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_CAP_REG_SET_t set)
 
uint32_t XMC_CCU4_SLICE_GetCaptureRegisterValue (const XMC_CCU4_SLICE_t *const slice, const uint8_t reg_num)
 
XMC_CCU4_SLICE_TIMER_COUNT_DIR_t XMC_CCU4_SLICE_GetCountingDir (const XMC_CCU4_SLICE_t *const slice)
 
bool XMC_CCU4_SLICE_GetEvent (const XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_IRQ_ID_t event)
 
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)
 
XMC_CCU4_SLICE_MODE_t XMC_CCU4_SLICE_GetSliceMode (const XMC_CCU4_SLICE_t *const slice)
 
uint16_t XMC_CCU4_SLICE_GetTimerCompareMatch (const XMC_CCU4_SLICE_t *const slice)
 
XMC_CCU4_SLICE_TIMER_COUNT_MODE_t XMC_CCU4_SLICE_GetTimerCountingMode (const XMC_CCU4_SLICE_t *const slice)
 
uint16_t XMC_CCU4_SLICE_GetTimerPeriodMatch (const XMC_CCU4_SLICE_t *const slice)
 
XMC_CCU4_SLICE_TIMER_REPEAT_MODE_t XMC_CCU4_SLICE_GetTimerRepeatMode (const XMC_CCU4_SLICE_t *const slice)
 
uint16_t XMC_CCU4_SLICE_GetTimerValue (const XMC_CCU4_SLICE_t *const slice)
 
bool XMC_CCU4_SLICE_IsExtendedCapReadEnabled (const XMC_CCU4_SLICE_t *const slice)
 
bool XMC_CCU4_SLICE_IsTimerRunning (const XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_LoadConfig (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_EVENT_t event)
 
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)
 
void XMC_CCU4_SLICE_SetDitherCompareValue (XMC_CCU4_SLICE_t *const slice, const uint8_t comp_val)
 
void XMC_CCU4_SLICE_SetEvent (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_IRQ_ID_t event)
 
void XMC_CCU4_SLICE_SetFloatingPrescalerCompareValue (XMC_CCU4_SLICE_t *const slice, const uint8_t cmp_val)
 
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)
 
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)
 
void XMC_CCU4_SLICE_SetPassiveLevel (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_OUTPUT_PASSIVE_LEVEL_t level)
 
void XMC_CCU4_SLICE_SetPrescaler (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_PRESCALER_t div_val)
 
void XMC_CCU4_SLICE_SetShadowTransferMode (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_SHADOW_TRANSFER_MODE_t shadow_transfer_mode)
 
void XMC_CCU4_SLICE_SetTimerCompareMatch (XMC_CCU4_SLICE_t *const slice, const uint16_t compare_val)
 
void XMC_CCU4_SLICE_SetTimerCountingMode (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_TIMER_COUNT_MODE_t mode)
 
void XMC_CCU4_SLICE_SetTimerPeriodMatch (XMC_CCU4_SLICE_t *const slice, const uint16_t period_val)
 
void XMC_CCU4_SLICE_SetTimerRepeatMode (XMC_CCU4_SLICE_t *const slice, const XMC_CCU4_SLICE_TIMER_REPEAT_MODE_t mode)
 
void XMC_CCU4_SLICE_SetTimerValue (XMC_CCU4_SLICE_t *const slice, const uint16_t timer_val)
 
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)
 
void XMC_CCU4_SLICE_StartTimer (XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_StatusBitOverrideConfig (XMC_CCU4_SLICE_t *const slice)
 
void XMC_CCU4_SLICE_StopClearTimer (XMC_CCU4_SLICE_t *const 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)
 
void XMC_CCU4_SLICE_StopTimer (XMC_CCU4_SLICE_t *const 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)
 
void XMC_CCU4_SLICE_WriteCoherentlyWithPWMCycle (XMC_CCU4_SLICE_t *const slice, const uint32_t coherent_write)
 
void XMC_CCU4_SLICE_WriteImmediateAfterShadowTransfer (XMC_CCU4_SLICE_t *const slice, const uint32_t immediate_write)
 
void XMC_CCU4_StartPrescaler (XMC_CCU4_MODULE_t *const module)
 
void XMC_CCU4_StopPrescaler (XMC_CCU4_MODULE_t *const module)
 

Detailed Description

Date
2017-04-27
Generated on Mon Aug 7 2017 11:33:56 for XMC Peripheral Library for XMC4000 Family by   doxygen 1.8.11