AT commands
I/O settings commands
Digi XBee® 3 802.15.4 RF Module User Guide
163
Bit
I/O line
Micro pin
Surface-mount pin
Through-hole pin
12
DIO11
8
8
7
13
DIO7
24
25
12
14
DIO13
3
3
2
15
DIO15
16
17
N/A
16
DIO16
15
16
N/A
17
DIO17
14
15
N/A
18
DIO18
13
14
N/A
19
DIO19
11
12
N/A
Parameter range
Through-hole: 0 - 0xFFFF
SMT/MMT: 0 - 0xFFFFF
Default
0xFFFF
Example
Sending the command
ATPR 6F
turn bits 0, 1, 2, 3, 5 and 6 ON, and bits 4 and 7 OFF. The binary
equivalent of 0x6F is 01101111. Bit 0 is the right-most digit in the binary bit field.
PD (Pull Up/Down Direction)
See
PR (Pull-up/Down Resistor Enable)
for the bit mappings.
Parameter range
Through-hole: 0 - 0xFFFF
SMT/MMT: 0 - 0xFFFFF
Default
0xFFFF
M0 (PWM0 Duty Cycle)
The duty cycle of the PWM0 line (Micro pin 7/SMT pin 7).
If
is set correctly and
P0 (DIO10/RSSI/PWM0 Configuration)
is configured as
PWM0 output, incoming AD0 samples automatically modify the PWM0 value. See
.
To configure the duty cycle of PWM0:
1. Enable PWM0 output (
P0
=
2
).
2. Change
M0
to the desired value.
3. Apply settings (use
CN
or
AC
).