Protouch2 GUI User Manual
; Example 1: write XDATA[3000]to 1234
XWRE_3000=12
XWRE_3001=34
; Example 2: write XDATA[3000]to 1234
XWRE_3002=12 34
; XDATA Set bits. i.e XDATA[address] |= yy
; XSET_ is the identifier to initiate xdata set bits operation.
; Example 1:
XSET_3000=10
XSET_3001=02
; Example 2:
XSET_3000=02 14 ;
address 0x3001
; 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 "="
10.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. File extension
is .regdmp.
2016 Microchip Technology Inc
; sets bit 4 in xdata address 0x3000
; sets bit 1 in xdata address 0x3001
sets bit 1 in xdata address 0x3000 and sets bit 2,4 in xdata
; clears bit 0,1,4 in xdata address 0x3000
xdata
address 0x3001
Page 30
Need help?
Do you have a question about the Protouch2 and is the answer not in the manual?