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

XMC Peripheral Library for XMC4000 Family

XMC Peripheral Library for XMC4000 Family  2.1.16
xmc_ccu8.h File Reference
#include "xmc_common.h" #include "xmc1_ccu8_map.h"
#include "xmc4_ccu8_map.h"
Include dependency graph for xmc_ccu8.h:

Data Structures

struct  XMC_CCU8_SLICE_CAPTURE_CONFIG_t
 
struct  XMC_CCU8_SLICE_COMPARE_CONFIG_t
 
struct  XMC_CCU8_SLICE_DEAD_TIME_CONFIG_t
 
struct  XMC_CCU8_SLICE_EVENT_CONFIG_t
 

Typedefs

typedef CCU8_GLOBAL_TypeDef XMC_CCU8_MODULE_t
 
typedef uint8_t XMC_CCU8_SLICE_INPUT_t
 
typedef CCU8_CC8_TypeDef XMC_CCU8_SLICE_t
 

Enumerations

Functions

void XMC_CCU8_DisableClock (XMC_CCU8_MODULE_t *const module, const uint8_t slice_number)
 
void XMC_CCU8_DisableModule (XMC_CCU8_MODULE_t *const module)
 
void XMC_CCU8_EnableClock (XMC_CCU8_MODULE_t *const module, const uint8_t slice_number)
 
void XMC_CCU8_EnableModule (XMC_CCU8_MODULE_t *const module)
 
void XMC_CCU8_EnableMultipleClocks (XMC_CCU8_MODULE_t *const module, const uint8_t clock_mask)
 
void XMC_CCU8_EnableShadowTransfer (XMC_CCU8_MODULE_t *const module, const uint32_t shadow_transfer_msk)
 
void XMC_CCU8_Init (XMC_CCU8_MODULE_t *const module, const XMC_CCU8_SLICE_MCMS_ACTION_t mcs_action)
 
bool XMC_CCU8_IsPrescalerRunning (XMC_CCU8_MODULE_t *const module)
 
void XMC_CCU8_SetModuleClock (XMC_CCU8_MODULE_t *const module, const XMC_CCU8_CLOCK_t clock)
 
void XMC_CCU8_SetMultiChannelShadowTransferMode (XMC_CCU8_MODULE_t *const module, const uint32_t slice_mode_msk)
 
void XMC_CCU8_SLICE_Capture0Config (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_EVENT_t event)
 
void XMC_CCU8_SLICE_Capture1Config (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_EVENT_t event)
 
void XMC_CCU8_SLICE_CaptureInit (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_CAPTURE_CONFIG_t *const capture_init)
 
void XMC_CCU8_SLICE_ClearEvent (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_IRQ_ID_t event)
 
void XMC_CCU8_SLICE_ClearTimer (XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_CompareInit (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_COMPARE_CONFIG_t *const compare_init)
 
void XMC_CCU8_SLICE_ConfigureDeadTime (XMC_CCU8_SLICE_t *const slice, const uint8_t mask)
 
void XMC_CCU8_SLICE_ConfigureEvent (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_EVENT_t event, const XMC_CCU8_SLICE_EVENT_CONFIG_t *config)
 
void XMC_CCU8_SLICE_ConfigureStatusBitOutput (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_STATUS_t channel)
 
void XMC_CCU8_SLICE_ConfigureStatusBitOverrideEvent (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_EVENT_CONFIG_t *const ev1_config, const XMC_CCU8_SLICE_EVENT_CONFIG_t *const ev2_config)
 
void XMC_CCU8_SLICE_CountConfig (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_EVENT_t event)
 
void XMC_CCU8_SLICE_DeadTimeInit (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_DEAD_TIME_CONFIG_t *const config)
 
void XMC_CCU8_SLICE_DirectionConfig (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_EVENT_t event)
 
void XMC_CCU8_SLICE_DisableAutomaticShadowTransferRequest (XMC_CCU8_SLICE_t *const slice, const uint32_t automatic_shadow_transfer)
 
void XMC_CCU8_SLICE_DisableCascadedShadowTransfer (XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_DisableDithering (XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_DisableEvent (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_IRQ_ID_t event)
 
void XMC_CCU8_SLICE_DisableFloatingPrescaler (XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_DisableMultiChannelMode (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_COMPARE_CHANNEL_t ch_num)
 
void XMC_CCU8_SLICE_DisableMultipleEvents (XMC_CCU8_SLICE_t *const slice, const uint16_t mask)
 
void XMC_CCU8_SLICE_DisableTrap (XMC_CCU8_SLICE_t *const slice, const uint32_t out_mask)
 
void XMC_CCU8_SLICE_EnableAsymmetricCompareMode (XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_EnableAutomaticShadowTransferRequest (XMC_CCU8_SLICE_t *const slice, const uint32_t automatic_shadow_transfer)
 
void XMC_CCU8_SLICE_EnableCascadedShadowTransfer (XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_EnableDithering (XMC_CCU8_SLICE_t *const slice, const bool period_dither, const bool duty_dither, const uint8_t spread)
 
void XMC_CCU8_SLICE_EnableEvent (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_IRQ_ID_t event)
 
void XMC_CCU8_SLICE_EnableFloatingPrescaler (XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_EnableMultiChannelMode (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_COMPARE_CHANNEL_t ch_num)
 
void XMC_CCU8_SLICE_EnableMultipleEvents (XMC_CCU8_SLICE_t *const slice, const uint16_t mask)
 
void XMC_CCU8_SLICE_EnableSymmetricCompareMode (XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_EnableTrap (XMC_CCU8_SLICE_t *const slice, const uint32_t out_mask)
 
void XMC_CCU8_SLICE_GateConfig (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_EVENT_t event)
 
uint32_t XMC_CCU8_SLICE_GetCapturedValueFromFifo (const XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_CAP_REG_SET_t set)
 
uint32_t XMC_CCU8_SLICE_GetCaptureRegisterValue (const XMC_CCU8_SLICE_t *const slice, const uint8_t reg_num)
 
XMC_CCU8_SLICE_TIMER_COUNT_DIR_t XMC_CCU8_SLICE_GetCountingDir (const XMC_CCU8_SLICE_t *const slice)
 
bool XMC_CCU8_SLICE_GetEvent (const XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_IRQ_ID_t event)
 
XMC_CCU8_STATUS_t XMC_CCU8_SLICE_GetLastCapturedTimerValue (const XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_CAP_REG_SET_t set, uint32_t *val_ptr)
 
XMC_CCU8_SLICE_MODE_t XMC_CCU8_SLICE_GetSliceMode (const XMC_CCU8_SLICE_t *const slice)
 
uint16_t XMC_CCU8_SLICE_GetTimerCompareMatch (const XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_COMPARE_CHANNEL_t channel)
 
XMC_CCU8_SLICE_TIMER_COUNT_MODE_t XMC_CCU8_SLICE_GetTimerCountingMode (const XMC_CCU8_SLICE_t *const slice)
 
uint16_t XMC_CCU8_SLICE_GetTimerPeriodMatch (const XMC_CCU8_SLICE_t *const slice)
 
XMC_CCU8_SLICE_TIMER_REPEAT_MODE_t XMC_CCU8_SLICE_GetTimerRepeatMode (const XMC_CCU8_SLICE_t *const slice)
 
uint16_t XMC_CCU8_SLICE_GetTimerValue (const XMC_CCU8_SLICE_t *const slice)
 
bool XMC_CCU8_SLICE_IsDeadTimeCntr1Running (const XMC_CCU8_SLICE_t *const slice)
 
bool XMC_CCU8_SLICE_IsDeadTimeCntr2Running (const XMC_CCU8_SLICE_t *const slice)
 
bool XMC_CCU8_SLICE_IsExtendedCapReadEnabled (const XMC_CCU8_SLICE_t *const slice)
 
bool XMC_CCU8_SLICE_IsTimerRunning (const XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_LoadConfig (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_EVENT_t event)
 
void XMC_CCU8_SLICE_LoadSelector (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_COMPARE_CHANNEL_t ch_num)
 
void XMC_CCU8_SLICE_ModulationConfig (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_EVENT_t event, const XMC_CCU8_SLICE_MODULATION_MODE_t mod_mode, const XMC_CCU8_SLICE_MODULATION_CHANNEL_t channel, const bool synch_with_pwm)
 
void XMC_CCU8_SLICE_SetDeadTimePrescaler (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_DTC_DIV_t div_val)
 
void XMC_CCU8_SLICE_SetDeadTimeValue (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_COMPARE_CHANNEL_t channel, const uint8_t rise_value, const uint8_t fall_value)
 
void XMC_CCU8_SLICE_SetDitherCompareValue (XMC_CCU8_SLICE_t *const slice, const uint8_t comp_val)
 
void XMC_CCU8_SLICE_SetEvent (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_IRQ_ID_t event)
 
void XMC_CCU8_SLICE_SetFloatingPrescalerCompareValue (XMC_CCU8_SLICE_t *const slice, const uint8_t cmp_val)
 
void XMC_CCU8_SLICE_SetInput (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_EVENT_t event, const XMC_CCU8_SLICE_INPUT_t input)
 
void XMC_CCU8_SLICE_SetInterruptNode (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_IRQ_ID_t event, const XMC_CCU8_SLICE_SR_ID_t sr)
 
void XMC_CCU8_SLICE_SetOutPath (XMC_CCU8_SLICE_t *const slice, const uint32_t out_path_msk)
 
void XMC_CCU8_SLICE_SetPassiveLevel (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_OUTPUT_t out, const XMC_CCU8_SLICE_OUTPUT_PASSIVE_LEVEL_t level)
 
void XMC_CCU8_SLICE_SetPrescaler (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_PRESCALER_t div_val)
 
void XMC_CCU8_SLICE_SetShadowTransferMode (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_SHADOW_TRANSFER_MODE_t shadow_transfer_mode)
 
void XMC_CCU8_SLICE_SetTimerCompareMatch (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_COMPARE_CHANNEL_t channel, const uint16_t compare_val)
 
void XMC_CCU8_SLICE_SetTimerCompareMatchChannel1 (XMC_CCU8_SLICE_t *const slice, const uint16_t compare_val)
 
void XMC_CCU8_SLICE_SetTimerCompareMatchChannel2 (XMC_CCU8_SLICE_t *const slice, const uint16_t compare_val)
 
void XMC_CCU8_SLICE_SetTimerCountingMode (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_TIMER_COUNT_MODE_t mode)
 
void XMC_CCU8_SLICE_SetTimerPeriodMatch (XMC_CCU8_SLICE_t *const slice, const uint16_t period_val)
 
void XMC_CCU8_SLICE_SetTimerRepeatMode (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_TIMER_REPEAT_MODE_t mode)
 
void XMC_CCU8_SLICE_SetTimerValue (XMC_CCU8_SLICE_t *const slice, const uint16_t timer_val)
 
void XMC_CCU8_SLICE_StartConfig (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_EVENT_t event, const XMC_CCU8_SLICE_START_MODE_t start_mode)
 
void XMC_CCU8_SLICE_StartTimer (XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_StatusBitOverrideConfig (XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_StopClearTimer (XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_StopConfig (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_EVENT_t event, const XMC_CCU8_SLICE_END_MODE_t end_mode)
 
void XMC_CCU8_SLICE_StopTimer (XMC_CCU8_SLICE_t *const slice)
 
void XMC_CCU8_SLICE_TrapConfig (XMC_CCU8_SLICE_t *const slice, const XMC_CCU8_SLICE_TRAP_EXIT_MODE_t exit_mode, bool synch_with_pwm)
 
void XMC_CCU8_SLICE_WriteCoherentlyWithPWMCycle (XMC_CCU8_SLICE_t *const slice, const uint32_t coherent_write)
 
void XMC_CCU8_SLICE_WriteImmediateAfterShadowTransfer (XMC_CCU8_SLICE_t *const slice, const uint32_t immediate_write)
 
void XMC_CCU8_StartPrescaler (XMC_CCU8_MODULE_t *const module)
 
void XMC_CCU8_StopPrescaler (XMC_CCU8_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