BCP_Packet Struct Reference

BCP Packet Structure - Board controller communication protocol version 2.

Definition at line 105 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 110 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 106 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 108 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 109 of file bsp_bcp.h.

Referenced by BSP_BccPacketSend().

uint8_t BCP_Packet::type

Type - packet type

Definition at line 107 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:/HandsOn/super/hardware/kit/common/bsp/bsp_bcp.h