![SimCom SIM5350 Скачать руководство пользователя страница 135](http://html1.mh-extra.com/html/simcom/sim5350/sim5350_command-set_1274792135.webp)
SIM5350 AT Command Set
9.7
AT+CGISR Set GPIO interrupt trigger condition
Description
The module supplies many GPIOs, all of which can be used as General Purpose Input/Oupt pin and
some of them can be used as function pin or interrupt pin.
This command is used to set one GPIO pin as an interrupt source, and then set the detect
type[optional] and polarity type[optional], and enable interrupt.
SIM PIN References
No
Syntax
Read Command
Responses
AT+CGISR=<
INT_IDX
>
+CGISR: <
INT_IDX
>[<
detect
>,<
polarity
>]
OK
Write Command
Responses
AT+CGISR=
<
INT_IDX
>
,<
detect
>,<
polarity
>
OK
Defined values
<
INT_IDX
>
37, 48, 49, 53
<
detect
>
0 – level detection.
1 – edge detection
<
polarity
>
0 – low level/edge detection
1 – high level/edge detection
Examples
AT+CGISR=1
+CGISR : 1[0,1]
OK
AT+CGISR=1,0,1
OK
NOTE:
After
setting one GPIO pin as an interrupt source successfully, the setting will be saved.
SIM5350_ATC_V1.02
6/9/2014
134
Содержание SIM5350
Страница 1: ...AT Command Set SIM5350 _ATC_V1 02...