-
Notifications
You must be signed in to change notification settings - Fork 0
I2C Enumerations
Ryan Summers edited this page Sep 7, 2015
·
4 revisions
This page contains information about the enumerations used within I2C functions. Please select the enumeration from the list below to be redirected to the appropriate documentation.
Definition
typedef enum
{
READ,
WRITE
} I2C_MODE;
This is used for specifying whether the microcontroller should read or write to a device. It is used when filling out an I2C_Node.
Definition
typedef enum
{
I2C_CH_1,
I2C_CH_2
} I2C_Channel;
This is used for specifying which of the hardware I2C channels should be used.
This enumeration is used internally by the library for the state machine that the ISR uses. Users should not interact with this. For more info, see the technical documentation.
insert link to technical documentation
SUBLIBinal was created by the Palouse Robosub Club.