CryptoAuthLib
Atmel CryptoAuthentication Library
hal_samv71_i2c_asf.h
Go to the documentation of this file.
1 
44 #ifndef HAL_SAMV71_I2C_ASF_H_
45 #define HAL_SAMV71_I2C_ASF_H_
46 
47 #include <asf.h>
48 
58 #define MAX_I2C_BUSES 3
59 
62 typedef struct atcaI2Cmaster {
63  int ref_ct;
64  // for conveniences during interface release phase
65  int bus_index;
66  uint32_t twi_module;
68 
69 ATCA_STATUS change_i2c_speed( ATCAIface iface, uint32_t speed );
70 
72 #endif /* HAL_SAMD21_I2C_ASF_H_ */
int bus_index
for conveniences during interface release phase
Definition: hal_i2c_bitbang.h:85
uint32_t twi_module
Definition: hal_samv71_i2c_asf.h:66
atca_iface is the C object backing ATCAIface. See the atca_iface.h file for details on the ATCAIface ...
Definition: atca_iface.c:57
This is the hal_data for ATCA HAL.
Definition: hal_i2c_bitbang.h:79
int speed
Definition: hal_linux_kit_cdc.c:86
void change_i2c_speed(ATCAIface iface, uint32_t speed)
method to change the bus speed of I2C
Definition: hal_sam4s_i2c_asf.c:320
struct atcaI2Cmaster ATCAI2CMaster_t
this is the hal_data for ATCA HAL for ASF SERCOM
ATCA_STATUS
Definition: atca_status.h:55
int ref_ct
Definition: hal_i2c_bitbang.h:83