http://www.wavecom.com/forum Open AT ® Release version: 4.10 |
This application firstly subscribes to the IRQ service, and stops on any error
(please check the displayed traces for more information).
Then, the +IRQ command has to be used to configure the input interruption pin, and the ExtInt processing time
When an interruption occurs on the configured pin, a process of the required duration is started. At the same time, the SCTU interruption
is configured to occur each 1ms, with a trace display.
Important note:
as written in the ADL IRQ service documentation, this one one is not available in RTE mode.
This sample is so only usable in Target environment.
AT+IRQ (Interruption process control command)
Command | Answers |
AT+IRQ? | +IRQ:
<InputPin>
,
<ProcessDuration>
OK |
AT+IRQ=? | +IRQ:
(0-1)
,
(10-1000)
OK |
AT+IRQ=[ <InputPin> ],[ <ProcessDuration> ] | +CME ERROR: 3 or OK |
Parameter | Values range | Description | Default value |
InputPin | 0-1 | Input external interruption pin to be monitored. | 0 |
ProcessDuration | 10-1000 | External interruption pin event processing time. | 10 |
Updated: Tue Sep 19 17:11:11 CEST 2006;