Murata Electronics North America DNT500FP Manual Do Utilizador
www.RFM.com
Technical support +1.800.704.6079
Page 37 of 58
©2008 by RF Monolithics, Inc.
E-mail: tech sup@rfm.com
DNT900 - 11/05/08
PWM0.. 1
- sets the PWM (DAC) outputs. The DC voltage derived from the integrated low-pass filters on
the PWM output provides an effective DAC resolution of 7 bits (8 bits achievable with external filtering).
The range of this parameter is 0x0000 to 0x00FF.
The range of this parameter is 0x0000 to 0x00FF.
4.2.7 Bank 6 - I/O setup
06
00
GPIO_Dir
R/W
1
4
06
01
GPIO_Init
R/W
1
4
06
02
GPIO_Alt
R/W
1
4
06
03
GPIO_Edge Trigger
R/W
1
8
06
04
GPIO_SleepMode
R/W
1
1
06
05
GPIO_SleepDir
R/W
1
6
06
06
GPIO_SleepState
R/W
1
6
06
07
PWM0_Init
R/W
2
10
06
09
PWM1_Init
R/W
2
10
06
0B
ADC_SampleIntvl
R/W
2
16
06
0D
ADC0 ThresholdLo
R/W
2
10
06
0F
ADC0_ThresholdHi
R/W
2
10
06
11
ADC1_ThresholdLo
R/W
2
10
06
13
ADC1_ThresholdHi
R/W
2
10
06
15
ADC2_ThresholdLo
R/W
2
10
06
17
ADC2_ThresholdHi
R/W
2
10
06
19
IO_ReportTrigger
R/W
1
0..1
06
1A
IO_ReportInterval
R/W
4
32
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_Edge Trigger
- 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.
Size in Range
Ba n k L o c' n Na m e
R/W bytes in bits Default; Options
0 (all inputs)
0 (all zeros)
0x08 = use GPIO3 for RS485 enable
0x00
0 = off; 1 = use sleep I/O states
0 (all inputs)
0 (all zeros)
0x0000
0x0000 0x0001
(10 ms)
0x0000
0x03FF
0x0000
0x03FF
0x0000
0x03FF
0x00 = off
0x00000BB8 (every 30 seconds)
0 (all zeros)
0x08 = use GPIO3 for RS485 enable
0x00
0 = off; 1 = use sleep I/O states
0 (all inputs)
0 (all zeros)
0x0000
0x0000 0x0001
(10 ms)
0x0000
0x03FF
0x0000
0x03FF
0x0000
0x03FF
0x00 = off
0x00000BB8 (every 30 seconds)