EFM32 Tiny Gecko Software Documentation
efm32tg-doc-5.1.2
|
BCP Packet Structure - Board controller communication protocol version 2.
#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 |
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().