ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 297 of 545 2020-04-15
3.8.4. AT#SLED - STAT_LED GPIO Setting
The command configures the behavior of the STAT_LED status.
AT#SLED=<mode>[,<onDuration>[,<offDuration>]]
STAT_LED is mapped on a GPIO for ME910G1 and ML865G1 families, but it is on a dedicated pin
for ME310G1 family.
To configure a GPIO pin as STAT_LED GPIO, the user must enter AT#GPIO=x,0,2 command to
set the GPIO_x pin as ALT1 alternate function. At the next power ON, the GPIO pin is low until the
control reads the saved setting in NVM and configures the GPIO_x as STAT_LED GPIO. Not all
GPIOs can be configured as STAT_LED pin. See #GPIO description to know the available GPIOs
for this function.
In case of a dedicated pin for STAT_LED function, there is no GPIO to set in ALT1 function.
Parameters:
defines the STAT_LED pin behavior.
"pin" indicates the GPIO or the dedicated pin according to
the family of modules used.
pin is handled with specific timings. See Additional info section
pin is turned ON/OFF alternatively, with period defined by the sum
<onDuration> + <offDuration>
pin is handled with specific timings. See Additional info section
duration of period in which STAT_LED pin is tied high
while <mode>=3
duration of period in which STAT_LED pin is tied low
while <mode>=3