CryptoAuthLib
Microchip CryptoAuthentication Library
hal_samb11_i2c_asf.h
Go to the documentation of this file.
1 
30 #ifndef HAL_SAMB11_I2C_ASF_H_
31 #define HAL_SAMB11_I2C_ASF_H_
32 
33 #include <asf.h>
34 
43 #define MAX_I2C_BUSES 2 // SAMB11 has up to 2 I2C address that can be configured as I2C
44 
47 typedef struct atcaI2Cmaster
48 {
49  I2C* i2c_sercom;
50  struct i2c_master_module i2c_master_instance;
51  int ref_ct;
52  // for conveniences during interface release phase
53  int bus_index;
55 
57 #endif /* HAL_SAMB11_I2C_ASF_H_ */
I2C * i2c_sercom
Definition: hal_samb11_i2c_asf.h:49
int ref_ct
Definition: hal_at90usb1287_i2c_asf.h:52
volatile void * i2c_master_instance
Definition: hal_at90usb1287_i2c_asf.h:51
int bus_index
for conveniences during interface release phase
Definition: hal_at90usb1287_i2c_asf.h:53
this is the hal_data for ATCA HAL created using ASF
Definition: hal_at90usb1287_i2c_asf.h:49
struct atcaI2Cmaster ATCAI2CMaster_t
this is the hal_data for ATCA HAL for ASF