Home
last modified time | relevance | path

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

/hal_nuvoton-latest/m46x/StdDriver/inc/
Duart.h168 #define UART_WRITE(uart, u8Data) ((uart)->DAT = (u8Data)) argument
181 #define UART_READ(uart) ((uart)->DAT) argument
195 #define UART_GET_TX_EMPTY(uart) ((uart)->FIFOSTS & UART_FIFOSTS_TXEMPTY_Msk) argument
209 #define UART_GET_RX_EMPTY(uart) ((uart)->FIFOSTS & UART_FIFOSTS_RXEMPTY_Msk) argument
224 #define UART_IS_TX_EMPTY(uart) (((uart)->FIFOSTS & UART_FIFOSTS_TXEMPTYF_Msk) >> UART_FIFOSTS_TX… argument
237 #define UART_WAIT_TX_EMPTY(uart) while(!((((uart)->FIFOSTS) & UART_FIFOSTS_TXEMPTYF_Msk) >> UART… argument
251 #define UART_IS_RX_READY(uart) (((uart)->INTSTS & UART_INTSTS_RDAIF_Msk)>>UART_INTSTS_RDAIF_Pos) argument
265 #define UART_IS_TX_FULL(uart) (((uart)->FIFOSTS & UART_FIFOSTS_TXFULL_Msk)>>UART_FIFOSTS_TXFULL_… argument
279 #define UART_IS_RX_FULL(uart) (((uart)->FIFOSTS & UART_FIFOSTS_RXFULL_Msk)>>UART_FIFOSTS_RXFULL_… argument
293 #define UART_GET_TX_FULL(uart) ((uart)->FIFOSTS & UART_FIFOSTS_TXFULL_Msk) argument
[all …]
/hal_nuvoton-latest/m2l31x/StdDriver/inc/
Duart.h166 #define UART_WRITE(uart, u8Data) ((uart)->DAT = (u8Data)) argument
179 #define UART_READ(uart) ((uart)->DAT) argument
193 #define UART_GET_TX_EMPTY(uart) ((uart)->FIFOSTS & UART_FIFOSTS_TXEMPTY_Msk) argument
207 #define UART_GET_RX_EMPTY(uart) ((uart)->FIFOSTS & UART_FIFOSTS_RXEMPTY_Msk) argument
222 #define UART_IS_TX_EMPTY(uart) (((uart)->FIFOSTS & UART_FIFOSTS_TXEMPTYF_Msk) >> UART_FIFOSTS_TX… argument
235 #define UART_WAIT_TX_EMPTY(uart) while(!((((uart)->FIFOSTS) & UART_FIFOSTS_TXEMPTYF_Msk) >> UART… argument
249 #define UART_IS_RX_READY(uart) (((uart)->INTSTS & UART_INTSTS_RDAIF_Msk)>>UART_INTSTS_RDAIF_Pos) argument
263 #define UART_IS_TX_FULL(uart) (((uart)->FIFOSTS & UART_FIFOSTS_TXFULL_Msk)>>UART_FIFOSTS_TXFULL_… argument
277 #define UART_IS_RX_FULL(uart) (((uart)->FIFOSTS & UART_FIFOSTS_RXFULL_Msk)>>UART_FIFOSTS_RXFULL_… argument
291 #define UART_GET_TX_FULL(uart) ((uart)->FIFOSTS & UART_FIFOSTS_TXFULL_Msk) argument
[all …]
/hal_nuvoton-latest/m48x/StdDriver/inc/
Duart.h163 #define UART_WRITE(uart, u8Data) ((uart)->DAT = (u8Data)) argument
176 #define UART_READ(uart) ((uart)->DAT) argument
190 #define UART_GET_TX_EMPTY(uart) ((uart)->FIFOSTS & UART_FIFOSTS_TXEMPTY_Msk) argument
204 #define UART_GET_RX_EMPTY(uart) ((uart)->FIFOSTS & UART_FIFOSTS_RXEMPTY_Msk) argument
219 #define UART_IS_TX_EMPTY(uart) (((uart)->FIFOSTS & UART_FIFOSTS_TXEMPTYF_Msk) >> UART_FIFOSTS_TX… argument
232 #define UART_WAIT_TX_EMPTY(uart) while(!((((uart)->FIFOSTS) & UART_FIFOSTS_TXEMPTYF_Msk) >> UART… argument
246 #define UART_IS_RX_READY(uart) (((uart)->INTSTS & UART_INTSTS_RDAIF_Msk)>>UART_INTSTS_RDAIF_Pos) argument
260 #define UART_IS_TX_FULL(uart) (((uart)->FIFOSTS & UART_FIFOSTS_TXFULL_Msk)>>UART_FIFOSTS_TXFULL_… argument
274 #define UART_IS_RX_FULL(uart) (((uart)->FIFOSTS & UART_FIFOSTS_RXFULL_Msk)>>UART_FIFOSTS_RXFULL_… argument
288 #define UART_GET_TX_FULL(uart) ((uart)->FIFOSTS & UART_FIFOSTS_TXFULL_Msk) argument
[all …]
/hal_nuvoton-latest/m46x/StdDriver/src/
Duart.c42 void UART_ClearIntFlag(UART_T* uart, uint32_t u32InterruptFlag) in UART_ClearIntFlag()
90 void UART_Close(UART_T* uart) in UART_Close()
105 void UART_DisableFlowCtrl(UART_T* uart) in UART_DisableFlowCtrl()
132 void UART_DisableInt(UART_T* uart, uint32_t u32InterruptFlag) in UART_DisableInt()
148 void UART_EnableFlowCtrl(UART_T* uart) in UART_EnableFlowCtrl()
182 void UART_EnableInt(UART_T* uart, uint32_t u32InterruptFlag) in UART_EnableInt()
199 void UART_Open(UART_T* uart, uint32_t u32baudrate) in UART_Open()
295 uint32_t UART_Read(UART_T* uart, uint8_t pu8RxBuf[], uint32_t u32ReadBytes) in UART_Read()
357 void UART_SetLineConfig(UART_T* uart, uint32_t u32baudrate, uint32_t u32data_width, uint32_t u32par… in UART_SetLineConfig()
446 void UART_SetTimeoutCnt(UART_T* uart, uint32_t u32TOC) in UART_SetTimeoutCnt()
[all …]
/hal_nuvoton-latest/m2l31x/StdDriver/src/
Duart.c42 void UART_ClearIntFlag(UART_T* uart, uint32_t u32InterruptFlag) in UART_ClearIntFlag()
96 void UART_Close(UART_T* uart) in UART_Close()
111 void UART_DisableFlowCtrl(UART_T* uart) in UART_DisableFlowCtrl()
136 void UART_DisableInt(UART_T* uart, uint32_t u32InterruptFlag) in UART_DisableInt()
152 void UART_EnableFlowCtrl(UART_T* uart) in UART_EnableFlowCtrl()
184 void UART_EnableInt(UART_T* uart, uint32_t u32InterruptFlag) in UART_EnableInt()
201 void UART_Open(UART_T* uart, uint32_t u32baudrate) in UART_Open()
308 uint32_t UART_Read(UART_T* uart, uint8_t pu8RxBuf[], uint32_t u32ReadBytes) in UART_Read()
371 void UART_SetLine_Config(UART_T* uart, uint32_t u32baudrate, uint32_t u32data_width, uint32_t u32pa… in UART_SetLine_Config()
474 void UART_SetTimeoutCnt(UART_T* uart, uint32_t u32TOC) in UART_SetTimeoutCnt()
[all …]
/hal_nuvoton-latest/m48x/StdDriver/src/
Duart.c41 void UART_ClearIntFlag(UART_T* uart, uint32_t u32InterruptFlag) in UART_ClearIntFlag()
89 void UART_Close(UART_T* uart) in UART_Close()
104 void UART_DisableFlowCtrl(UART_T* uart) in UART_DisableFlowCtrl()
128 void UART_DisableInt(UART_T* uart, uint32_t u32InterruptFlag) in UART_DisableInt()
144 void UART_EnableFlowCtrl(UART_T* uart) in UART_EnableFlowCtrl()
175 void UART_EnableInt(UART_T* uart, uint32_t u32InterruptFlag) in UART_EnableInt()
192 void UART_Open(UART_T* uart, uint32_t u32baudrate) in UART_Open()
285 uint32_t UART_Read(UART_T* uart, uint8_t pu8RxBuf[], uint32_t u32ReadBytes) in UART_Read()
348 void UART_SetLineConfig(UART_T* uart, uint32_t u32baudrate, uint32_t u32data_width, uint32_t u32par… in UART_SetLineConfig()
437 void UART_SetTimeoutCnt(UART_T* uart, uint32_t u32TOC) in UART_SetTimeoutCnt()
[all …]