CryptoAuthLib
Microchip CryptoAuthentication Library
hal_pic32mz2048efm_i2c.h
Go to the documentation of this file.
1 
28 #ifndef HAL_PIC32MZ2048EFM_I2C_H_
29 #define HAL_PIC32MZ2048EFM_I2C_H_
30 
31 
41 // Wherever needed to indicate that it is a Harmony driver hal implementation
42 #define HARMONY_I2C_DRIVER 1
43 
44 // Clock Constants
45 #define MAX_I2C_BUSES 3 //
46 
50 typedef struct atcaI2Cmaster
51 {
52  int id;
53  int ref_ct;
54  int bus_index;
56 
57 typedef struct
58 {
59  volatile uintptr_t i2cDriverInstance;
61  void * i2cDriverInit;
65 #endif /* HAL_PIC32MX695F512H_I2C_ASF_H_ */
volatile uintptr_t i2cDriverInstance
Definition: hal_pic32mz2048efm_i2c.h:59
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
Definition: hal_pic32mz2048efm_i2c.h:57
uint32_t i2cDriverInstanceIndex
Definition: hal_pic32mz2048efm_i2c.h:60
void * i2cDriverInit
Definition: hal_pic32mz2048efm_i2c.h:61
int id
Definition: hal_esp32_i2c.c:38
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