public enum ErrPI extends Enum<ErrPI>
Modifier and Type | Field and Description |
---|---|
String |
expl
The pigpiod error's short explanation.
|
Modifier and Type | Method and Description |
---|---|
static ErrPI |
byErrNum(int num)
Get explained error by error number (-) or index.
|
int |
errNum()
Get the error number (-).
|
static void |
main(String[] args) |
String |
toString() |
static ErrPI |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrPI[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrPI NO_ERROR
public static final ErrPI INIT_FAILED
public static final ErrPI BAD_USER_GPIO
public static final ErrPI BAD_GPIO
public static final ErrPI BAD_MODE
public static final ErrPI BAD_LEVEL
public static final ErrPI BAD_PUD
public static final ErrPI BAD_PULSEWIDTH
public static final ErrPI BAD_DUTYCYCLE
public static final ErrPI BAD_TIMER
public static final ErrPI BAD_MS
public static final ErrPI BAD_TIMETYPE
public static final ErrPI BAD_SECONDS
public static final ErrPI BAD_MICROS
public static final ErrPI TIMER_FAILED
public static final ErrPI BAD_WDOG_TIMEOUT
public static final ErrPI NO_ALERT_FUNC
public static final ErrPI BAD_CLK_PERIPH
public static final ErrPI BAD_CLK_SOURCE
public static final ErrPI BAD_CLK_MICROS
public static final ErrPI BAD_BUF_MILLIS
public static final ErrPI BAD_DUTYRANGE
public static final ErrPI BAD_SIGNUM
public static final ErrPI BAD_PATHNAME
public static final ErrPI NO_HANDLE
public static final ErrPI BAD_HANDLE
public static final ErrPI BAD_IF_FLAGS
public static final ErrPI BAD_CHANNEL
public static final ErrPI BAD_SOCKET_PORT
public static final ErrPI BAD_FIFO_COMMAND
public static final ErrPI BAD_SECO_CHANNEL
public static final ErrPI NOT_INITIALISED
public static final ErrPI INITIALISED
public static final ErrPI BAD_WAVE_MODE
public static final ErrPI BAD_CFG_INTERNAL
public static final ErrPI BAD_WAVE_BAUD
public static final ErrPI TOO_MANY_PULSES
public static final ErrPI TOO_MANY_CHARS
public static final ErrPI NOT_SERIAL_GPIO
public static final ErrPI BAD_SERIAL_STRUC
public static final ErrPI BAD_SERIAL_BUF
public static final ErrPI NOT_PERMITTED
public static final ErrPI SOME_PERMITTED
public static final ErrPI BAD_WVSC_COMMND
public static final ErrPI BAD_WVSM_COMMND
public static final ErrPI BAD_WVSP_COMMND
public static final ErrPI BAD_PULSELEN
public static final ErrPI BAD_SCRIPT
public static final ErrPI BAD_SCRIPT_ID
public static final ErrPI BAD_SER_OFFSET
public static final ErrPI GPIO_IN_USE
public static final ErrPI BAD_SERIAL_COUNT
public static final ErrPI BAD_PARAM_NUM
public static final ErrPI DUP_TAG
public static final ErrPI TOO_MANY_TAGS
public static final ErrPI BAD_SCRIPT_CMD
public static final ErrPI BAD_VAR_NUM
public static final ErrPI NO_SCRIPT_ROOM
public static final ErrPI NO_MEMORY
public static final ErrPI SOCK_READ_FAILED
public static final ErrPI SOCK_WRIT_FAILED
public static final ErrPI TOO_MANY_PARAM
public static final ErrPI SCRIPT_NOT_READY
public static final ErrPI BAD_TAG
public static final ErrPI BAD_MICS_DELAY
public static final ErrPI BAD_MILS_DELAY
public static final ErrPI BAD_WAVE_ID
public static final ErrPI TOO_MANY_CBS
public static final ErrPI TOO_MANY_OOL
public static final ErrPI EMPTY_WAVEFORM
public static final ErrPI NO_WAVEFORM_ID
public static final ErrPI I2C_OPEN_FAILED
public static final ErrPI SER_OPEN_FAILED
public static final ErrPI SPI_OPEN_FAILED
public static final ErrPI BAD_I2C_BUS
public static final ErrPI BAD_I2C_ADDR
public static final ErrPI BAD_SPI_CHANNEL
public static final ErrPI BAD_FLAGS
public static final ErrPI BAD_SPI_SPEED
public static final ErrPI BAD_SER_DEVICE
public static final ErrPI BAD_SER_SPEED
public static final ErrPI BAD_PARAM
public static final ErrPI I2C_WRITE_FAILED
public static final ErrPI I2C_READ_FAILED
public static final ErrPI BAD_SPI_COUNT
public static final ErrPI SER_WRITE_FAILED
public static final ErrPI SER_READ_FAILED
public static final ErrPI SER_READ_NO_DATA
public static final ErrPI UNKNOWN_COMMAND
public static final ErrPI SPI_XFER_FAILED
public static final ErrPI BAD_POINTER
public static final ErrPI NO_AUX_SPI
public static final ErrPI NOT_PWM_GPIO
public static final ErrPI NOT_SERVO_GPIO
public static final ErrPI NOT_HCLK_GPIO
public static final ErrPI NOT_HPWM_GPIO
public static final ErrPI BAD_HPWM_FREQ
public static final ErrPI BAD_HPWM_DUTY
public static final ErrPI BAD_HCLK_FREQ
public static final ErrPI BAD_HCLK_PASS
public static final ErrPI HPWM_ILLEGAL
public static final ErrPI BAD_DATABITS
public static final ErrPI BAD_STOPBITS
public static final ErrPI MSG_TOOBIG
public static final ErrPI BAD_MALLOC_MODE
public static final ErrPI TOO_MANY_SEGS
public static final ErrPI BAD_I2C_SEG
public static final ErrPI BAD_SMBUS_CMD
public static final ErrPI NOT_I2C_GPIO
public static final ErrPI BAD_I2C_WLEN
public static final ErrPI BAD_I2C_RLEN
public static final ErrPI BAD_I2C_CMD
public static final ErrPI BAD_I2C_BAUD
public static final ErrPI CHAIN_LOOP_CNT
public static final ErrPI BAD_CHAIN_LOOP
public static final ErrPI CHAIN_COUNTER
public static final ErrPI BAD_CHAIN_CMD
public static final ErrPI BAD_CHAIN_DELAY
public static final ErrPI CHAIN_NESTING
public static final ErrPI CHAIN_TOO_BIG
public static final ErrPI DEPRECATED
public static final ErrPI BAD_SER_INVERT
public static final ErrPI BAD_EDGE
public static final ErrPI BAD_ISR_INIT
public static final ErrPI BAD_FOREVER
public static final ErrPI BAD_FILTER
public static final ErrPI BAD_PAD
public static final ErrPI BAD_STRENGTH
public static final ErrPI FIL_OPEN_FAILED
public static final ErrPI BAD_FILE_MODE
public static final ErrPI BAD_FILE_FLAG
public static final ErrPI BAD_FILE_READ
public static final ErrPI BAD_FILE_WRITE
public static final ErrPI FILE_NOT_ROPEN
public static final ErrPI FILE_NOT_WOPEN
public static final ErrPI BAD_FILE_SEEK
public static final ErrPI NO_FILE_MATCH
public static final ErrPI NO_FILE_ACCESS
public static final ErrPI FILE_IS_A_DIR
public static final ErrPI BAD_SHELL_STATUS
public static final ErrPI BAD_SCRIPT_NAME
public static final ErrPI BAD_SPI_BAUD
public static final ErrPI NOT_SPI_GPIO
public static final ErrPI BAD_EVENT_ID
public static final ErrPI CMD_INTERRUPTED
public static final ErrPI UNKNOWN_ERROR
public final String expl
public static ErrPI[] values()
for (ErrPI c : ErrPI.values()) System.out.println(c);
public static ErrPI valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ErrPI byErrNum(int num)
num
- the negative error number or its absolute (positive) value#PPI_UNKNOWN_ERROR
; #PI_NO_ERROR
public int errNum()
Enum.ordinal()
public static void main(String[] args)