EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
BCP_Packet Struct Reference

Detailed Description

BCP Packet Structure - Board controller communication protocol version 2.

Definition at line 95 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 101 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 97 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 99 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 100 of file bsp_bcp.h.

Referenced by BSP_BccPacketSend().

uint8_t BCP_Packet::type

Type - packet type

Definition at line 98 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: