7 urom_movefp, 8 urom_movefpinc, 9 urom_movefpdec – Maxim Integrated MAXQ610 User Manual
Page 199: Maxq610 user’s guide
15-6
MAXQ610 User’s Guide
15.2.7 UROM_moveFP
Notes:
• Before calling this function, DPC should be set appropriately to configure BP[OFFS] for byte or word mode.
• The address passed to this function should be based on the data memory mapping for the utility ROM, as shown
in Figure 2-4 and Figure 2-5 . When a byte mode address is used, CDA0 must be set appropriately to access either
the upper or lower half of program flash/ROM memory .
• This function automatically refreshes the data pointer before reading the byte/word value.
15.2.8 UROM_moveFPinc
Notes:
• Before calling this function, DPC should be set appropriately to configure BP[OFFS] for byte or word mode.
• The address passed to this function should be based on the data memory mapping for the utility ROM, as shown
in Figure 2-4 and Figure 2-5 . When a byte mode address is used, CDA0 must be set appropriately to access either
the upper or lower half of program flash/ROM memory .
• This function automatically refreshes the data pointer before reading the byte/word value.
15.2.9 UROM_moveFPdec
Notes:
• Before calling this function, DPC should be set appropriately to configure BP[OFFS] for byte or word mode.
• The address passed to this function should be based on the data memory mapping for the utility ROM, as shown
in Figure 2-4 and Figure 2-5 . When a byte mode address is used, CDA0 must be set appropriately to access either
the upper or lower half of program flash/ROM memory .
• This function automatically refreshes the data pointer before reading the byte/word value.
Function:
UROM_moveFP
Summary:
Lookup table access using BP[OFFS] .
Inputs:
BP[OFFS]: Location to read from in data space .
Outputs:
GR: Data byte/word read .
Destroys:
None .
Function:
UROM_moveFPdec
Summary:
Lookup table access using BP[OFFS], then decrements OFFS .
Inputs:
BP[OFFS]: Location to read from in data space .
Outputs:
GR: Data byte/word read .
OFFS is decremented .
Destroys:
None .
Function:
UROM_moveFPinc
Summary:
Lookup table access using BP[OFFS], then increments OFFS .
Inputs:
BP[OFFS]: Location to read from in data space .
Outputs:
GR: Data byte/word read .
OFFS is incremented .
Destroys:
None .