CryptoAuthLib v3.7.6
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
atca_device.h File Reference

Microchip Crypto Auth device object. More...

#include "atca_iface.h"

Data Structures

struct  atca_device
 atca_device is the C object backing ATCADevice. See the atca_device.h file for details on the ATCADevice methods More...
 

Typedefs

typedef void(* ctx_cb) (void *ctx)
 Callback function to clean up the session context.
 
typedef struct atca_deviceATCADevice
 

Enumerations

enum  ATCADeviceState { ATCA_DEVICE_STATE_UNKNOWN = 0 , ATCA_DEVICE_STATE_SLEEP , ATCA_DEVICE_STATE_IDLE , ATCA_DEVICE_STATE_ACTIVE }
 ATCADeviceState says about device state.
 

Functions

ATCA_STATUS initATCADevice (ATCAIfaceCfg *cfg, ATCADevice ca_dev)
 Initializer for an Microchip CryptoAuth device.
 
ATCADevice newATCADevice (ATCAIfaceCfg *cfg)
 constructor for a Microchip CryptoAuth device
 
ATCA_STATUS releaseATCADevice (ATCADevice ca_dev)
 Release any resources associated with the device.
 
void deleteATCADevice (ATCADevice *ca_dev)
 destructor for a device NULLs reference after object is freed
 
ATCAIface atGetIFace (ATCADevice dev)
 returns a reference to the ATCAIface interface object for the device
 

Detailed Description

Microchip Crypto Auth device object.