LE910Cx AT Commands Reference Guide
80502ST10950A Rev. 14 Page 1116 of 1904 2022-03-04
3.15.10. AT#GPIO - General Purpose Input/Output Pin Control
General Purpose Input/Output Pin Control
AT#GPIO=[<pin>,<mode>[,<dir>[,<save>]]]
Execution command sets the value of the general-purpose output pin
GPIO<pin> according to <dir> and <mode> parameter.
Not all configuration for the three parameters are valid.
Parameters:
GPIO pin number.
supported range is from 1 to a value that
depends on the hardware.
This parameter's meaning depends on
<dir> setting.
Refer to Additional info sections.
remove any Pull-up/Pull-down if <dir>=0 - INPUT;
output pin cleared to 0 (Low) if <dir>=1 - OUTPUT
remove any Pull-up/Pull-down if <dir>=0 - INPUT;
output pin set to 1 (High) if <dir>=1 - OUTPUT
Reports the read value from the input pin if <dir>=0 or
1 - INPUT or OUTPUT
enable Pull-Up if <dir>=0 - INPUT