Measurement-computing CIO-DAS6402/12 Instrukcja Użytkownika Strona 23

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 40
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 22
SEDIFF - Analog input channel configuration, 0 = differential, 1 = single ended.
MA3:0 - Analog input channel mux setting (for next conversion).
WRITE
CLRINTCLRXTRCLRXIN
-
EXTENDARMEDPOSTMODE1/10MHz
01234567
ENHANCED MODE:
The write functions of the status register are to clear certain flip-flop states, and set the Pacer clock to 1 or 10 MHz.
CLRINT - Clear Interrupt flip-flop when = 1. No action when = 0.
CLRXTR - Clear External Trigger flip-flop when = 1. No action when = 0
CLRXIN - Clear External Interrupt flip-flop when = 1. No action when = 0.
(These 'Clear' functions get automatically reset to 0 in 1 to 2
µ
sec).
EXTEND - Qualifier for bits 5 to 7 data. Must be set to 1 prior to setting the desired bits at 5 to 7.
=0, any data at bits 5 to 7 will be ignored and the state of the bit will not change.
The MODE bit must be = 1 (Enhanced) to change the EXTEND bit.
Example: to set the 1/10MHz bit to set the Pacer time base to 10MHz:
Do each step as separate write operations:
1. Set MODE bit to 1 (base + B, bit 4)
2. Set EXTEND to 1 (base + 8, bit 4)
3. Set 1/10 bit to 1 (base + 8, bit 7), be sure to leave bit 4 set as well, including bits 5/6 if desired to leave them set.
4. Set EXTEND bit to 0, leave the bits in 5 to 7 set as required.
After EXTEND bit is zeroed, any writes to bits 5 to 7 are masked off (doesn't change).
Please note that the clear flip-flop bits in 0 to 2 will be active if their corresponding data bits are high during any write to base+8 in
Enhanced Mode.
ARMED - Used with various pre and post-trigger scenarios to gate a 'residual' counter on (CTR0 of the 8254).
Counter 0 operates in Mode 0 and counts conversions, stopping the acquisition process when it reaches terminal count.
When = 0, counting of post-trigger samples is disabled. When =1, counting of post-trigger samples is enabled.
See also POSTMODE.
POSTMODE - Used to select whether FifoHalf Full or ADC convert starts Counter 0. Used in conjunction with
PRETRIG to select a strobe to latch the Counter 0 gate. (See BASE + 10 for PRETRIG.) Refer to Table 6-3.
Total # of counts (N) less- than-or-equal-to FIFO 1/2-full is a special case:
Table 5-3. Post-Mode Operations
Before acquisition is startedon the external trigger
1
yes
1
N < =1/2 fifo
ISR on last full 'packet'on fifo half (last interrupt)
0
yes
1
N> 1/2 fifo
Before acquisition is started1st conversion
1
no
0
N <= 1/2 fifo
Next to last full 'packet'on last fifo half full
0
no
0
N>fifo
Before acquisition is startedon last fifo half full
0
no
0
fifo>N>1/2fifo
ARMED bit is set by:Ctr 0 gate strobe:
POST-MODE
Pretrig?Gate CTR0:
1/10MHz - Sets Pacer clock frequency. .
When bit 7 = 1, Forces Pacer clock to 10 MHz. When = 0, forces Pacer clock to 1 MHz.
19
Przeglądanie stron 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 39 40

Komentarze do niniejszej Instrukcji

Brak uwag