CryptoAuthLib
Microchip CryptoAuthentication Library
hal_linux_i2c_userspace.h
Go to the documentation of this file.
1 
28 #ifndef HAL_LINUX_I2C_USERSPACE_H_
29 #define HAL_LINUX_I2C_USERSPACE_H_
30 
38 #define MAX_I2C_BUSES 2 // Raspberry Pi has 2 TWI
39 
40 // A structure to hold I2C information
41 typedef struct atcaI2Cmaster
42 {
43  char i2c_file[16];
44  int ref_ct;
45  // for conveniences during interface release phase
46  int bus_index;
48 
51 #endif /* HAL_LINUX_I2C_H_ */
int ref_ct
Definition: hal_at90usb1287_i2c_asf.h:52
int bus_index
for conveniences during interface release phase
Definition: hal_at90usb1287_i2c_asf.h:53
char i2c_file[16]
Definition: hal_linux_i2c_userspace.h:43
this is the hal_data for ATCA HAL created using ASF
Definition: hal_at90usb1287_i2c_asf.h:49
struct atcaI2Cmaster ATCAI2CMaster_t