void wwatch (
unsigned long address); /* address to watch */
Description
The debug function wwatch can be used in a debugger signal
function to supervise the specified address until it is
written. The target program continues to execute. This function is
useful when creating signal functions that simulate external
hardware.
The function returns after a write access occurred on
address, allowing the signal function to read the written
value and modify the content of the memory if required.
Note
If address refers to a Special Function Register (SFR)
or Peripheral Register repetitive writes may occur, which your
signal function must be prepared to ignore.
The function can be called from within a signal function only.
Calls to wwatch from outside a signal function are not
allowed and result in an error message.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.