aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/lang/api/disabledebugports.rst
blob: 071d4c3a97d0626d3e1972b7c2914015e2277f41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.. highlight:: cpp

.. _lang-disabledebugports:

disableDebugPorts()
===================

Used to disable the JTAG and Serial Wire debugging ports.

Library Documentation
---------------------

.. doxygenfunction:: disableDebugPorts

Example
-------

 ::

    void setup() {
        disableDebugPorts();
    }

    void loop() {
        // Now you can use the debug port pins (the pins on the JTAG
        // header on the Maple) as ordinary pins.
    }

See Also
--------

- :ref:`lang-enabledebugports`
- Important erratum on Maple pin 43

.. TODO direct off-site link to <maple-nrst-pb4>