beautypg.com

5 status register – Measurement Computing PC104-DAS16JR/12 User Manual

Page 19

background image

3.5 STATUS REGISTER

BASE ADDRESS + 8

CH1

CH2

CH4

CH8

INT

MUX

U/B

EOC

0

1

2

3

4

5

6

7

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

This manual is related to the following products: