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

XMC Peripheral Library for XMC4000 Family

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

Data Structures

struct  XMC_SCU_CLOCK_CONFIG_t
 
struct  XMC_SCU_CLOCK_SYSPLL_CONFIG_t
 

Macros

#define XMC_SCU_INTERRUPT_EVENT_DLR_OVERRUN   SCU_INTERRUPT_SRSTAT_DLROVR_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_HDCLR_UPDATED   SCU_INTERRUPT_SRSTAT_HDCLR_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_HDCR_UPDATED   SCU_INTERRUPT_SRSTAT_HDCR_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_HDSET_UPDATED   SCU_INTERRUPT_SRSTAT_HDSET_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_OSCSICTRL_UPDATED   SCU_INTERRUPT_SRSTAT_OSCSICTRL_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_OSCULCTRL_UPDATED   SCU_INTERRUPT_SRSTAT_OSCULCTRL_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_RMX_UPDATED   SCU_INTERRUPT_SRSTAT_RMX_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_RTC_ALARM   SCU_INTERRUPT_SRSTAT_AI_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_RTC_PERIODIC   SCU_INTERRUPT_SRSTAT_PI_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_RTCATIM0_UPDATED   SCU_INTERRUPT_SRSTAT_RTC_ATIM0_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_RTCATIM1_UPDATED   SCU_INTERRUPT_SRSTAT_RTC_ATIM1_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_RTCCTR_UPDATED   SCU_INTERRUPT_SRSTAT_RTC_CTR_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_RTCTIM0_UPDATED   SCU_INTERRUPT_SRSTAT_RTC_TIM0_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_RTCTIM1_UPDATED   SCU_INTERRUPT_SRSTAT_RTC_TIM1_Msk
 
#define XMC_SCU_INTERRUPT_EVENT_WDT_WARN   SCU_INTERRUPT_SRSTAT_PRWARN_Msk
 

Typedefs

typedef uint32_t XMC_SCU_INTERRUPT_EVENT_t
 

Enumerations

Functions

void XMC_SCU_CalibrateTemperatureSensor (uint32_t offset, uint32_t gain)
 
void XMC_SCU_CLOCK_DisableClock (const XMC_SCU_CLOCK_t clock)
 
void XMC_SCU_CLOCK_DisableHighPerformanceOscillator (void)
 
void XMC_SCU_CLOCK_DisableHighPerformanceOscillatorGeneralPurposeInput (void)
 
void XMC_SCU_CLOCK_DisableLowPowerOscillator (void)
 
void XMC_SCU_CLOCK_DisableLowPowerOscillatorGeneralPurposeInput (void)
 
void XMC_SCU_CLOCK_DisableSystemPll (void)
 
void XMC_SCU_CLOCK_DisableUsbPll (void)
 
void XMC_SCU_CLOCK_EnableClock (const XMC_SCU_CLOCK_t clock)
 
void XMC_SCU_CLOCK_EnableHighPerformanceOscillator (void)
 
void XMC_SCU_CLOCK_EnableHighPerformanceOscillatorGeneralPurposeInput (void)
 
void XMC_SCU_CLOCK_EnableLowPowerOscillator (void)
 
void XMC_SCU_CLOCK_EnableLowPowerOscillatorGeneralPurposeInput (void)
 
void XMC_SCU_CLOCK_EnableSystemPll (void)
 
void XMC_SCU_CLOCK_EnableUsbPll (void)
 
uint32_t XMC_SCU_CLOCK_GetCcuClockDivider (void)
 
uint32_t XMC_SCU_CLOCK_GetCcuClockFrequency (void)
 
uint32_t XMC_SCU_CLOCK_GetCpuClockDivider (void)
 
uint32_t XMC_SCU_CLOCK_GetEbuClockDivider (void)
 
uint32_t XMC_SCU_CLOCK_GetEbuClockFrequency (void)
 
uint32_t XMC_SCU_CLOCK_GetECATClockDivider (void)
 
XMC_SCU_CLOCK_ECATCLKSRC_t XMC_SCU_CLOCK_GetECATClockSource (void)
 
uint32_t XMC_SCU_CLOCK_GetEthernetClockFrequency (void)
 
uint32_t XMC_SCU_CLOCK_GetExternalOutputClockDivider (void)
 
uint32_t XMC_SCU_CLOCK_GetExternalOutputClockFrequency (void)
 
XMC_SCU_CLOCK_EXTOUTCLKSRC_t XMC_SCU_CLOCK_GetExternalOutputClockSource (void)
 
uint32_t XMC_SCU_CLOCK_GetHighPerformanceOscillatorGeneralPurposeInputStatus (void)
 
uint32_t XMC_SCU_CLOCK_GetLowPowerOscillatorGeneralPurposeInputStatus (void)
 
uint32_t XMC_SCU_CLOCK_GetPeripheralClockDivider (void)
 
uint32_t XMC_SCU_CLOCK_GetSystemClockDivider (void)
 
uint32_t XMC_SCU_CLOCK_GetSystemClockFrequency (void)
 
XMC_SCU_CLOCK_SYSCLKSRC_t XMC_SCU_CLOCK_GetSystemClockSource (void)
 
uint32_t XMC_SCU_CLOCK_GetSystemPllClockFrequency (void)
 
XMC_SCU_CLOCK_SYSPLLCLKSRC_t XMC_SCU_CLOCK_GetSystemPllClockSource (void)
 
uint32_t XMC_SCU_CLOCK_GetSystemPllClockSourceFrequency (void)
 
uint32_t XMC_SCU_CLOCK_GetUsbClockDivider (void)
 
uint32_t XMC_SCU_CLOCK_GetUsbClockFrequency (void)
 
XMC_SCU_CLOCK_USBCLKSRC_t XMC_SCU_CLOCK_GetUsbClockSource (void)
 
uint32_t XMC_SCU_CLOCK_GetUsbPllClockFrequency (void)
 
uint32_t XMC_SCU_CLOCK_GetWdtClockDivider (void)
 
uint32_t XMC_SCU_CLOCK_GetWdtClockFrequency (void)
 
XMC_SCU_CLOCK_WDTCLKSRC_t XMC_SCU_CLOCK_GetWdtClockSource (void)
 
bool XMC_SCU_CLOCK_IsClockEnabled (const XMC_SCU_CLOCK_t clock)
 
bool XMC_SCU_CLOCK_IsHighPerformanceOscillatorStable (void)
 
bool XMC_SCU_CLOCK_IsLowPowerOscillatorStable (void)
 
bool XMC_SCU_CLOCK_IsSystemPllLocked (void)
 
bool XMC_SCU_CLOCK_IsUsbPllLocked (void)
 
void XMC_SCU_CLOCK_SetBackupClockCalibrationMode (XMC_SCU_CLOCK_FOFI_CALIBRATION_MODE_t mode)
 
void XMC_SCU_CLOCK_SetCcuClockDivider (const uint32_t ratio)
 
void XMC_SCU_CLOCK_SetCpuClockDivider (const uint32_t ratio)
 
void XMC_SCU_CLOCK_SetDeepSleepConfig (int32_t config)
 
void XMC_SCU_CLOCK_SetEbuClockDivider (const uint32_t ratio)
 
void XMC_SCU_CLOCK_SetECATClockDivider (const uint32_t divider)
 
void XMC_SCU_CLOCK_SetECATClockSource (const XMC_SCU_CLOCK_ECATCLKSRC_t source)
 
void XMC_SCU_CLOCK_SetExternalOutputClockDivider (const uint32_t ratio)
 
void XMC_SCU_CLOCK_SetExternalOutputClockSource (const XMC_SCU_CLOCK_EXTOUTCLKSRC_t clock)
 
void XMC_SCU_CLOCK_SetPeripheralClockDivider (const uint32_t ratio)
 
void XMC_SCU_CLOCK_SetSleepConfig (int32_t config)
 
void XMC_SCU_CLOCK_SetSystemClockDivider (const uint32_t divider)
 
void XMC_SCU_CLOCK_SetSystemClockSource (const XMC_SCU_CLOCK_SYSCLKSRC_t source)
 
void XMC_SCU_CLOCK_SetSystemPllClockSource (const XMC_SCU_CLOCK_SYSPLLCLKSRC_t source)
 
void XMC_SCU_CLOCK_SetUsbClockDivider (const uint32_t ratio)
 
void XMC_SCU_CLOCK_SetUsbClockSource (const XMC_SCU_CLOCK_USBCLKSRC_t source)
 
void XMC_SCU_CLOCK_SetWdtClockDivider (const uint32_t ratio)
 
void XMC_SCU_CLOCK_SetWdtClockSource (const XMC_SCU_CLOCK_WDTCLKSRC_t source)
 
void XMC_SCU_CLOCK_StartSystemPll (XMC_SCU_CLOCK_SYSPLLCLKSRC_t source, XMC_SCU_CLOCK_SYSPLL_MODE_t mode, uint32_t pdiv, uint32_t ndiv, uint32_t kdiv)
 
void XMC_SCU_CLOCK_StartUsbPll (uint32_t pdiv, uint32_t ndiv)
 
void XMC_SCU_CLOCK_StepSystemPllFrequency (uint32_t kdiv)
 
void XMC_SCU_CLOCK_StopSystemPll (void)
 
void XMC_SCU_CLOCK_StopUsbPll (void)
 
void XMC_SCU_DisableOutOfRangeComparator (const uint32_t group, const uint32_t channel)
 
void XMC_SCU_DisableTemperatureSensor (void)
 
void XMC_SCU_EnableOutOfRangeComparator (const uint32_t group, const uint32_t channel)
 
void XMC_SCU_EnableTemperatureSensor (void)
 
uint32_t XMC_SCU_GetBootMode (void)
 
uint32_t XMC_SCU_GetTemperatureMeasurement (void)
 
void XMC_SCU_HIB_ClearEventStatus (int32_t event)
 
void XMC_SCU_HIB_ClearWakeupEventDetectionStatus (void)
 
void XMC_SCU_HIB_DisableEvent (int32_t event)
 
void XMC_SCU_HIB_DisableHibernateDomain (void)
 
void XMC_SCU_HIB_DisableInternalSlowClock (void)
 
void XMC_SCU_HIB_EnableEvent (int32_t event)
 
void XMC_SCU_HIB_EnableHibernateDomain (void)
 
void XMC_SCU_HIB_EnableInternalSlowClock (void)
 
void XMC_SCU_HIB_EnterHibernateState (void)
 
void XMC_SCU_HIB_EnterHibernateStateEx (XMC_SCU_HIB_HIBERNATE_MODE_t mode)
 
int32_t XMC_SCU_HIB_GetEventStatus (void)
 
int32_t XMC_SCU_HIB_GetHibernateControlStatus (void)
 
XMC_SCU_HIB_RTCCLKSRC_t XMC_SCU_HIB_GetRtcClockSource (void)
 
XMC_SCU_HIB_RTCCLKSRC_t XMC_SCU_HIB_GetStdbyClockSource (void)
 
bool XMC_SCU_HIB_IsHibernateDomainEnabled (void)
 
bool XMC_SCU_HIB_IsWakeupEventDetected (void)
 
void XMC_SCU_HIB_LPAC_ClearStatus (int32_t status)
 
int32_t XMC_SCU_HIB_LPAC_GetStatus (void)
 
void XMC_SCU_HIB_LPAC_SetHIBIO0Thresholds (uint8_t lower, uint8_t upper)
 
void XMC_SCU_HIB_LPAC_SetHIBIO1Thresholds (uint8_t lower, uint8_t upper)
 
void XMC_SCU_HIB_LPAC_SetInput (XMC_SCU_HIB_LPAC_INPUT_t input)
 
void XMC_SCU_HIB_LPAC_SetTiming (bool enable_delay, uint16_t interval_count, uint8_t settle_count)
 
void XMC_SCU_HIB_LPAC_SetTrigger (XMC_SCU_HIB_LPAC_TRIGGER_t trigger)
 
void XMC_SCU_HIB_LPAC_SetVBATThresholds (uint8_t lower, uint8_t upper)
 
void XMC_SCU_HIB_LPAC_TriggerCompare (XMC_SCU_HIB_LPAC_INPUT_t input)
 
void XMC_SCU_HIB_SetInput0 (XMC_SCU_HIB_IO_t pin)
 
void XMC_SCU_HIB_SetPinMode (XMC_SCU_HIB_IO_t pin, XMC_SCU_HIB_PIN_MODE_t mode)
 
void XMC_SCU_HIB_SetPinOutputLevel (XMC_SCU_HIB_IO_t pin, XMC_SCU_HIB_IO_OUTPUT_LEVEL_t level)
 
void XMC_SCU_HIB_SetRtcClockSource (const XMC_SCU_HIB_RTCCLKSRC_t source)
 
void XMC_SCU_HIB_SetSR0Input (XMC_SCU_HIB_SR0_INPUT_t input)
 
void XMC_SCU_HIB_SetStandbyClockSource (const XMC_SCU_HIB_STDBYCLKSRC_t source)
 
void XMC_SCU_HIB_SetWakeupTriggerInput (XMC_SCU_HIB_IO_t pin)
 
void XMC_SCU_HIB_TriggerEvent (int32_t event)
 
bool XMC_SCU_HighTemperature (void)
 
void XMC_SCU_INTERRUPT_DisableNmiRequest (const uint32_t request)
 
void XMC_SCU_INTERRUPT_EnableNmiRequest (const uint32_t request)
 
bool XMC_SCU_IsTemperatureSensorBusy (void)
 
bool XMC_SCU_IsTemperatureSensorEnabled (void)
 
bool XMC_SCU_IsTemperatureSensorReady (void)
 
bool XMC_SCU_LowTemperature (void)
 
void XMC_SCU_PARITY_ClearStatus (const uint32_t memory)
 
void XMC_SCU_PARITY_Disable (const uint32_t memory)
 
void XMC_SCU_PARITY_DisableTrapGeneration (const uint32_t memory)
 
void XMC_SCU_PARITY_Enable (const uint32_t memory)
 
void XMC_SCU_PARITY_EnableTrapGeneration (const uint32_t memory)
 
uint32_t XMC_SCU_PARITY_GetStatus (void)
 
void XMC_SCU_POWER_DisableMonitor (void)
 
void XMC_SCU_POWER_DisableUsb (void)
 
void XMC_SCU_POWER_EnableMonitor (uint8_t threshold, uint8_t interval)
 
void XMC_SCU_POWER_EnableUsb (void)
 
float XMC_SCU_POWER_GetEVR13Voltage (void)
 
float XMC_SCU_POWER_GetEVR33Voltage (void)
 
int32_t XMC_SCU_POWER_GetEVRStatus (void)
 
void XMC_SCU_POWER_WaitForEvent (XMC_SCU_POWER_MODE_t mode)
 
void XMC_SCU_POWER_WaitForInterrupt (XMC_SCU_POWER_MODE_t mode, bool sleep_on_exit)
 
uint32_t XMC_SCU_ReadFromRetentionMemory (uint32_t address)
 
uint32_t XMC_SCU_ReadGPR (const uint32_t index)
 
void XMC_SCU_RESET_AssertPeripheralReset (const XMC_SCU_PERIPHERAL_RESET_t peripheral)
 
void XMC_SCU_RESET_DeassertPeripheralReset (const XMC_SCU_PERIPHERAL_RESET_t peripheral)
 
bool XMC_SCU_RESET_IsPeripheralResetAsserted (const XMC_SCU_PERIPHERAL_RESET_t peripheral)
 
void XMC_SCU_SetBootMode (const XMC_SCU_BOOTMODE_t mode)
 
void XMC_SCU_SetRawTempLimits (const uint32_t lower_temp, const uint32_t upper_temp)
 
XMC_SCU_STATUS_t XMC_SCU_StartTemperatureMeasurement (void)
 
void XMC_SCU_TRAP_ClearStatus (const uint32_t trap)
 
void XMC_SCU_TRAP_Disable (const uint32_t trap)
 
void XMC_SCU_TRAP_Enable (const uint32_t trap)
 
uint32_t XMC_SCU_TRAP_GetStatus (void)
 
void XMC_SCU_TRAP_Trigger (const uint32_t trap)
 
void XMC_SCU_WriteGPR (const uint32_t index, const uint32_t data)
 
void XMC_SCU_WriteToRetentionMemory (uint32_t address, uint32_t data)
 

Detailed Description

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