FRDM-IMX93 for NXP CUP
FRDM-IMX93 support for NXP CUP
 
Loading...
Searching...
No Matches
Pixy2StatusCodes

Pixy2 reply status codes. More...

Macros

#define PIXY2_OK   0
 
#define PIXY2_ERROR   -1
 
#define PIXY2_BUSY   -2
 
#define PIXY2_CHECKSUM_ERROR   -3
 
#define PIXY2_TIMEOUT   -4
 
#define PIXY2_BUTTON_OVERRIDE   -5
 
#define PIXY2_PROG_CHANGING   -6
 

Detailed Description

Pixy2 reply status codes.

Pixy2 reply error codes as documented in 1, "Error codes".

Macro Definition Documentation

◆ PIXY2_BUSY

#define PIXY2_BUSY   -2

Pixy2 has no more data

◆ PIXY2_BUTTON_OVERRIDE

#define PIXY2_BUTTON_OVERRIDE   -5

user is interacting with the button and can't perform requested action

◆ PIXY2_CHECKSUM_ERROR

#define PIXY2_CHECKSUM_ERROR   -3

data packet received contains a checksum error

◆ PIXY2_ERROR

#define PIXY2_ERROR   -1

general error result

◆ PIXY2_OK

#define PIXY2_OK   0

command executed successfully

◆ PIXY2_PROG_CHANGING

#define PIXY2_PROG_CHANGING   -6

TODO: meaning not shown in pixy2 documentation?

◆ PIXY2_TIMEOUT

#define PIXY2_TIMEOUT   -4

Pixy2 has taken too long to return its result