![SimCom SIM5350 Скачать руководство пользователя страница 136](http://html1.mh-extra.com/html/simcom/sim5350/sim5350_command-set_1274792136.webp)
SIM5350 AT Command Set
9.8
AT+CGFUNC Enable/disable the function for the special GPIO.
Description
SIM5350 supplies many GPIOs, all of which can be used as General Purpose Input/Output pin,
interrupt pin and some of them can be used as function pin.
This command is used to enable/disable the function for the special GPIO. Please refer to the
document “SIM535x_GPIO_Application_note” for more details.
The configuration will be saved automatically.
SIM PIN References
NO
Vendor
Syntax
Test Command
Responses
AT+CGFUNC=?
+CGFUNC: (list of supported
<function>
s),(list of supported
<switch>
s)
OK
Read Command
Responses
+CGFUNC:
<switch>
OK
AT+CGFUNC=
<function>
ERROR
Write Command
Responses
OK
AT+CGFUNC=
<function>
,
<switch>
ERROR
Defined values
<function>
1
GPIO39 used for status led output.
2
GPIO37 used for wakeup SIM535x.
3
GPIO36 used for wakeup the host CPU.
6
GPIO9, GPIO10, GPIO11, GPIO12 used for external audio codec PCM interface.
7
GPIO47 used for CLOCK M0 function.
9
GPIO46 used for PWM clock output.
10
GPIO15, GPIO16 used for IIC.
11
GPIO53 used for SIM card auto detect.
<switch>
0
disable the function, the corresponding PIN function as GPIO.
1
enable the function.
Examples
SIM5350_ATC_V1.02
6/9/2014
135
Содержание SIM5350
Страница 1: ...AT Command Set SIM5350 _ATC_V1 02...