/* Get the number of bytes in RX FIFO. 
This returns the number of bytes in RX FIFO which can be read. */
static int mcux_i3c_fifo_rx_count_get(I3C_Type *base)
/* Get the number of bytes in RX FIFO. 
This returns the number of bytes in RX FIFO which can be read. */
static int mcux_i3c_fifo_rx_count_get(I3C_Type *base)
{
	uint32_t mdatactrl = base->MDATACTRL;
	return (int)((mdatactrl & I3C_MDATACTRL_RXCOUNT_MASK) >> I3C_MDATACTRL_RXCOUNT_SHIFT);
}