The user can configure the MPU_MA_WP unit to generate a trigger upon watchpoint match. The MPU_MA_WP has a single trigger output (MA_WP_TRIGGER) which is mapped to the CTITRIGIN[6] input of the CS_CTI_S module and is shared by the following trigger sources:
- Data watchpoint trigger: Upon data watchpoint match, the DBG_HWWP0_MAIN_CNTL[31] TRIG bit is set (if trigger generation is enabled). This status bit is cleared upon 0->1 transition of the DBG_HWWP0_MAIN_CNTL[0] WP_EN bit
- Memory barrier watchpoint trigger: Upon memory barrier match, the DBG_HWWP0_MEM_CNTL[31] MEM_BAR_TRIG bit is set (if trigger generation is enabled). This status bit is cleared upon 0->1 transition of the DBG_HWWP0_MEM_CNTL[0] MEM_BAR_WP_EN bit
- Chained watchpoint trigger: Upon chained watchpoint match, the DBG_HWWP0_CHAIN_CNTL[31] CHAIN_WP_TRIG bit is set (if trigger generation is enabled). This status bit is cleared upon 0->1 transition of the DBG_HWWP0_CHAIN_CNTL[0] CHAIN_WP_EN bit
Note that the MPU_MA_WP module supports only a global enable (by setting the TRIG_CTRL[0] TRIG_EN bit) for all three sources listed above. It is SW responsibility to identify the source of the trigger generation by checking the corresponding trigger status bits.