Maxim-integrated MAXQ Family Users Guide: MAXQ2010 Supplement Manual de usuario Pagina 139

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 147
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 138
MAXQ Family Users Guide:
MAXQ2010 Supplement
24-5
24.3.4 UROM_moveDP1
Notes:
Before calling this function, DPC should be set appropriately to configure DP[1] 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 24-1. 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.
24.3.5 UROM_moveDP1inc
Notes:
Before calling this function, DPC should be set appropriately to configure DP[1] 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 24-1. 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.
24.3.6 UROM_moveDP1dec
Notes:
Before calling this function, DPC should be set appropriately to configure DP[1] 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 24-1. 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_moveDP1
Summary:
Reads the byte/word value pointed to by DP[1].
Inputs:
DP[1]: Address to read from.
Outputs:
GR: Data byte/word read.
Destroys:
None.
Function:
UROM_moveDP1inc
Summary:
Reads the byte/word value pointed to by DP[1], then increments DP[1].
Inputs:
DP[1]: Address to read from.
Outputs:
GR: Data byte/word read.
DP[1] is incremented.
Destroys:
None.
Function:
UROM_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:
None.
Vista de pagina 138

Comentarios a estos manuales

Sin comentarios