![RFM DNT90 Series Скачать руководство пользователя страница 49](http://html.mh-extra.com/html/rfm/dnt90-series/dnt90-series_integration-manual_1450393049.webp)
www.RFM.com
Technical s1.678.684.2000
Page 49 of 82
© 2010-2012 by RF Monolithics, Inc.
E-mail:
DNT90 Integration Guide - 05/10/12
characters greater than
TxTimeout
. If this parameter is set larger than the applicable slot size, the slot
size overrides this parameter and a transmission is triggered when the slot size is filled.
TransPtToPtMode
- when this parameter is set to 0x00, the destination address of transparent mode
packets will be the configured
RemoteDestAddr
. When set to 0x01, the address initializes to
Remote-
DestAddr
and then updates to the most recent RX packet processed.
MsgsPerHop
- this parameter sets the maximum number of messages a DNT90 can send in each hop
frame. The default value is 8 messages, which is suitable for most applications. Setting
MsgsPerHop
to a
low value allows message flow rate to be controlled.
7.4.6 Bank 0x05 - I/O Parameters
Bank
Location
Name
R/W
Size
Range In Bits
Default
0x05 0x00
All-IO
R/W
0x0D 104
N/A
0x05 0x0D
Gpio0
R/W
0x01 1
0
0x05 0x0E
Gpio1
R/W
0x01 1
0
0x05 0x0F
Gpio2
R/W
0x01 1
0
0x05 0x10
Gpio3
R/W
0x01 1
0
0x05 0x11
Gpio4
R/W
0x01 1
0
0x05 0x12
Gpio5
R/W
0x01 1
0
0x05 0x13
Adc0
R
0x02 12
N/A
0x05 0x15
Adc1
R
0x02 12
N/A
0x05 0x17
Adc2
R
0x02 12
N/A
0x05 0x19
EventFlags
R/W
0x02 16
N/A
0x05 0x1B
Dac0
R/W
0x02 12
0
0x05 0x1D
Dac1
R/W
0x02 12
0
Table 7.4.6.1
All-IO
- this 13-byte parameter packs all the following parameters into a single value. Note that the infor-
mation in parameters GPIO0 through GPIO5 is compressed into a single byte to save space in the All-IO
parameter. When the ADC is operating in differential mode, the ADC1 to ADC0 differential reading is
stored in the ADC0 position, and the ADC2 to ADC0 differential reading is stored in the ADC1 position.
The ADC2 reading is not used in ADC differential mode and this position is set to 0.
Gpio0 through Gpio5
- if a pin is configured as an output, writing to its corresponding parameter to sets
the pin’s logic state. If a pin is configured as an input, writing to its corresponding parameter enables or
disables the pin’s internal pull-up. Reading these registers returns the current level detected on the corre-
sponding pins.
Adc0 through Adc2
- read-only parameters that return the current reading for the selected ADC channel
(Little-Endian byte order). When the ADC is operating in differential mode, the ADC1 to ADC0 differential
reading is stored in the ADC0 position, and the ADC2 to ADC0 differential reading is stored in the ADC1
position. The ADC2 reading is not used in ADC differential mode and this position is set to 0. Also, see
the discussion of the
AdcSampleIntvl
parameter below.
EventFlags
- used with the automatic I/O reporting feature, this parameter indicates which I/O events
have been triggered since the last report (write 0x0000 to reset):