Advantech UNO-3074 Manuel d'utilisateur Page 30

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 80
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 29
UNO-3074 User Manual 20
2.5.6
Interrupt Enable Control
Function
The
user
can choose to enable or disable
the interrupt function by writing
its corresponding
value to the interrupt disable/enable
control
bit in the
interrupt control
register, as shown in Table 2.6.
2.5.7
Interrupt Triggering Edge Control
The
interrupt can be triggered by a
rising edge or
a falling
edge
of
the
interrupt signal, as
determined by the value
in the interrupt
triggering edge
control
bit in the
interrupt control register,
as shown
in Table 2.7.
2.5.8 Interrupt Flag Bit
The interrupt
flag
bit is
a flag indicating the status of
an
interrupt.
It is a
readable/writable bit. To find the status of the interrupt, you
have
to read
the bit
value. To
clear the interrupt, you
have
to write “1” to this bit.
This
bit must first be cleared to
service the next
coming interrupt.
Table 2.6: Interrupt Disable/Enable Control
DI0EN & DI1EN Interrupt Disable/Enable Control
0 Disable
1 Enable
Table 2.7: Interrupt Triggering Edge Control
DI0TE & DI1TE Triggering edge of interrupt signal
0 Falling edge trigger
1 Rising edge trigger
Table 2.8: Interrupt Flag Bit Values
DI0F & DI1F Interrupt Status
Read
0 No interrupt
1 Interrupt occur
Write 0 Don’t care
1 Clear interrupt
Vue de la page 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 79 80

Commentaires sur ces manuels

Pas de commentaire