At+Cgisr Set Gpio Interrupt Trigger Condition - SimCom SIM5350 Command Set

At command set
Table of Contents

Advertisement

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
AT+CGISR=<INT_IDX>
Write Command
AT+CGISR=< INT_IDX
>,<detect>,<polarity>
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
Responses
+CGISR: <
INT_IDX
>[<detect>,<polarity>]
OK
Responses
OK
134
6/9/2014

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIM5350 and is the answer not in the manual?

Questions and answers

Table of Contents