www.RFM.com
Technical s1.678.684.2000
Page 44 of 82
©2009 by RF Monolithics, Inc.
E-mail:
DNT2400 - 08/18/09
06
11
ADC1_ThresholdLo
R/W
2
10
0x0000
06
13
ADC1_ThresholdHi
R/W
2
10
0x03FF
06
15
ADC2_ThresholdLo
R/W
2
10
0x0000
06
17
ADC2_ThresholdHi
R/W
2
10
0x03FF
06
19
IO_ReportTrigger
R/W
1
0..1
0x01 (GPIO0)
06
1A
IO_ReportInterval
R/W
4
32
0x00000BB8 (every 30 seconds)
GPIO_Dir - this parameter is a bitmask that sets whether the GPIOs are inputs (0) or outputs (1). The
default is all inputs.
GPIO_Init - this parameter is a bitmask that sets the initial value for any GPIOs which are enabled as
outputs. For GPIOs enabled as inputs, this sets the initial pull-up setting.
GPIO_Alt - provides and alternate function for GPIO3 as an RS-485 driver enable.
GPIO_EdgeTrigger - when GPIO triggers are enabled for automatic I/O reporting, this function controls
the trigger behavior:
bits 7..6
GPIO3 edge function
bits 5..4
GPIO2 edge function
bits 3..2
GPIO1 edge function
bits 1..0
GPIO0 edge function
The bit values for each GPIO map to the following settings:
Value
GPIO edge behavior
11
Rising edge trigger, neither level keeps remote awake
10
Bidirectional edge trigger, neither level keeps remote awake
01
Rising edge trigger, holding high keeps remote awake
00
Falling edge trigger, holding low keeps remote awake
GPIO_SleepMode - when set to 1, this parameter enables setting of GPIOs to the designated direction
and state whenever a device is asleep.
GPIO_SleepDir - when GPIO_SleepMode is enabled, this parameter functions as a secondary GPIO_Dir
to set the direction of the GPIOs during a device’s sleep period. This enables the user to provide alternate
configurations during sleep that will help minimize current consumption. Bits 0..5 correspond to
GPIO0..GPIO5. Set a GPIO_SleepDir bit to 1 to specify an output, or to 0 to specify an input.
GPIO_SleepState - when GPIO_SleepMode is enabled, this parameter functions as a bitmask to control
the states of the GPIOs, the RADIO_TXD output, and the /HOST_CTS and /DCD outputs during a de-
vice’s sleep period. This allows the user to set alternate configurations during sleep to minimize current
consumption. Bits 0..5 correspond to GPIO0..GPIO5 respectively. Bit 6 sets the state of RADIO_TXD,
and bit 7 sets the states of /HOST_CTS and /DCD. A sleep state bit is set to 1 to specify a high output or
an internal pull-up on an input, or to 0 to specify a low output or no internal pull-up on an input. Bit 6 must
be set low in order to achieve minimum sleep current (high impedance load assumed), and the other bits
may need to be set low or high depending on their external loads. When bit 6 is set low, expect a serial
“break” condition to occur as the module wakes from sleep. The serial break condition can be eliminated
by setting bit 6 high, but sleep current will be increased.
PWM0_Init - this parameter sets the initial value for PWM0 at startup.
PWM1_Init - this parameter sets the initial value for PWM1 at startup.