R308 AT Command Manual - wless.ru
R308 AT Command Manual - wless.ru
R308 AT Command Manual - wless.ru
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>R308</strong> <strong>AT</strong> <strong>Command</strong>s<br />
S13 – ETRX2: Pull-up enable ETRX3: I/O Configuration<br />
Description<br />
Parameters<br />
Configures the I/O pins.<br />
XXXX (ETRX2) or XXXXXXXX (ETRX3)<br />
Setting a bit on the ETRX2 enables the builtin<br />
pull-up on the corresponding pin.<br />
Setting a bit on the ETRX3 will have the<br />
following effect:<br />
Where XXXX represents a 16-bit hexadecimal<br />
number and XXXXXXXX represents a 32-bit<br />
hexadecimal number.<br />
S13 S16 S18<br />
0 0 0 Floating Input<br />
0 0 1 floating input<br />
0 1 0 Output driving 0<br />
0 1 1 Output driving 1<br />
1 0 0 Input with pull-down<br />
1 0 1 Input with pull-up<br />
1 1 0 Open Drain Output (0)<br />
1 1 1 Open Drain Output<br />
(open)<br />
Operations<br />
R/W LOCAL<br />
R/W REMOTE<br />
Becomes effective<br />
After Reset<br />
ETRX2: representing I/O pins<br />
xx BA98 7654 3210<br />
e.g. setting bit 7 to 1 will enable the pull-up for I/O<br />
pin 7<br />
ETRX3: representing the I/O pins<br />
xxxxxxxx <br />
e.g. setting bit 7 to 1 will configure PA7 to either be<br />
an input with pull-up or pull-down, or an open-drain<br />
output.<br />
Factory Default<br />
ETRX2: 0000<br />
ETRX3: 00000000<br />
Note<br />
To achieve ultra low current consumption on<br />
the ETRX2 it is recommended not to use the<br />
built-in pull-ups and leave this register in its<br />
default state.<br />
The ETRX357‟s current consumption may<br />
benefit from the use of pull-ups or pull-downs<br />
where inputs are otherwise unconnected.<br />
Storage<br />
Non-Volatile<br />
SW release R300 ●<br />
©2012 Telegesis (UK) Ltd - 68 - <strong>AT</strong> <strong>Command</strong> <strong>Manual</strong> (Rev 3.08)