aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/lang/api/disabledebugports.rst
blob: 283cdbf305a0bc938df0a084ca3a9e0432f55016 (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
.. 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`
- :ref:`Important erratum on Maple pin 43 <maple-nrst-pb4>`