sarmfsw: SMFSW Toolbox (for ARM & compatible with Arduino platform) 3.7
SMFSW collection of miscellaneous functions & macros (for ARM & compatible with Arduino platform)
Loading...
Searching...
No Matches
arm_errors.h File Reference

ARM user errors. More...

This graph shows which files directly or indirectly include this file:

Typedefs

typedef enum FctERR FctERR
 

Enumerations

enum  FctERR {
  ERROR_OK = 0 , ERROR_SPEED = -1 , ERROR_RANGE = -2 , ERROR_TIMEOUT = -3 ,
  ERROR_VALUE = -4 , ERROR_OVERFLOW = -5 , ERROR_MATH = -6 , ERROR_ENABLED = -7 ,
  ERROR_DISABLED = -8 , ERROR_BUSY = -9 , ERROR_NOTAVAIL = -10 , ERROR_RXEMPTY = -11 ,
  ERROR_TXFULL = -12 , ERROR_BUSOFF = -13 , ERROR_OVERRUN = -14 , ERROR_FRAMING = -15 ,
  ERROR_PARITY = -16 , ERROR_NOISE = -17 , ERROR_IDLE = -18 , ERROR_FAULT = -19 ,
  ERROR_BREAK = -20 , ERROR_CRC = -21 , ERROR_ARBITR = -22 , ERROR_PROTECT = -23 ,
  ERROR_UNDERFLOW = -24 , ERROR_UNDERRUN = -25 , ERROR_COMMON = -26 , ERROR_LINSYNC = -27 ,
  ERROR_FAILED = -28 , ERROR_QFULL = -29 , ERROR_CMD = -30 , ERROR_NOTIMPLEM = -31 ,
  ERROR_MEMORY = -32 , ERROR_INSTANCE = -33
}
 Enum of low/mid level functions return state. More...
 

Detailed Description

ARM user errors.

Author
SMFSW

Typedef Documentation

◆ FctERR

typedef enum FctERR FctERR

Enumeration Type Documentation

◆ FctERR

enum FctERR

Enum of low/mid level functions return state.

Enumerator
ERROR_OK 

OK.

ERROR_SPEED 

This device does not work in the active speed mode.

ERROR_RANGE 

Parameter out of range.

ERROR_TIMEOUT 

Abort on timeout error.

ERROR_VALUE 

Parameter of incorrect value.

ERROR_OVERFLOW 

Overflow.

ERROR_MATH 

Overflow during evaluation.

ERROR_ENABLED 

Device is enabled.

ERROR_DISABLED 

Device is disabled.

ERROR_BUSY 

Device is busy.

ERROR_NOTAVAIL 

Requested value or method not available.

ERROR_RXEMPTY 

No data in receiver.

ERROR_TXFULL 

Transmitter is full.

ERROR_BUSOFF 

Bus not available.

ERROR_OVERRUN 

Overrun error is detected.

ERROR_FRAMING 

Framing error is detected.

ERROR_PARITY 

Parity error is detected.

ERROR_NOISE 

Noise error is detected.

ERROR_IDLE 

Idle error is detected.

ERROR_FAULT 

Fault error is detected.

ERROR_BREAK 

Break char is received during communication.

ERROR_CRC 

CRC error is detected.

ERROR_ARBITR 

A node lost arbitration. This error occurs if two nodes start transmission at the same time.

ERROR_PROTECT 

Protection error is detected.

ERROR_UNDERFLOW 

Underflow error is detected.

ERROR_UNDERRUN 

Underrun error is detected.

ERROR_COMMON 

Common error of a device.

ERROR_LINSYNC 

LIN synchronization error is detected.

ERROR_FAILED 

Requested functionality or process failed.

ERROR_QFULL 

Queue is full.

ERROR_CMD 

Command error is detected.

ERROR_NOTIMPLEM 

Function not implemented error.

ERROR_MEMORY 

Memory error.

ERROR_INSTANCE 

Instance error.