Silex technology Embedded Intelligent Module SX-560 Especificaciones Pagina 61

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 104
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 60
55
Table 21 GPIO General Commands
Command
Description
GPIO #1 is normal
GPIO #2 is special
GPIO #3 is special
GPIO #4 is special
GPIO #5 is special
GPIO #6 is special
GPIO #7 is special
GPIO #8 is special
SET GPIO SPECM <bit-mask>
Sets all special function control bits. <bit-mask> is an 8-bit
mask expressed as 2 hex digits. This value should be in the
range 00-FF. The mask is encoded as follows:
7 6 5 4 3 2 1 0
GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1
A value of 1 enables the special function on the
corresponding GPIO signal, a value of 0 disables the special
function. For example, a hex value of 80 sets GPIO8 for a
special function, all other GPIO signals for general use.
NOTE: The special function bit configuration is not changed
by a configuration reset to default. This command has no
effect on GPIO 1 and 2, which do not have special functions.
SHOW GPIO SPECM
Shows GPIO special functions control bits as a mask value.
Example:
Local> set gpio specm 80
Local> show gpio specm
GPIO special function mask=80
Vista de pagina 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 103 104

Comentarios a estos manuales

Sin comentarios