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

Data Fields

ATCA_STATUS(* send )(void *ctx, uint8_t *txdata, uint16_t txlen)
 
ATCA_STATUS(* recv )(void *ctx, uint8_t *rxdata, uint16_t *rxlen)
 
void *(* packet_alloc )(size_t bytes)
 
void(* packet_free )(void *packet)
 
void * hal_data
 

Field Documentation

◆ hal_data

void* atca_hal_kit_phy_t::hal_data

Physical layer context

◆ packet_alloc

void *(* atca_hal_kit_phy_t::packet_alloc) (size_t bytes)

Allocate a phy packet

◆ packet_free

void(* atca_hal_kit_phy_t::packet_free) (void *packet)

Free a phy packet

◆ recv

ATCA_STATUS(* atca_hal_kit_phy_t::recv) (void *ctx, uint8_t *rxdata, uint16_t *rxlen)

Must be a blocking receive

◆ send

ATCA_STATUS(* atca_hal_kit_phy_t::send) (void *ctx, uint8_t *txdata, uint16_t txlen)

Must be a blocking send