CMSIS-DAP  Version 1.00 - Preview
CMSIS-DAP support for Cortex-M processor-based devices
 All Data Structures Functions Groups Pages
Debug Unit Setup

Functions

static __inline void DAP_SETUP (void)
 Setup of the Debug Unit I/O pins and LEDs (called when Debug Unit is initialized).

Description


Function Documentation

static __inline void DAP_SETUP ( void  )
static

Setup of the Debug Unit I/O pins and LEDs (called when Debug Unit is initialized).

This function performs the initialization of the CMSIS-DAP Hardware I/O Pins and the Status LEDs. In detail the operation of Hardware I/O and LED pins are enabled and set:

  • all I/O pins: input buffer enabled, no pull-up/down except nRESET.
  • on nRESET a weak pull-up is enabled if available.
  • SWCLK/TCK, SWDIO/TMS, TDI output pins are enabled with high level.
  • LED output pins are enabled and LEDs are turned off.