NXPCup_Cachan / Mbed 2 deprecated NXPCup

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Data Structures

Data Structures

Here are the data structures with brief descriptions:
ByteShort hand for unsigned char
lWordShort hand for unsigned long
PIXY2Pixy2 : CMU CAM 5 - Smart camera More informations at http://www.pixycam.com/ Use pointer to pointer in order to connect pointer adress (passed by ref by user) to the address of the buffer that contains the received message : see example below
sByteShort hand for char
slWordShort hand for long
sWordShort hand for short
T_lWordStructured type to switch from lword to word or bytes
T_pixy2BarCodeStructured type that match pixy2 barcode definition - used in Line frame (type 48/49) - message payload
T_pixy2BlocStructured type that match pixy2 blocks frame (type = 32/33) message payload
T_pixy2ErrorCodeExplicit error code list :
T_pixy2HeaderStructured type that match pixy2 header without checksum (send message)
T_pixy2InterLineStructured type that match pixy2 intersection line definition - used in Line frame (type 48/49) - message payload
T_pixy2IntersectionStructured type that match pixy2 intersection definition - used in Line frame (type 48/49) - message payload
T_pixy2LineFeatureStructured type that match pixy2 feature header for Line API - used in Line frame (type 48/49) - message payload
T_pixy2PixelStructured type that match pixy2 video API - used in Video frame (type 112/1) - message payload
T_pixy2RcvHeaderStructured type that match pixy2 header with checksum (received message)
T_pixy2ResolutionStructured type that match pixy2 resolution frame (type = 12/13) message payload
T_pixy2ReturnCodeStructured type that match pixy2 error/acknowledge/reply frame (type = 1 or 3) message payload
T_pixy2SendBufferStructured type to switch between structured type T_pixy2sendFrame and bytes
T_pixy2SendFrameStructured type that match frame definition for all kind of message to send to a pixy2
T_pixy2VectorStructured type that match pixy2 vector definition - used in Line frame (type 48/49) - message payload
T_pixy2VersionStructured type that match pixy2 version frame (type = 14/15) message payload
T_WordStructured type to switch from word to bytes
WordShort hand for unsigned short