CryptoAuthLib v3.7.6
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
ATCAIfaceCfg Struct Reference

Data Fields

ATCAIfaceType iface_type
 
ATCADeviceType devtype
 
union {
   struct {
      uint8_t   address
 
      uint8_t   bus
 
      uint32_t   baud
 
   }   atcai2c
 
   struct {
      uint8_t   address
 
      uint8_t   bus
 
   }   atcaswi
 
   struct {
      uint8_t   bus
 
      uint8_t   select_pin
 
      uint32_t   baud
 
   }   atcaspi
 
   struct {
      ATCAKitType   dev_interface
 
      uint8_t   dev_identity
 
      uint8_t   port
 
      uint32_t   baud
 
      uint8_t   wordsize
 
      uint8_t   parity
 
      uint8_t   stopbits
 
   }   atcauart
 
   struct {
      int   idx
 
      ATCAKitType   dev_interface
 
      uint8_t   dev_identity
 
      uint32_t   vid
 
      uint32_t   pid
 
      uint32_t   packetsize
 
   }   atcahid
 
   struct {
      ATCAKitType   dev_interface
 
      uint8_t   dev_identity
 
      uint32_t   flags
 
   }   atcakit
 
   struct {
      ATCA_STATUS(*   halinit )(void *hal, void *cfg)
 
      ATCA_STATUS(*   halpostinit )(void *iface)
 
      ATCA_STATUS(*   halsend )(void *iface, uint8_t
         word_address, uint8_t *txdata,
          int txlength)
 
      ATCA_STATUS(*   halreceive )(void *iface, uint8_t
         word_address, uint8_t *rxdata,
          uint16_t *rxlength)
 
      ATCA_STATUS(*   halwake )(void *iface)
 
      ATCA_STATUS(*   halidle )(void *iface)
 
      ATCA_STATUS(*   halsleep )(void *iface)
 
      ATCA_STATUS(*   halrelease )(void *hal_data)
 
   }   atcacustom
 
cfg
 
uint16_t wake_delay
 
int rx_retries
 
void * cfg_data
 

Field Documentation

◆ address

uint8_t ATCAIfaceCfg::address

Device address - the upper 7 bits are the I2c address bits