Page 60
Silex
Advanced Configuration
Part Number
140-00192-100
GPIO direction control
Integer
read-only
gpio.2
This is an integer representing a bit mask indicating which GPIO bits are configured for outputs. Only
bits for which the GPIO bit mask is 1 are valid. A 1 indicates the GPIO bit is an output, a 0 indicates an
input.
7 6 5 4 3 2 1 0
GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1
GPIO data
Integer
read-write
gpio.2
This is an integer representing a bit mask indicating the GPIO bits status. On a read, the current value
of the input pins is returned. Output bits return the last value set. On a write, bits configured as outputs
are set to the value given by the corresponding mask bit. For input bits, a write has no effect.
7 6 5 4 3 2 1 0
GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1
GPIO trigger mask
Integer
read-only
gpio.2
This value is an integer representing a 32 bit mask expressed in hex digits. The mask is encoded as
follows:
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
N/A N/A N/A N/A N/A N/A N/A N/A TRIG16 TRIG15 TRIG14 TRIG13 TRIG12 TRIG11 TRIG10 TRIG9
GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1
1 to 0 1 to 0 1 to 0 1 to 0 1 to 0 1 to 0 1 to 0 1 to 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
N/A N/A N/A N/A N/A N/A N/A N/A TRIG8 TRIG7 TRIG6 TRIG5 TRIG4 TRIG3 TRIG2 TRIG1
GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1
0 to 1 0 to 1 0 to 1 0 to 1 0 to 1 0 to 1 0 to 1 0 to 1
A value of 1 indicates the corresponding GPIO trigger condition is enabled. A value of 0 indicates the
correspon ding GPIO trigger condition is disabled. For example a hex value of 4 represents GPIO3 0
to 1 transition (TRIG3) is enabled as a trigger.
GPIO transmit string table index
Integer
read-only
gpio.5.1.1.n
This value is the index into the GPIO message table for trigger number n. For the SX-560, this always
returns n as its value.
GPIO transmit string value
Octet-string
read-only
gpio.5.1.2.n
This item returns the GPIO transmit string for trigger number n, if a string is defined. The string may be
defined even if the corresponding trigger is not currently enabled.
Содержание Embedded Intelligent Module SX-560
Страница 1: ...SX 560 Embedded Intelligent Module Developer s Reference Guide ...
Страница 8: ...Page 2 Silex About This Reference Guide Part Number 140 00192 100 ...
Страница 10: ...Page 4 silex Introduction Part Number 140 00192 100 ...
Страница 24: ...Page 18 silex Installing the Evaluation Daughtercard Part Number 140 00192 100 ...
Страница 72: ...Page 66 Silex Advanced Configuration Part Number 140 00192 100 ...
Страница 78: ...Page 72 Silex Advanced Security Configuration Part Number 140 00192 100 ...
Страница 100: ...Page 94 Silex Engineering Drawings Part Number 140 00192 100 ...
Страница 104: ...Page 98 Silex SVL USB Firmware Part Number 140 00192 100 ...
Страница 106: ...Page 100 Silex GNU Linux Programming Part Number 140 00192 100 ...
Страница 108: ...Page 102 Silex Silex Contact Information Part Number 140 00192 100 ...
Страница 109: ...Part Number 140 00192 100 Revision C 2 ...
Страница 110: ...Part Number 140 00192 100 Revision C 2 Silex Technology America Inc www silexamerica com ...