![Acromag AcroPack AP471 Series Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/acromag/acropack-ap471-series/acropack-ap471-series_user-manual_2841147025.webp)
SERIES AP471 ACROPACK
USER
’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 23 -
http://www.acromag.com
- 23 -
www.acromag.com
points to 47. Bits 1-7 of this register are not used and will always read as
zero.
WARNING: IF USING I/O47 AS THE DEBOUNCE CLOCK, DO NOT SET THE I/O
AS AN ACTIVE OUTPUT VIA THE CHANNEL I/O REGISTERS. SETTING I/O47
AS AN ACTIVE OUTPUT MAY CAUSE A BUS CONFLICT.
Bit(s)
FUNCTION
0
Debounce Clock Select
0
Internal clock @ 31.25 MHz (default)
1
External clock on I/O47
7 to 1
Not Used
Software Reset Register (Write Only)
(BAR0 + 0x0000 006C)
Writing a 1 to the bit 0 position of this register will cause a software reset to
occur. This bit is not stored and merely acts as a trigger for software reset
generation (this bit will always read back as 0). The Interrupt Enable Bit of
the Interrupt Enable and Status register is not cleared in response to a
software reset. Bits 1-7 of this register are not used and will always read as
zero.
XADC Status/Control Register (Read/Write)
(BAR0 + 0x0000 0070)
This read/write register will access the XADC register at the address set in
the XADC Address Register. This allows the board’s temperature and supply
voltages to be read.
For example, the address of the XADC Status register that is to be accessed
is first set via the XADC Address register at BAR0 plus 0x74H. Next, this
register at BAR0 plus 0x70H is read. Bits 22 to 16 of this register hold the
address of the XADC register that is accessed. Data bits 15 to 6 of this
register hold the “ADCcode” temperature, Vccint, or Vccaux value. Data bits
5 to 0 are not used. Valid addresses are given in column one of the table
below.
Reading or writing this register is possible via 32-bit data transfers.
The 10-bits digitized and output from the ADC can be converted to
temperature by using the following equation.
15
.
273
1024
975
.
503
)
(
ADCcode
C
e
Temperatur
The 10-bits digitized and output from the ADC can be converted to voltage
by using the following equation.
V
ADCcode
volts
age
SupplyVolt
3
1024
)
(