Measurement-computing PC104-DAS16JR/12 Uživatelský manuál Strana 19

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 32
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 18
3.5 STATUS REGISTER
BASE ADDRESS + 8
CH1CH2CH4CH8INTMUXU/BEOC
01234567
A read mostly, one-function-write register.
READ
EOC = 1, the A/D converter is busy. EOC = 0, it is free.
U/B = 1, the amplifier is in Unipolar mode. U/B = 0, is bipolar.
MUX = 1, Channels are configured 16 single ended. MUX = 0, 8 differential.
INT = 1, an external pulse has been received. INT = 0, the flip-flop is ready to
receive a pulse..
There is a flip-flop on the TRIGGER input (pin 25) which will latch a pulse as short
as 200 nanoseconds. Once triggered, this flip-flop must be reset by a write to this
register. Your interrupts service routine must do this before another interrupt trigger
can be received.
CH8, CH4, CH2 & CH1 are a binary number between 0 and 15 indicating the channel
number that the MUX is currently set to and is valid only when EOC = 0. The
channel MUX increments shortly after EOC = 1 so may be in a state of transition
when EOC = 1. The binary weight of each bit is shown in the table above.
WRITE
A write of any data to this register resets the flip-flop on the pin 25 input and sets the
INT bit to 0.
15
Zobrazit stránku 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 31 32

Komentáře k této Příručce

Žádné komentáře