diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-04-25 21:23:00 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-04-25 22:03:25 -0400 |
commit | 95af192c99459c56bb30763afd93582a524efc3a (patch) | |
tree | e664f8366a82181a8e1a5e42f514651f90b72888 /docs/source/lang/api/enabledebugports.rst | |
parent | bf72983543f446026556e13f62d63aad2092f1ec (diff) | |
download | librambutan-95af192c99459c56bb30763afd93582a524efc3a.tar.gz librambutan-95af192c99459c56bb30763afd93582a524efc3a.zip |
Better debug port support.
- gpio.h: afio_mapr_swj_config() renamed afio_cfg_debug_ports()
- [new] wirish_debug.h: disableDebugPorts(), enableDebugPorts()
- Maple, Maple Native, and Maple RET6 PIN_MAPs are now larger by 5,
have mappings for the extra JTAG/SW pins.
Documentation was updated appropriately.
Diffstat (limited to 'docs/source/lang/api/enabledebugports.rst')
-rw-r--r-- | docs/source/lang/api/enabledebugports.rst | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/source/lang/api/enabledebugports.rst b/docs/source/lang/api/enabledebugports.rst new file mode 100644 index 0000000..bee2b0a --- /dev/null +++ b/docs/source/lang/api/enabledebugports.rst @@ -0,0 +1,31 @@ +.. highlight:: cpp + +.. _lang-enabledebugports: + +enableDebugPorts() +================== + +Used to enable the JTAG and Serial Wire debugging ports. + +Library Documentation +--------------------- + +.. doxygenfunction:: enableDebugPorts + +Example +------- + + :: + + void setup() { + enableDebugPorts(); + // Now you can debug using JTAG and SW-Debug + } + + void loop() { + } + +See Also +-------- + +* :ref:`lang-disabledebugports` |