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 |
void* atca_hal_kit_phy_t::hal_data |
Physical layer context
void *(* atca_hal_kit_phy_t::packet_alloc) (size_t bytes) |
Allocate a phy packet
void(* atca_hal_kit_phy_t::packet_free) (void *packet) |
Free a phy packet
ATCA_STATUS(* atca_hal_kit_phy_t::recv) (void *ctx, uint8_t *rxdata, uint16_t *rxlen) |
Must be a blocking receive
ATCA_STATUS(* atca_hal_kit_phy_t::send) (void *ctx, uint8_t *txdata, uint16_t txlen) |
Must be a blocking send