H A / Pixy2_UART
Embed: (wiki syntax)

« Back to documentation index

T_pixy2RcvHeader Struct Reference

T_pixy2RcvHeader Struct Reference

Structured type that match pixy2 header with checksum (received message) More...

#include <pixy2.h>


Detailed Description

Structured type that match pixy2 header with checksum (received message)

Parameters:
pixSync(Word) : 16 bits synchro word - could be 0xc1ae (PIXY2_SYNC) or 0xc1af (PIXY2_CSSYNC)
pixType(Byte) : 8 bits message type identifier
pixLength(Byte) : 8 bits message payload length (payload doesn't include checksum)
pixSync(Word) : 16 bits checksum (sum of all bytes of the payload)

Definition at line 200 of file pixy2.h.