5 a/d operation mode control register – ADLINK ACL-8216 User Manual

Page 36

Advertising
background image

28 Registers Format

3.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 as software trigger and program polling
transfer when your PC is reset or power on. The details of the A/D operation
is illustrated in Chapter 5. There are four operation modes shown as
following .

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 power on or reset, the A/D operation will be
initialized as " software trigger and program polling" mode.

2.

No matter which mode is selected, the external trigger is
available if the JP4 is set to be external trigger.

3.

As long as not the DMA mode is not used, the program polling is
alwayse possible. The syncronization of A/D conversion and
data transfer should be concerned when use program polling.

4.

The interrupt will be occurred after end of conversion if the "timer
pacer trigger and interrupt transfer" mode is selected. If you
want to use pacer trigger and interrupt transfer mode, please
enable the IRQ level.

Advertising