beautypg.com

Silex technology Embedded Intelligent Module SX-560 User Manual

Page 61

background image

Advanced Configuration

Silex

Page 55

Part Number 140-00192-100

Command

Description

SET GPIO TRIGM

Sets all trigger control bits. is a 32-bit
mask expressed in hex digits. The mask is encoded
as follows:

31 30 29 28 27 26 25 24
N/A N/A N/A N/A N/A N/A N/A N/A

23 22 21 20 19 18 17 16
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
N/A N/A N/A N/A N/A N/A N/A N/A

7 6 5 4 3 2 1 0
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 enables the corresponding GPIO
trigger condition. A value of 0 disables the
corresponding trigger condition. For example, a hex
value of 4 enables a GPIO3 0 to 1 transition as a
trigger.

NOTE: Setting the trigger mask resets all undefined
trigger strings for triggers that are enabled to the
default trigger string value.

NOTE: The trigger configuration is not changed by
a configuration reset to default.

SHOW GPIO TRIGM

Shows all trigger control bits.

Example:

Local> set gpio trigm 00040006

Local> show gpio trigm

GPIO trigger mask = 00040006