BCP_Packet Struct ReferenceBSP > API for STKs and WSTKs

BCP Packet Structure - Board controller communication protocol version 2.

Definition at line 92 of file bsp_bcp.h .

#include < bsp_bcp.h >

Data Fields

uint8_t data [ BSP_BCP_PACKET_SIZE ]
uint8_t magic
uint8_t payloadLength
uint8_t reserved
uint8_t type

Field Documentation

uint8_t BCP_Packet::data[ BSP_BCP_PACKET_SIZE ]

BCP Packet Data payload

Definition at line 97 of file bsp_bcp.h .

Referenced by BSP_BccPacketSend() , BSP_CurrentGet() , and BSP_VoltageGet() .

uint8_t BCP_Packet::magic

Magic - start of packet - must be BSP_BCP_MAGIC

Definition at line 93 of file bsp_bcp.h .

Referenced by BSP_BccPacketReceive() , and BSP_BccPacketSend() .

uint8_t BCP_Packet::payloadLength

Length of data segment >=0 and <=BSP_BCP_PACKET_SIZE

Definition at line 95 of file bsp_bcp.h .

Referenced by BSP_BccPacketReceive() , BSP_BccPacketSend() , BSP_CurrentGet() , and BSP_VoltageGet() .

uint8_t BCP_Packet::reserved

Reserved for future expansion

Definition at line 96 of file bsp_bcp.h .

Referenced by BSP_BccPacketSend() .

uint8_t BCP_Packet::type

Type - packet type

Definition at line 94 of file bsp_bcp.h .

Referenced by BSP_BccPacketReceive() , BSP_BccPacketSend() , BSP_CurrentGet() , and BSP_VoltageGet() .


The documentation for this struct was generated from the following file:
  • C:/repos/super_h1/hardware/kit/common/bsp/ bsp_bcp.h