public interface PiVals extends ComVar
ComVar.Impl
Modifier and Type | Field and Description |
---|---|
static int |
GPIO_INP
GPIO input mode.
|
static int |
GPIO_OUT
GPIO output mode.
|
static int |
GPIOmax
Defines maximal existing GPIO number.
|
static int |
GPIOmin
Defines smallest existing GPIO number.
|
static int |
GPIOutM
Defines highest GPIO number allowed for output.
|
static int |
H1
Hi, ON.
|
static boolean |
HI
Hi, ON.
|
static int |
L0
Lo, OFF.
|
static boolean |
LO
Lo, OFF.
|
static int |
PI_PUD_DOWN |
static int |
PI_PUD_DT
Leave pull resistor setting as defaulted.
|
static int |
PI_PUD_KP
Leave pull resistor setting unchanged.
|
static int |
PI_PUD_OFF |
static int |
PI_PUD_UP |
static int |
PIN0
The Pi's GPIO pin connector mapping.
|
static int |
PIN00
The Pi's GPIO pin connector mapping.
|
static int |
PIN01
The Pi's 3.3 V µC supply pins.
|
static int |
PIN02
The Pi's 5.0 V µC board pins.
|
static int |
PIN04
The Pi's 5.0 V µC board pins.
|
static int |
PIN06
The Pi's ground pins.
|
static int |
PIN09
The Pi's ground pins.
|
static int |
PIN0V
Defines a Ground pin.
|
static int |
PIN1
The Pi's 3.3 V µC supply pins.
|
static int |
PIN14
The Pi's ground pins.
|
static int |
PIN17
The Pi's 3.3 V µC supply pins.
|
static int |
PIN2
The Pi's 5.0 V µC board pins.
|
static int |
PIN20
The Pi's ground pins.
|
static int |
PIN25
The Pi's ground pins.
|
static int |
PIN3V
Defines a 3.3 V pin.
|
static int |
PIN4
The Pi's 5.0 V µC board pins.
|
static int |
PIN5V
Defines a 5 V pin.
|
static int |
PIN6
The Pi's ground pins.
|
static int |
PIN9
The Pi's ground pins.
|
static int |
PINig
Defines non existing GPIO number for a disabled GPIO pin.
|
static int |
PINix
A GPIO number to mark a non existing pin.
|
static int |
PIO_ALT0
GPIO alternative mode 0.
|
static int |
PIO_ALT1
GPIO alternative mode 1.
|
static int |
PIO_ALT2
GPIO alternative mode 2.
|
static int |
PIO_ALT3
GPIO alternative mode 3.
|
static int |
PIO_ALT4
GPIO alternative mode 4.
|
static int |
PIO_ALT5
GPIO alternative mode 5.
|
AUTHOR, BLANK_STRING, cons, CONSOL_ENCODING, COPYRIGHT, D, D_NaN, D_NegInf, D_PosInf, EMPTY_INT_A, EMPTY_STRING, FILE_ENCODING, FRW_CLLD, FS, FSS, H, hasCons, HOST_IP, HOST_IPv4, HOST_NAME, INIT_ERROR, JAR_ENCODING, JH, JOB_DONE_OK, JRL, LOG_OUT_ERROR, M, MAIN_THREAD_EXC, NO_BYTES, NO_CLASSES, NO_DOUBLES, NO_OBJECTS, NO_PARS_ERROR, NO_STRINGS, NOT_WINDOWS, ON_PI, ONE_DAY, ONE_HOUR, ONE_LEAP_YEAR, ONE_MINUTE, ONE_SECOND, ONE_WEEK, ONE_YEAR, OS, PROG_NAME, PROG_SHORT, PS, RUNTIME, S, SHY, UD, UL, UL_UR_da, UR
static final int GPIOmax
56
GPIOmin
,
#PINig
,
Constant Field Valuesstatic final int GPIOmin
0
GPIOmax
,
#PINig
,
Constant Field Valuesstatic final int GPIOutM
GPIOmin
..
GPIOmax
= 0..56
could be
used for input and output – and pigpiod would allow this. {@link #GPIOouM} = 31
for output. 31
GPIOmin
,
GPIOmax
,
PINig
,
ThePi.gpioMayOut(int)
,
Constant Field Valuesstatic final int PINig
57 =
GPIOmax
+ 1
static final int PINix
99
static final int PIN0V
90
static final int PIN3V
93
static final int PIN5V
95
static final int PIN00
PIN00
and
PIN0
have the value PINix
(non existent pin; error). static final int PIN0
PIN00
and
PIN0
have the value PINix
(non existent pin; error). static final int PIN01
PIN1
, PIN01
and PIN17
with value
PIN3V
.static final int PIN1
PIN1
, PIN01
and PIN17
with value
PIN3V
.static final int PIN17
PIN1
, PIN01
and PIN17
with value
PIN3V
.static final int PIN02
PIN2
, PIN02
, PIN4
and PIN04
with value
PIN5V
.static final int PIN2
PIN2
, PIN02
, PIN4
and PIN04
with value
PIN5V
.static final int PIN04
PIN2
, PIN02
, PIN4
and PIN04
with value
PIN5V
.static final int PIN4
PIN2
, PIN02
, PIN4
and PIN04
with value
PIN5V
.static final int PIN06
PIN6
, PIN06
), 9, 14 20 and 25 are
ground (gnd, 0V) pins on all Pi types, value PIN0V
. static final int PIN6
PIN6
, PIN06
), 9, 14 20 and 25 are
ground (gnd, 0V) pins on all Pi types, value PIN0V
. static final int PIN09
PIN6
, PIN06
), 9, 14 20 and 25 are
ground (gnd, 0V) pins on all Pi types, value PIN0V
. static final int PIN9
PIN6
, PIN06
), 9, 14 20 and 25 are
ground (gnd, 0V) pins on all Pi types, value PIN0V
. static final int PIN14
PIN6
, PIN06
), 9, 14 20 and 25 are
ground (gnd, 0V) pins on all Pi types, value PIN0V
. static final int PIN20
PIN6
, PIN06
), 9, 14 20 and 25 are
ground (gnd, 0V) pins on all Pi types, value PIN0V
. static final int PIN25
PIN6
, PIN06
), 9, 14 20 and 25 are
ground (gnd, 0V) pins on all Pi types, value PIN0V
. static final boolean HI
H1
. In pure C software this distinction is not necessary as there
is no boolean and 0 is false and any other value, as e.g. 1, is considered
true. HI
, LO
; H1
, L0
and note the boolean
variants ending with capital letters (I, O) and the int variants with
digits.static final boolean LO
HI
.static final int H1
HI
; see also L0
.static final int L0
HI
; see also H1
.static final int GPIO_INP
static final int GPIO_OUT
static final int PIO_ALT0
static final int PIO_ALT1
static final int PIO_ALT2
static final int PIO_ALT3
static final int PIO_ALT4
static final int PIO_ALT5
static final int PI_PUD_OFF
static final int PI_PUD_DOWN
static final int PI_PUD_UP
static final int PI_PUD_KP
static final int PI_PUD_DT