Protouch2 GUI User Manual
; XDATA Clear bits. i.e XDATA[address] &= (~yy)
; XCLR_ is the identifier to initiate xdata clear bits operation.
; Example 1:
XCLR _3000=13
XCLR_3001=01 ; clears bit 2 in
; Example 2:
XCLR_3000=01 40 ; clears bit 2 in xdata address 0x3000 and clears bit 5 in
xdata address 0x3001
Note 1: Follow either one of the example of respective operation
Note 2: No line breaks to be inserted while specifying multi byte values
Note 3: ";" on line start comments that whole line
Note 4: No space to be inserted before and after "="
9.3.2.7 Live Update
Register Read and Write can be done in Live Update by using GUI. Register Value
will be reflected for given Register address when Read option is selected. Data can be
written to register address by selecting Write option. Number of bytes to be read or
written can be mentioned in length field. Selecting Advanced Options allows user to
store read values in a file and writes values to registers from given file.
MICROCHIP CONFIDENTIAL
; clears bit 0,1,4 in xdata address 0x3000
address 0x3001
xdata
Page 24
Need help?
Do you have a question about the Protouch2 and is the answer not in the manual?