![]() |
![]() |
|
MSP430™CapTIvateSoftwareLibraryAPIGuide
1_70_00_03
|
#include <CAPT_Protocol.h>
Data Fields | |
| struct { | |
| uint8_t ui8Sync | |
| uint8_t ui8Blank | |
| uint8_t ui8Length | |
| uint8_t ui8Command | |
| uint8_t ui8Write | |
| uint8_t ui8SensorID | |
| uint8_t ui8Param0 | |
| uint8_t ui8Param1 | |
| uint8_t ui8Param2 | |
| uint8_t ui8Param3 | |
| uint16_t ui16Checksum | |
| }; | |
| uint8_t | ui8Packet [TL_PARAMETER_PACKET_LENGTH] |
typedef tParameterPacket is a union structure that stores a CapTIvate™ parameter packet. The union allows the low-level serial driver to interface with a buffer, while higher-level applications can access specific portions of the packet.
| uint8_t tParameterPacket::ui8Sync |
| uint8_t tParameterPacket::ui8Blank |
| uint8_t tParameterPacket::ui8Length |
| uint8_t tParameterPacket::ui8Command |
| uint8_t tParameterPacket::ui8Write |
| uint8_t tParameterPacket::ui8SensorID |
| uint8_t tParameterPacket::ui8Param0 |
| uint8_t tParameterPacket::ui8Param1 |
| uint8_t tParameterPacket::ui8Param2 |
| uint8_t tParameterPacket::ui8Param3 |
| uint16_t tParameterPacket::ui16Checksum |
| struct { ... } |
| uint8_t tParameterPacket::ui8Packet[TL_PARAMETER_PACKET_LENGTH] |