From 8f7c312ad1fe132c5279a0f5d0101834acf5857d Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sat, 16 Mar 2013 18:58:29 +0100 Subject: digital/{ai,asserv,beacon,io,mimot}: change the seq position in i2c status --- digital/ai/src/twi_master/twi_master.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'digital/ai/src/twi_master/twi_master.h') diff --git a/digital/ai/src/twi_master/twi_master.h b/digital/ai/src/twi_master/twi_master.h index f2f8dff7..7bf17ebe 100644 --- a/digital/ai/src/twi_master/twi_master.h +++ b/digital/ai/src/twi_master/twi_master.h @@ -32,13 +32,13 @@ * - a message sent to the slave with a command to execute, * - a status read from the slave containing the current slave state. * - * The first byte of all messages is a CRC of the following bytes, called the - * message payload. + * The first byte of all messages is a CRC of the following bytes. * - * The first byte of payload sent to slave is the command sequence number. It - * is used by the master to know if its command has been handled. The last - * handled command sequence number is available in the slave status (third - * byte). + * The next byte is the command sequence number. It is used by the master to + * know if its command has been handled. The last handled command sequence + * number is available in the slave status. + * + * All other bytes are the message payload. * * As long as the slave last command sequence number is not equal to the last * sent sequence number, the master can not send any other command. If the -- cgit v1.2.3