Home
last modified time | relevance | path

Searched refs:water (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/uart/
Dfsl_uart.h932 static inline void UART_SetRxFifoWatermark(UART_Type *base, uint8_t water) in UART_SetRxFifoWatermark() argument
934 assert((uint8_t)FSL_FEATURE_UART_FIFO_SIZEn(base) >= water); in UART_SetRxFifoWatermark()
935 base->RWFIFO = water; in UART_SetRxFifoWatermark()
944 static inline void UART_SetTxFifoWatermark(UART_Type *base, uint8_t water) in UART_SetTxFifoWatermark() argument
946 assert((uint8_t)FSL_FEATURE_UART_FIFO_SIZEn(base) >= water); in UART_SetTxFifoWatermark()
947 base->TWFIFO = water; in UART_SetTxFifoWatermark()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexcomm/usart/
Dfsl_usart.h676 static inline void USART_SetRxFifoWatermark(USART_Type *base, uint8_t water) in USART_SetRxFifoWatermark() argument
678 assert(water <= (USART_FIFOTRIG_RXLVL_MASK >> USART_FIFOTRIG_RXLVL_SHIFT)); in USART_SetRxFifoWatermark()
679 base->FIFOTRIG = (base->FIFOTRIG & ~USART_FIFOTRIG_RXLVL_MASK) | USART_FIFOTRIG_RXLVL(water); in USART_SetRxFifoWatermark()
688 static inline void USART_SetTxFifoWatermark(USART_Type *base, uint8_t water) in USART_SetTxFifoWatermark() argument
690 assert(water <= (USART_FIFOTRIG_TXLVL_MASK >> USART_FIFOTRIG_TXLVL_SHIFT)); in USART_SetTxFifoWatermark()
691 base->FIFOTRIG = (base->FIFOTRIG & ~USART_FIFOTRIG_TXLVL_MASK) | USART_FIFOTRIG_TXLVL(water); in USART_SetTxFifoWatermark()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpuart/
Dfsl_lpuart.h516 static inline void LPUART_SetRxFifoWatermark(LPUART_Type *base, uint8_t water) in LPUART_SetRxFifoWatermark() argument
518 assert((uint8_t)FSL_FEATURE_LPUART_FIFO_SIZEn(base) > water); in LPUART_SetRxFifoWatermark()
519 base->WATER = (base->WATER & ~LPUART_WATER_RXWATER_MASK) | LPUART_WATER_RXWATER(water); in LPUART_SetRxFifoWatermark()
528 static inline void LPUART_SetTxFifoWatermark(LPUART_Type *base, uint8_t water) in LPUART_SetTxFifoWatermark() argument
530 assert((uint8_t)FSL_FEATURE_LPUART_FIFO_SIZEn(base) > water); in LPUART_SetTxFifoWatermark()
531 base->WATER = (base->WATER & ~LPUART_WATER_TXWATER_MASK) | LPUART_WATER_TXWATER(water); in LPUART_SetTxFifoWatermark()