CANopenNode
CANopen protocol stack
Loading...
Searching...
No Matches
Bitfields for status argument from CO_fifo_cpyTok2U8 function and similar
+ Collaboration diagram for Bitfields for status argument from CO_fifo_cpyTok2U8 function and similar:

Macros

#define CO_fifo_st_closed   0x01U
 Bit is set, if command delimiter is reached in src.
 
#define CO_fifo_st_partial    0x02U
 Bit is set, if copy was partial and more data are available.
 
#define CO_fifo_st_errTok   0x10U
 Bit is set, if no valid token found.
 
#define CO_fifo_st_errVal   0x20U
 Bit is set, if value is not valid or out of limits.
 
#define CO_fifo_st_errBuf   0x40U
 Bit is set, if destination buffer is to small.
 
#define CO_fifo_st_errInt   0x80U
 Bit is set, if internal error.
 
#define CO_fifo_st_errMask   0xF0U
 Bitmask for error bits.
 

Detailed Description

Macro Definition Documentation

◆ CO_fifo_st_partial

#define CO_fifo_st_partial    0x02U

Bit is set, if copy was partial and more data are available.

If unset and no error, then all data was \ successfully copied.