/* Clear transfer and IBI related bits in MSTATUS. 
This spins forever for those bits to be cleared; */
static void mcux_i3c_status_clear_all(I3C_Type *base)
/* Clear transfer and IBI related bits in MSTATUS. 
This spins forever for those bits to be cleared; */
static void mcux_i3c_status_clear_all(I3C_Type *base)
{
	uint32_t mask = I3C_MSTATUS_SLVSTART_MASK |
			I3C_MSTATUS_MCTRLDONE_MASK |
			I3C_MSTATUS_COMPLETE_MASK |
			I3C_MSTATUS_IBIWON_MASK |
			I3C_MSTATUS_ERRWARN_MASK;
	mcux_i3c_status_clear(base, mask);
}