Notes:
The
?
option allows reading back the current setting. The
mode
parameter allows specifying
how the GPIO1 pin will operate. The available modes are:
Mode
Description
0
Analog, pin is internally disconnected and not used (default)
1
Input, low-to-high transition exits sleep mode
2
Input, high-to-low transition exits sleep mode
3
Output, set low (1)
4
Output, set high (1)
5
Not used
6
Not used
7
Output, low while transmitting. Otherwise output is high
8
Output, high while transmitting. Otherwise output is low
9
Output, low indicates in sleep mode (2). Otherwise output is high
10
Output, high indicates in sleep mode (2). Otherwise output is low
It is the responsibility of the client to provide pull-up resistors to the 3.3V supply rail. See the
reference design for resistor sizing. All output modes are open drain.
(1) - These two variations allow the user application to use GPIO1 as a general purpose output.
(2) - If either of these modes are selected, the pin will be set to the selected state after the client
has issued the
$SL
command. The pin will return to the awake state only if the sleep mode is
terminated by the
S
or
T
parameter being reached, or activity is detected on the serial RX line.
October 2020
Swarm Tile Manual - Rev 1.10
45/65