CryptoAuthLib
Microchip CryptoAuthentication Library
atca_hal.h File Reference

low-level HAL - methods used to setup indirection to physical layer interface More...

#include "atca_status.h"
#include "atca_iface.h"
#include "atca_start_config.h"
#include "atca_start_iface.h"

Go to the source code of this file.

Data Structures

struct  ATCAHAL_t
 an intermediary data structure to allow the HAL layer to point the standard API functions used by the upper layers to the HAL implementation for the interface. This isolates the upper layers and loosely couples the ATCAIface object from the physical implementation. More...
 

Functions

ATCA_STATUS hal_iface_init (ATCAIfaceCfg *, ATCAHAL_t *hal)
 Standard HAL API for ATCA to initialize a physical interface. More...
 
ATCA_STATUS hal_iface_release (ATCAIfaceType, void *hal_data)
 releases a physical interface, HAL knows how to interpret hal_data More...
 
ATCA_STATUS hal_check_wake (const uint8_t *response, int response_size)
 Utility function for hal_wake to check the reply. More...
 
void atca_delay_us (uint32_t delay)
 Timer API implemented at the HAL level. More...
 
void atca_delay_10us (uint32_t delay)
 This function delays for a number of tens of microseconds. More...
 
void atca_delay_ms (uint32_t delay)
 This function delays for a number of milliseconds. More...
 
ATCA_STATUS hal_create_mutex (void **ppMutex, char *pName)
 Optional hal interfaces. More...
 
ATCA_STATUS hal_destroy_mutex (void *pMutex)
 
ATCA_STATUS hal_lock_mutex (void *pMutex)
 
ATCA_STATUS hal_unlock_mutex (void *pMutex)
 

Detailed Description

low-level HAL - methods used to setup indirection to physical layer interface