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

XMC Peripheral Library for XMC4000 Family

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

Data Structures

struct  XMC_USIC_CH_t
 

Macros

#define USIC_CH_DXCR_CM_Msk   USIC_CH_DX0CR_CM_Msk
 
#define USIC_CH_DXCR_CM_Pos   USIC_CH_DX0CR_CM_Pos
 
#define USIC_CH_DXCR_DFEN_Msk   USIC_CH_DX0CR_DFEN_Msk
 
#define USIC_CH_DXCR_DPOL_Msk   USIC_CH_DX0CR_DPOL_Msk
 
#define USIC_CH_DXCR_DSEL_Msk   USIC_CH_DX0CR_DSEL_Msk
 
#define USIC_CH_DXCR_DSEL_Pos   USIC_CH_DX0CR_DSEL_Pos
 
#define USIC_CH_DXCR_DSEN_Msk   USIC_CH_DX0CR_DSEN_Msk
 
#define USIC_CH_DXCR_INSW_Msk   USIC_CH_DX0CR_INSW_Msk
 
#define USIC_CH_DXCR_INSW_pos   USIC_CH_DX0CR_INSW_Pos
 
#define USIC_CH_DXCR_SFSEL_Msk   USIC_CH_DX0CR_SFSEL_Msk
 
#define USIC_CH_DXCR_SFSEL_Pos   USIC_CH_DX0CR_SFSEL_Pos
 
#define XMC_USIC0   ((XMC_USIC_t *)USIC0_BASE)
 
#define XMC_USIC0_CH0   ((XMC_USIC_CH_t *)USIC0_CH0_BASE)
 
#define XMC_USIC0_CH1   ((XMC_USIC_CH_t *)USIC0_CH1_BASE)
 
#define XMC_USIC1   ((XMC_USIC_t *)USIC1_BASE)
 
#define XMC_USIC1_CH0   ((XMC_USIC_CH_t *)USIC1_CH0_BASE)
 
#define XMC_USIC1_CH1   ((XMC_USIC_CH_t *)USIC1_CH1_BASE)
 
#define XMC_USIC2   ((XMC_USIC_t *)USIC2_BASE)
 
#define XMC_USIC2_CH0   ((XMC_USIC_CH_t *)USIC2_CH0_BASE)
 
#define XMC_USIC2_CH1   ((XMC_USIC_CH_t *)USIC2_CH1_BASE)
 

Typedefs

typedef USIC_GLOBAL_TypeDef XMC_USIC_t
 

Enumerations

Functions

void XMC_USIC_CH_ConfigExternalInputSignalToBRG (XMC_USIC_CH_t *const channel, const uint16_t pdiv, const uint32_t oversampling, const XMC_USIC_CH_INPUT_COMBINATION_MODE_t combination_mode)
 
void XMC_USIC_CH_ConfigureShiftClockOutput (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_BRG_SHIFT_CLOCK_PASSIVE_LEVEL_t passive_level, const XMC_USIC_CH_BRG_SHIFT_CLOCK_OUTPUT_t clock_output)
 
void XMC_USIC_CH_ConnectInputDataShiftToDataInput (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
 
void XMC_USIC_CH_ConnectInputDataShiftToPPP (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
 
void XMC_USIC_CH_Disable (XMC_USIC_CH_t *const channel)
 
void XMC_USIC_CH_DisableDelayCompensation (XMC_USIC_CH_t *const channel)
 
void XMC_USIC_CH_DisableEvent (XMC_USIC_CH_t *const channel, const uint32_t event)
 
void XMC_USIC_CH_DisableFrameLengthControl (XMC_USIC_CH_t *const channel)
 
void XMC_USIC_CH_DisableInputDigitalFilter (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
 
void XMC_USIC_CH_DisableInputInversion (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
 
void XMC_USIC_CH_DisableInputSync (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
 
void XMC_USIC_CH_DisableTBUFDataValidTrigger (XMC_USIC_CH_t *const channel)
 
void XMC_USIC_CH_DisableTimeMeasurement (XMC_USIC_CH_t *const channel)
 
void XMC_USIC_CH_Enable (XMC_USIC_CH_t *const channel)
 
void XMC_USIC_CH_EnableDelayCompensation (XMC_USIC_CH_t *const channel)
 
void XMC_USIC_CH_EnableEvent (XMC_USIC_CH_t *const channel, const uint32_t event)
 
void XMC_USIC_CH_EnableFrameLengthControl (XMC_USIC_CH_t *const channel)
 
void XMC_USIC_CH_EnableInputDigitalFilter (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
 
void XMC_USIC_CH_EnableInputInversion (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
 
void XMC_USIC_CH_EnableInputSync (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
 
void XMC_USIC_CH_EnableTBUFDataValidTrigger (XMC_USIC_CH_t *const channel)
 
void XMC_USIC_CH_EnableTimeMeasurement (XMC_USIC_CH_t *const channel)
 
uint32_t XMC_USIC_CH_GetCaptureTimerValue (const XMC_USIC_CH_t *const channel)
 
uint32_t XMC_USIC_CH_GetReceiveBufferStatus (XMC_USIC_CH_t *const channel)
 
XMC_USIC_CH_TBUF_STATUS_t XMC_USIC_CH_GetTransmitBufferStatus (XMC_USIC_CH_t *const channel)
 
void XMC_USIC_CH_RXFIFO_ClearEvent (XMC_USIC_CH_t *const channel, const uint32_t event)
 
void XMC_USIC_CH_RXFIFO_Configure (XMC_USIC_CH_t *const channel, const uint32_t data_pointer, const XMC_USIC_CH_FIFO_SIZE_t size, const uint32_t limit)
 
void XMC_USIC_CH_RXFIFO_DisableEvent (XMC_USIC_CH_t *const channel, const uint32_t event)
 
void XMC_USIC_CH_RXFIFO_EnableEvent (XMC_USIC_CH_t *const channel, const uint32_t event)
 
void XMC_USIC_CH_RXFIFO_Flush (XMC_USIC_CH_t *const channel)
 
uint16_t XMC_USIC_CH_RXFIFO_GetData (XMC_USIC_CH_t *const channel)
 
uint32_t XMC_USIC_CH_RXFIFO_GetEvent (XMC_USIC_CH_t *const channel)
 
uint32_t XMC_USIC_CH_RXFIFO_GetLevel (XMC_USIC_CH_t *const channel)
 
bool XMC_USIC_CH_RXFIFO_IsEmpty (XMC_USIC_CH_t *const channel)
 
bool XMC_USIC_CH_RXFIFO_IsFull (XMC_USIC_CH_t *const channel)
 
void XMC_USIC_CH_RXFIFO_SetInterruptNodePointer (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_RXFIFO_INTERRUPT_NODE_POINTER_t interrupt_node, const uint32_t service_request)
 
void XMC_USIC_CH_RXFIFO_SetSizeTriggerLimit (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_FIFO_SIZE_t size, const uint32_t limit)
 
XMC_USIC_CH_STATUS_t XMC_USIC_CH_SetBaudrate (XMC_USIC_CH_t *const channel, uint32_t rate, uint32_t oversampling)
 
void XMC_USIC_CH_SetBRGInputClockSource (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_BRG_CLOCK_SOURCE_t clock_source)
 
void XMC_USIC_CH_SetDataOutputMode (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_DATA_OUTPUT_MODE_t data_output_mode)
 
void XMC_USIC_CH_SetFractionalDivider (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_BRG_CLOCK_DIVIDER_MODE_t mode, const uint16_t step)
 
void XMC_USIC_CH_SetFrameLength (XMC_USIC_CH_t *const channel, const uint8_t frame_length)
 
void XMC_USIC_CH_SetInputSamplingFreq (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input, const XMC_USIC_CH_INPUT_SAMPLING_FREQ_t sampling_freq)
 
void XMC_USIC_CH_SetInputSource (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input, const uint8_t source)
 
void XMC_USIC_CH_SetInputTriggerCombinationMode (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input, const XMC_USIC_CH_INPUT_COMBINATION_MODE_t combination_mode)
 
void XMC_USIC_CH_SetInterruptNodePointer (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INTERRUPT_NODE_POINTER_t interrupt_node, const uint32_t service_request)
 
void XMC_USIC_CH_SetMclkOutputPassiveLevel (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_BRG_MASTER_CLOCK_PASSIVE_LEVEL_t passive_level)
 
void XMC_USIC_CH_SetMode (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_OPERATING_MODE_t mode)
 
void XMC_USIC_CH_SetPassiveDataLevel (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_PASSIVE_DATA_LEVEL_t passive_level)
 
void XMC_USIC_CH_SetShiftDirection (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_SHIFT_DIRECTION_t shift_direction)
 
void XMC_USIC_CH_SetStartTransmisionMode (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_START_TRANSMISION_MODE_t start_transmision_mode)
 
void XMC_USIC_CH_SetTransmitBufferStatus (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_TBUF_STATUS_SET_t transmit_buffer_status)
 
void XMC_USIC_CH_SetWordLength (XMC_USIC_CH_t *const channel, const uint8_t word_length)
 
void XMC_USIC_CH_TriggerServiceRequest (XMC_USIC_CH_t *const channel, const uint32_t service_request_line)
 
void XMC_USIC_CH_TXFIFO_ClearEvent (XMC_USIC_CH_t *const channel, const uint32_t event)
 
void XMC_USIC_CH_TXFIFO_Configure (XMC_USIC_CH_t *const channel, const uint32_t data_pointer, const XMC_USIC_CH_FIFO_SIZE_t size, const uint32_t limit)
 
void XMC_USIC_CH_TXFIFO_DisableEvent (XMC_USIC_CH_t *const channel, const uint32_t event)
 
void XMC_USIC_CH_TXFIFO_EnableEvent (XMC_USIC_CH_t *const channel, const uint32_t event)
 
void XMC_USIC_CH_TXFIFO_Flush (XMC_USIC_CH_t *const channel)
 
uint32_t XMC_USIC_CH_TXFIFO_GetEvent (XMC_USIC_CH_t *const channel)
 
uint32_t XMC_USIC_CH_TXFIFO_GetLevel (XMC_USIC_CH_t *const channel)
 
bool XMC_USIC_CH_TXFIFO_IsEmpty (XMC_USIC_CH_t *const channel)
 
bool XMC_USIC_CH_TXFIFO_IsFull (XMC_USIC_CH_t *const channel)
 
void XMC_USIC_CH_TXFIFO_PutData (XMC_USIC_CH_t *const channel, const uint16_t data)
 
void XMC_USIC_CH_TXFIFO_PutDataFLEMode (XMC_USIC_CH_t *const channel, const uint16_t data, const uint32_t frame_length)
 
void XMC_USIC_CH_TXFIFO_PutDataHPCMode (XMC_USIC_CH_t *const channel, const uint16_t data, const uint32_t frame_length)
 
void XMC_USIC_CH_TXFIFO_SetInterruptNodePointer (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_TXFIFO_INTERRUPT_NODE_POINTER_t interrupt_node, const uint32_t service_request)
 
void XMC_USIC_CH_TXFIFO_SetSizeTriggerLimit (XMC_USIC_CH_t *const channel, const XMC_USIC_CH_FIFO_SIZE_t size, const uint32_t limit)
 
void XMC_USIC_CH_WriteToTBUF (XMC_USIC_CH_t *const channel, const uint16_t data)
 
void XMC_USIC_CH_WriteToTBUFTCI (XMC_USIC_CH_t *const channel, const uint16_t data, const uint32_t transmit_control_information)
 
void XMC_USIC_Disable (XMC_USIC_t *const usic)
 
void XMC_USIC_Enable (XMC_USIC_t *const usic)
 

Detailed Description

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