Silex technology Embedded Intelligent Module SX-560 Especificaciones Pagina 63

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 104
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 62
57
Table 22 GPIO Trigger Commands
Command
Description
SET GPIO TRIGM <bit-mask>
Sets all trigger control bits. <bit-mask> 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
Vista de pagina 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 103 104

Comentarios a estos manuales

Sin comentarios