User manual
www.ti.com
Cortex-M3 Processor Registers
2.7.2.13 MASK1 Register (Offset = 34h) [reset = X]
MASK1 is shown in Figure 2-53 and described in Table 2-77.
Mask 1 Use the DWT Mask Registers 1 to apply a mask to data addresses when matching against
COMP1.
Figure 2-53. MASK1 Register
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RESERVED MASK
R/W-X R/W-0h
Table 2-77. MASK1 Register Field Descriptions
Bit Field Type Reset Description
31-4 RESERVED R/W X
Software should not rely on the value of a reserved. Writing any
other value than the reset value may result in undefined behavior.
3-0 MASK R/W 0h
Mask on data address when matching against COMP1. This is the
size of the ignore mask. That is, DWT matching is performed
as:(ADDR ANDed with (0xFFFF left bit-shifted by MASK)) ==
COMP1. However, the actual comparison is slightly more complex to
enable matching an address wherever it appears on a bus. So, if
COMP1 is 3, this matches a word access of 0, because 3 would be
within the word.
107
SWCU117A–February 2015–Revised March 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated