Owner's manual

Function: moveDP1dec
Summary: Reads the byte/word value pointed to by DP[1], then decrements DP[1].
Inputs: DP[1]: Address to read from.
Outputs: GR: Data byte/word read.
DP[1] is decremented.
Destroys: Selects DP[1] in DPC.
Notes:
1) Before calling this function, DPC should be set appropriately to configure DP[1] for byte or word mode.
2) The address passed to this function should be based on the data memory mapping for the utility ROM, as explained in
Section 1
.
The CDA0 and CDA1 bits must be set appropriately to access either the upper or lower half of program flash memory.
3) This function automatically refreshes the data pointer before reading the byte/word value.
Function: moveFP
Summary: Reads the byte/word value pointed to by BP[OFFS].
Inputs: BP[OFFS]: Address to read from.
Outputs: GR: Data byte/word read.
Destroys: Selects BP in DPC.
Notes:
1) Before calling this function, DPC should be set appropriately to configure BP[OFFS] for byte or word mode.
2) The address passed to this function should be based on the data memory mapping for the utility ROM, as explained in
Section 1
.
The CDA0 and CDA1 bits must be set appropriately to access either the upper or lower half of program flash memory.
3) This function automatically refreshes the data pointer before reading the byte/word value.
Function: moveFPinc
Summary: Reads the byte/word value pointed to by BP[OFFS] then increments OFFS.
Inputs: BP[OFFS]: Address to read from.
Outputs: GR: Data byte/word read.
OFFS is incremented.
Destroys: Selects BP in DPC.
Notes:
1) Before calling this function, DPC should be set appropriately to configure BP[OFFS] for byte or word mode.
2) The address passed to this function should be based on the data memory mapping for the utility ROM, as explained in
Section 1
.
The CDA0 and CDA1 bits must be set appropriately to access either the upper or lower half of program flash memory.
3) This function automatically refreshes the data pointer before reading the byte/word value.
Function: moveFPdec
Summary: Reads the byte/word value pointed to by BP[OFFS] then decrements OFFS.
Inputs: BP[OFFS]: Address to read from.
Outputs: GR: Data byte/word read.
OFFS is decremented.
Destroys: Selects BP in DPC.
Notes:
1) Before calling this function, DPC should be set appropriately to configure BP[OFFS] for byte or word mode.
2) The address passed to this function should be based on the data memory mapping for the utility ROM, as explained in
Section 1
.
The CDA0 and CDA1 bits must be set appropriately to access either the upper or lower half of program flash memory.
3) This function automatically refreshes the data pointer before reading the byte/word value.
MAXQ7665/MAXQ7666 Users Guide
15-5
Maxim Integrated