1.2.21.80 1.3.25.80 1.4.21.80 1.5.25.80 1.6.22.80 1.7.23.80 1.9.19.80 1.29.23.80 1.30.18.80 1.31.18.80 1.32.26.80 1.33.16.80 1.37.18.80 1.38.21.80 1.39.18.80 1.40.20.80 SERCOM_I2C_SLAVE_COMMAND Enum
C
/* I2C slave mode */
typedef enum
{
/* Send ACK succeeded by reception of next byte */
SERCOM_I2C_SLAVE_COMMAND_SEND_ACK = 0,
/* Send NAK succeeded by reception of next byte */
SERCOM_I2C_SLAVE_COMMAND_SEND_NAK,
/* Execute a byte read operation followed by ACK/NACK reception */
SERCOM_I2C_SLAVE_COMMAND_RECEIVE_ACK_NAK,
/* Wait for any start (S/Sr) condition */
SERCOM_I2C_SLAVE_COMMAND_WAIT_FOR_START,
}SERCOM_I2C_SLAVE_COMMAND;
Summary
Defines the enum for the I2C slave commands
Description
Defines the enum for the I2C slave commands. The SERCOMx_I2C_CommandSet() function takes the command of this type as the argument.
Remarks
None.