Searched refs:water (Results 1 – 4 of 4) sorted by relevance
932 static inline void UART_SetRxFifoWatermark(UART_Type *base, uint8_t water) in UART_SetRxFifoWatermark() argument934 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() argument946 assert((uint8_t)FSL_FEATURE_UART_FIFO_SIZEn(base) >= water); in UART_SetTxFifoWatermark()947 base->TWFIFO = water; in UART_SetTxFifoWatermark()
676 static inline void USART_SetRxFifoWatermark(USART_Type *base, uint8_t water) in USART_SetRxFifoWatermark() argument678 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() argument690 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()
516 static inline void LPUART_SetRxFifoWatermark(LPUART_Type *base, uint8_t water) in LPUART_SetRxFifoWatermark() argument518 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() argument530 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()
596 static inline void LPUART_SetRxFifoWatermark(LPUART_Type *base, uint8_t water) in LPUART_SetRxFifoWatermark() argument598 assert((uint8_t)FSL_FEATURE_LPUART_FIFO_SIZEn(base) > water); in LPUART_SetRxFifoWatermark()599 base->WATER = (base->WATER & ~LPUART_WATER_RXWATER_MASK) | LPUART_WATER_RXWATER(water); in LPUART_SetRxFifoWatermark()608 static inline void LPUART_SetTxFifoWatermark(LPUART_Type *base, uint8_t water) in LPUART_SetTxFifoWatermark() argument610 assert((uint8_t)FSL_FEATURE_LPUART_FIFO_SIZEn(base) > water); in LPUART_SetTxFifoWatermark()611 base->WATER = (base->WATER & ~LPUART_WATER_TXWATER_MASK) | LPUART_WATER_TXWATER(water); in LPUART_SetTxFifoWatermark()