disableDebugPorts() — Maple v0.0.12 Documentation

### Navigation

- next
- previous |
- LeafLabs |
- Index »
- Complete Language Index »

# disableDebugPorts()

Used to disable the JTAG and Serial Wire debugging ports.

## Library Documentation

void disableDebugPorts(void)

  Disable the JTAG and Serial Wire (SW) debug ports.

  You can call this function in order to use the JTAG and SW debug pins as ordinary GPIOs.

  See: | enableDebugPorts()

## 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

- enableDebugPorts()
- Important erratum on Maple pin 43

### Navigation

- next
- previous |
- LeafLabs |
- Index »
- Complete Language Index »