![Acromag AcroPack AP441 Скачать руководство пользователя страница 20](http://html1.mh-extra.com/html/acromag/acropack-ap441/acropack-ap441_user-manual_2841145020.webp)
SERIES AP441 ACROPACK
USER
’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 18 -
http://www.acromag.com
- 18 -
www.acromag.com
Memory Map
The memory space address map for the AP441 is shown in Table 3.2. Note
that the base address for the board (BAR0) in memory space must be added
to the addresses shown to properly access these AP441 registers. Register
accesses as 32, 16, and 8-bit data in memory space are permitted.
This board provides access to the control, configuration and monitoring of
the 32 digital input lines. The input signal monitoring and controls are
addressed in separate registers for each of the four ports (eight input signals
per port). These ports share common and are electrically isolated from one
another. Data is read or written to the channels as designated by the
address and read and write signals. Event Sense inputs allow for event
triggered flags to be set and interrupts to be generated. Selectable
hardware debounce may also be applied for noise free edge-detection of
incoming signals. Registers are also provided to enable interrupt generation
and to generate a software reset.
Table 3.2: Memory Map
Notes:
1. The AP441 will respond to
addresses that are “Not
Used”. The board will
return “0” for all address
reads that are not used or
reserved.
Base BAR0 Address
Bit(s)
Name
0x0000
7:0
Interrupt Enable Status Register
0x0004
7:0
Location in System Register
0x0008
7:0
Input Port A Register IN00-IN07
0x000C
7:0
Input Port B Register IN08-IN15
0x0010
7:0
Input Port C Register IN16-IN23
0x0014
7:0
Input Port D Register IN24-IN31
0x0018
7:0
Event Enable Register IN00-IN07
0x001C
7:0
Event Enable Register IN08-IN15
0x0020
7:0
Event Enable Register IN16-IN23
0x0024
7:0
Event Enable Register IN24-IN31
0x0028
7:0
Event Type Register IN00-IN07
0x002C
7:0
Event Type Register IN08-IN15
0x0030
7:0
Event Type Register IN16-IN23
0x0034
7:0
Event Type Register IN24-IN31
0x0038
7:0
Event Polarity Register IN00-IN07
0x003C
7:0
Event Polarity Register IN08-IN15
0x0040
7:0
Event Polarity Register IN16-IN23
0x0044
7:0
Event Polarity Register IN24-IN31
0x0048
7:0
Event Pending/Clear Register IN00-IN07
0x004C
7:0
Event Pending/Clear Register IN08-IN15
0x0050
7:0
Event Pending/Clear Register IN16-IN23