Memory Watchpoints
==================

As mentioned in :ref:`sec-debug-interface`, the Data Watchpoint and Trace Unit
(DWT module) contains four memory watchpoints that allow breakpoints on memory
access. The hardware match functionality looks only at the address. If intended
for use on a variable, the variable must be statically allocated.

.. note::
    If a data watchpoint with value match is used, two of the four watchpoints
    are used.
