CryptoAuthLib v3.7.8
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
cryptoauthlib.iface.ATCAIfaceCfg Class Reference
Inheritance diagram for cryptoauthlib.iface.ATCAIfaceCfg:
cryptoauthlib.library.AtcaStructure

Static Protected Attributes

tuple _anonymous_ = ('cfg',)
 
dict _map_
 
dict _def_
 

Additional Inherited Members

- Public Member Functions inherited from cryptoauthlib.library.AtcaStructure
None __init__ (self, *args, **kwargs)
 
def from_definition (cls)
 
def check_rationality (cls)
 
def get_field_definition (cls, str name)
 
Any __getattribute__ (self, str name)
 
def __iter__ (self)
 
def __str__ (self)
 
def to_c_code (self, name=None, **kwargs)
 
def update_from_buffer (self, buffer)
 

Detailed Description

Interface configuration structure used by atcab_init()

Field Documentation

◆ _def_

dict cryptoauthlib.iface.ATCAIfaceCfg._def_
staticprotected
Initial value:
= {
'iface_type': (ATCAIfaceType,),
'devtype': (ATCADeviceType,),
'cfg': (_ATCAIfaceParams,),
'wake_delay': (c_uint16,),
'rx_retries': (c_int,),
'cfg_data': (c_void_p,)
}

◆ _map_

dict cryptoauthlib.iface.ATCAIfaceCfg._map_
staticprotected
Initial value:
= {
'cfg': ('iface_type', {
ATCAIfaceType.ATCA_I2C_IFACE: 'atcai2c',
ATCAIfaceType.ATCA_SWI_IFACE: 'atcaswi',
ATCAIfaceType.ATCA_UART_IFACE:'atcauart',
ATCAIfaceType.ATCA_SPI_IFACE: 'atcaspi',
ATCAIfaceType.ATCA_HID_IFACE: 'atcahid',
ATCAIfaceType.ATCA_KIT_IFACE: 'atcakit',
ATCAIfaceType.ATCA_CUSTOM_IFACE: 'atcacustom'
})
}