| |||
| Home > Debug in Depth > The watchpoint registers | |||
The two watchpoint units, known as Watchpoint 0 and Watchpoint 1, each contain three pairs of registers:
address value and address mask
data value and data mask
control value and control mask.
Each register is independently programmable and has a unique address. The function and mapping of the resisters is shown in Table C‑4.
Table C.4. Function and mapping of EmbeddedICE registers
Address | Width | Function |
|---|---|---|
00000 | 3 | Debug control |
00001 | 5 | Debug status |
00100 | 6 | Debug comms control register |
00101 | 32 | Debug comms data register |
01000 | 32 | Watchpoint 0 address value |
01001 | 32 | Watchpoint 0 address mask |
01010 | 32 | Watchpoint 0 data value |
01011 | 32 | Watchpoint 0 data mask |
01100 | 9 | Watchpoint 0 control value |
01101 | 8 | Watchpoint 0 control mask |
10000 | 32 | Watchpoint 1 address value |
10001 | 32 | Watchpoint 1 address mask |
10010 | 32 | Watchpoint 1 data value |
10011 | 32 | Watchpoint 1 data mask |
10100 | 9 | Watchpoint 1 control value |
10101 | 8 | Watchpoint 1 control mask |