Skip to content

Commit f772195

Browse files
author
Akshay Sharma
committed
Add Content Functions/External Interrupts
1 parent 864d3b4 commit f772195

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

Language/Functions/External Interrupts/attachInterrupt.adoc

Whitespace-only changes.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
:source-highlighter: pygments
2+
:pygments-style: arduino
3+
:ext-relative: adoc
4+
5+
6+
= detachInterrupt()
7+
8+
9+
// OVERVIEW SECTION STARTS
10+
[#overview]
11+
--
12+
13+
[float]
14+
=== Description
15+
Turns off the given interrupt.
16+
[%hardbreaks]
17+
18+
19+
[float]
20+
=== Syntax
21+
`detachInterrupt()` +
22+
`detachInterrupt(pin)` (Arduino Due only)
23+
24+
[float]
25+
=== Parameters
26+
`interrupt`: the number of the interrupt to disable (see link:attachInterrupt{ext-relative}[attachInterrupt()] for more details).
27+
28+
`pin`: the pin number of the interrupt to disable (Arduino Due only)
29+
30+
[float]
31+
=== Returns
32+
Nothing
33+
34+
--
35+
// OVERVIEW SECTION ENDS
36+
37+
38+
39+
40+
// HOW TO USE SECTION STARTS
41+
[#howtouse]
42+
--
43+
44+
[float]
45+
=== See also
46+
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
47+
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
48+
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
49+
[role="language"]
50+
* #LANGUAGE# link:attachInterrupt{ext-relative}[attachInterrupt()]
51+
52+
--
53+
// HOW TO USE SECTION ENDS

0 commit comments

Comments
 (0)