User Manual
AIC 324
+9
W
Isolated digital outputs control
Bit #
7
6
5
4
3
2
1
0
Name
х
х
Debounce
DINTE
LED
DOUT2
DOUT1
DOUT0
Bits DOUT2-0
– Control of digital outputs at analog connector.
Bit LED = 1,
– Switch on the VD1 onboard LED.
Bit DINTE
– Enable interrupt from digital IO.
Bit Debounce
– Enable software debounce at Din[3] input. In case of bad signal, leads to possibility of the
interrupt setting jitter of 6.4
μs max.
+10
R\W
Timer 8254: clock and signal source control
Bit #
7
6
5
4
3
2
1
0
Name
TINTE
GT12EN
SRC0
GT0EN
OUT0EN
OUT2EN
FREQ0
FREQ12
Bit FREQ12 = 1,
– Counter 1 input is supplied with 200 kHz signal from the internal generator;
if = 0
– 20 MHz is supplied from the same source.
Bit FREQ0 = 1,
– Counter 0 input is supplied with 20 kHz signal from the internal generator;
if = 0
– 20 MHz is supplied from the same source.
Bit OUT2EN = 1,
– Counter 2 output is routed to OUT2\DOUT2 output, cont. 42 of XP9 conn.
Bit OUT0EN = 1,
– Counter 0 output is routed to OUT0\DOUT0 output, cont. 44 of XP9 conn.
Bit GT0EN =1,
– Gate0\DIN1 (cont. 47 of XP9) connected to timer 0. Active level is high.
Pull-up to power 10 kOhm.
Bit SRC0 = 1,
– Timer 0 receives clock freq. from FREQ0. = 0 – Clock input of the timer is connected to
pin CLK0\DIN0 (cont. 48 of XP9). Active edge is negative. Pull-up to power 10 kOhm.
Bit GT12EN =1 and if ExtGate\DIN2 (cont. 46 of XP9) = 0, then ADC conversion is started. ADC conversion
is not started, if this pin = 1. If it was 0 at start and then set to 1, conversion pause is set until it is 1.
Pull-up to power 10 kOhm.
Bit TINTE
– Enable interrupt from 8254 timer.
+11
R\W
Interrupt flags read and reset
Bit #
7
6
5
4
3
2
1
0
Name
x
x
x
x
x
ADINT
TINT
DINT
Bit DINT = 1, interrupt received from discrete IO.
Bit TINT = 1, interrupt received from 8254 timer.
Bit ADINT = 1, interrupt received from ADC.
Writing 1 in the correspondent bit resets the flag. To reset all flags, write 0хFF.
1.3.4 Page 0
– 8254 Timer
+12
R\W
Read/write counter 0 data
+13
R\W
Read/write counter 1 data
+14
R\W
Read/write counter 2 data
+15
R\W
8254 counter control port
Operation modes and registers fully comply with 8254 timer counter. For details, see standard
description, for example at:
http://www.digchip.com/datasheets/parts/datasheet/227/8254.php