T_R_S
bd_status = (bd_status & T_W_S) | T_R_S | T_I_S | T_L_S | T_TC_S;
while ((bd_status & T_R_S) == 0) {