5 a/d operation mode control register – ADLINK ACL-8112 Series User Manual
Page 45
 
Registers
• 37
4.5
A/D Operation Mode Control Register
The A/D operation includes the analog signal conversion and the data 
transformation. This register controls the internal trigger mode and data 
transformation method. It is initialized by a software trigger or program 
polling transfer when the PC is reset or powered on. The details of the A/D 
operation are described in Chapter 5. There are four operation modes. 
Address : BASE + 11
Attribute: write only
Data Format:
Bit
7
6
5
4
3
2
1
0
BASE+11
X
X
X
X
X
S2
S1
S0
S2
S1
S0
Operation Mode Description
0
0
0
Internal trigger is disable
0
0
1
software trigger and program polling (default)
0
1
0
timer pacer trigger and DMA transfer
1
1
0
timer pacer trigger and interrupt transfer.
Note: 
1. When your system is powered on or reset, the A/D operation will be 
initialized as " software trigger or program polling" mode.
2. No matter which mode is selected, the external trigger is available if JP4
is set as external trigger.
3. As long as the DMA mode is not used, the program polling mode is
always selectable. The synchronization of the A/D conversion and data 
transfer should be of a concern when using program polling mode. 
4. An interrupt will occur at the end of each conversion when the "timer
pacer trigger and interrupt transfer" mode is selected. If you want to use 
the pacer trigger and interrupt transfer mode, you must enable the IRQ 
level.