Home
last modified time | relevance | path

Searched defs:uart (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Duart.h161 #define UART_WRITE(uart, u8Data) ((uart)->DAT = (u8Data)) argument
173 #define UART_READ(uart) ((uart)->DAT) argument
186 #define UART_GET_TX_EMPTY(uart) ((uart)->FIFOSTS & UART_FIFOSTS_TXEMPTY_Msk) argument
199 #define UART_GET_RX_EMPTY(uart) ((uart)->FIFOSTS & UART_FIFOSTS_RXEMPTY_Msk) argument
213 #define UART_IS_TX_EMPTY(uart) (((uart)->FIFOSTS & UART_FIFOSTS_TXEMPTYF_Msk) >> UART_FIFOSTS_TX… argument
225 #define UART_WAIT_TX_EMPTY(uart) while(!((((uart)->FIFOSTS) & UART_FIFOSTS_TXEMPTYF_Msk) >> UART… argument
238 #define UART_IS_RX_READY(uart) (((uart)->INTSTS & UART_INTSTS_RDAIF_Msk)>>UART_INTSTS_RDAIF_Pos) argument
251 #define UART_IS_TX_FULL(uart) (((uart)->FIFOSTS & UART_FIFOSTS_TXFULL_Msk)>>UART_FIFOSTS_TXFULL_… argument
264 #define UART_IS_RX_FULL(uart) (((uart)->FIFOSTS & UART_FIFOSTS_RXFULL_Msk)>>UART_FIFOSTS_RXFULL_… argument
277 #define UART_GET_TX_FULL(uart) ((uart)->FIFOSTS & UART_FIFOSTS_TXFULL_Msk) argument
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Duart.c42 void UART_ClearIntFlag(UART_T* uart, uint32_t u32InterruptFlag) in UART_ClearIntFlag()
91 void UART_Close(UART_T* uart) in UART_Close()
106 void UART_DisableFlowCtrl(UART_T* uart) in UART_DisableFlowCtrl()
133 void UART_DisableInt(UART_T* uart, uint32_t u32InterruptFlag) in UART_DisableInt()
158 void UART_EnableFlowCtrl(UART_T* uart) in UART_EnableFlowCtrl()
191 void UART_EnableInt(UART_T* uart, uint32_t u32InterruptFlag) in UART_EnableInt()
209 void UART_Open(UART_T* uart, uint32_t u32baudrate) in UART_Open()
307 uint32_t UART_Read(UART_T* uart, uint8_t pu8RxBuf[], uint32_t u32ReadBytes) in UART_Read()
369 void UART_SetLineConfig(UART_T* uart, uint32_t u32baudrate, uint32_t u32data_width, uint32_t u32par… in UART_SetLineConfig()
460 void UART_SetTimeoutCnt(UART_T* uart, uint32_t u32TOC) in UART_SetTimeoutCnt()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Duart.h160 #define UART_WRITE(uart, u8Data) ((uart)->DAT = (u8Data)) argument
172 #define UART_READ(uart) ((uart)->DAT) argument
185 #define UART_GET_TX_EMPTY(uart) ((uart)->FIFOSTS & UART_FIFOSTS_TXEMPTY_Msk) argument
198 #define UART_GET_RX_EMPTY(uart) ((uart)->FIFOSTS & UART_FIFOSTS_RXEMPTY_Msk) argument
212 #define UART_IS_TX_EMPTY(uart) (((uart)->FIFOSTS & UART_FIFOSTS_TXEMPTYF_Msk) >> UART_FIFOSTS_TX… argument
224 #define UART_WAIT_TX_EMPTY(uart) while(!((((uart)->FIFOSTS) & UART_FIFOSTS_TXEMPTYF_Msk) >> UART… argument
237 #define UART_IS_RX_READY(uart) (((uart)->INTSTS & UART_INTSTS_RDAIF_Msk)>>UART_INTSTS_RDAIF_Pos) argument
250 #define UART_IS_TX_FULL(uart) (((uart)->FIFOSTS & UART_FIFOSTS_TXFULL_Msk)>>UART_FIFOSTS_TXFULL_… argument
263 #define UART_IS_RX_FULL(uart) (((uart)->FIFOSTS & UART_FIFOSTS_RXFULL_Msk)>>UART_FIFOSTS_RXFULL_… argument
276 #define UART_GET_TX_FULL(uart) ((uart)->FIFOSTS & UART_FIFOSTS_TXFULL_Msk) argument
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Duart.c40 void UART_ClearIntFlag(UART_T* uart, uint32_t u32InterruptFlag) in UART_ClearIntFlag()
85 void UART_Close(UART_T* uart) in UART_Close()
100 void UART_DisableFlowCtrl(UART_T* uart) in UART_DisableFlowCtrl()
126 void UART_DisableInt(UART_T* uart, uint32_t u32InterruptFlag) in UART_DisableInt()
182 void UART_EnableFlowCtrl(UART_T* uart) in UART_EnableFlowCtrl()
215 void UART_EnableInt(UART_T* uart, uint32_t u32InterruptFlag) in UART_EnableInt()
265 void UART_Open(UART_T* uart, uint32_t u32baudrate) in UART_Open()
351 uint32_t UART_Read(UART_T* uart, uint8_t pu8RxBuf[], uint32_t u32ReadBytes) in UART_Read()
413 void UART_SetLineConfig(UART_T* uart, uint32_t u32baudrate, uint32_t u32data_width, uint32_t u32par… in UART_SetLineConfig()
492 void UART_SetTimeoutCnt(UART_T* uart, uint32_t u32TOC) in UART_SetTimeoutCnt()
[all …]