SWD Debug Interface
These pages are organized into two layers:
- SWD Base Class: describes the
LibXR::Debug::Swdabstraction, transfer policy, and DP/AP helper APIs - SWD GPIO Implementation: describes the GPIO bit-bang
SwdGeneralGPIOimplementation, plusloops_per_uscalibration and frequency selection
In current mainline, these two layers map directly to the real source layering:
- the
Swdbase class owns link control, the single-transferTransfer()primitive, the WAIT-retry wrapper, and DP/AP helper APIs; SwdGeneralGPIOis one concrete backend that implements that abstraction over GPIO bit-banging.