| S7 | Receive block ("byte count" number of bytes, see S5)
Event from I2C driver indicating successfull receipt of byte causes transition back to S7 or forward to S8 until the "byte count" (already sent) reaches zero. Each time a transition to S7 is performed, the byte received from the I2C driver is appended to the input block and the "byte count" is decremented.The state transition function used is "STF_M_wt_data". When the "byte count" reaches zero the "STF_M_wt_data" state transition function generates an "event_transfer_complete" event that causes a transition to S8. The state transition function used when going from S7 to S8 is "STF_M_transfer_complete". Event from I2C driver indicating failure in transmition causes transition to S8. State transition function used is "STF_M_abort_transfer" |