![Acromag AcroPack AP471 Series User Manual Download Page 19](http://html1.mh-extra.com/html/acromag/acropack-ap471-series/acropack-ap471-series_user-manual_2841147019.webp)
SERIES AP471 ACROPACK
USER
’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 17 -
http://www.acromag.com
- 17 -
www.acromag.com
Memory Map
The memory space address map for the AP471 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 AP471 registers. Register
accesses as 32, 16, and 8-bit data in memory space are permitted. All the
registers of the AP471 are accessed via data lines D0 to D31.
This board provides access to the control, configuration and monitoring of
the 48 digital I/O lines. Each input line is configured as either an input or
output with readback capability. Data is read or written to the channels as
designated by the address and read and write signals. A mask register is
used to disable writes to I/O channels designated as inputs to prevent
possible contention between external input signals and the open drain
output circuitry. 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 AP471 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
15:0
I/O Register IO00-IO15
0x000C
15:0
I/O Register IO16-IO31
0x0010
15:0
I/O Register IO32-IO47
0x0014
15:0
Write Mask Register IO00-IO15
0x0018
15:0
Write Mask Register IO16-IO31
0x001C
15:0
Write Mask Register IO32-IO47
0x0020
15:0
Event Enable Register IO00-IO15
0x0024
15:0
Event Enable Register IO16-IO31
0x0028
15:0
Event Enable Register IO32-IO47
0x002C
15:0
Event Type Register IO00-IO15
0x0030
15:0
Event Type Register IO16-IO31
0x0034
15:0
Event Type Register IO32-IO47
0x0038
15:0
Event Polarity Control Reg. IO00-IO15
0x003C
15:0
Event Polarity Control Reg. IO16-IO31
0x0040
15:0
Event Polarity Control Reg. IO32-IO47
0x0044
15:0
Event Pending/Clear Register IO00-IO15
0x0048
15:0
Event Pending/Clear Register IO16-IO31
0x004C
15:0
Event Pending/Clear Register IO32-IO47