| S14 | Send block ("byte count" number of bytes, see S12)
Event from I2C driver indicating successfull transmition of byte causes transition back to S14 or forward to S15 until the "byte count" (already sent) reaches zero. Each time a transition to S14 is performed, the next byte in the output block is sent and the "byte count" is decremented. The state transition function used is "STF_S_wt_data". When the "byte count" reaches zero the "STF_S_rd_data" state transition function generates an "event_transfer_complete" event that causes a transition to S15. The state transition function used when going from S14 to S15 is STF_S_TRANSFER_COMPLETE. Event from I2C driver indicating failure in receipt causes transition to S15. The state transition function used is "STF_S_wait_for_stop" Event from I2C driver indicating unexpected stop condition seen causes transition to S1. The state transition function used is "STF_S_ready" |