Sensoray 526 Manuel d'utilisateur Page 23

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 29
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 22
23
Digital I/O Control Register
0x0A
Bits Type Default Description
[15] WO 0 DIO(3) interrupt condition:
0 – interrupt on a rising edge;
1 – interrupt on a falling edge.
[14] WO 0 DIO(2) interrupt condition:
0 – interrupt on a rising edge;
1 – interrupt on a falling edge.
[13] WO 0 DIO(1) interrupt condition:
0 – interrupt on a rising edge;
1 – interrupt on a falling edge.
[12] WO 0 DIO(0) interrupt condition:
0 – interrupt on a rising edge;
1 – interrupt on a falling edge.
[11] WO 0 DIO group 2 mode:
0 – input;
1 – output.
[10] WO 0 DIO group 1 mode:
0 – input;
1 – output.
[9] UU X Reserved.
[8] WO 0 DIO group 2 interrupt condition:
0 – interrupt on a rising edge;
1 – interrupt on a falling edge.
[7:0] RW 0x00 Write operations set the bits configured as outputs, do not
affect the bits configured as inputs. Read operations return the
current values of the bits configured as inputs and last written
value of the bits configured as outputs. (Note 1).
Notes:
1. Enabling an interrupt on a DIO bit configured as output will result in the interrupt when the
interrupt condition is met: for example, if a DIO bit is configured as output, has an interrupt
configured on a rising edge and enabled, and its current state is 0, writing a 1 to this bit will
generate an interrupt.
Vue de la page 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 29

Commentaires sur ces manuels

Pas de commentaire