Maxim-integrated MAXQ7666 Manual de usuario Pagina 383

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 386
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 382
MAXQ7665/MAXQ7666 Users Guide
16-6
16.2 Data Transfer Functions
Function: moveDP0
Summary: Reads the byte/word value pointed to by DP[0].
Inputs: DP[0]: Address to read from.
Outputs: GR: Data byte/word read.
Destroys: Selects DP[0] in DPC.
Notes:
1) Before calling this function, DPC should be set appropriately to configure DP[0] 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: moveDP0inc
Summary: Reads the byte/word value pointed to by DP[0], then increments DP[0].
Inputs: DP[0]: Address to read from.
Outputs: GR: Data byte/word read.
DP[0] is incremented.
Destroys: Selects DP[0] in DPC.
Notes:
1) Before calling this function, DPC should be set appropriately to configure DP[0] 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: moveDP0dec
Summary: Reads the byte/word value pointed to by DP[0], then decrements DP[0].
Inputs: DP[0]: Address to read from.
Outputs: GR: Data byte/word read.
DP[0] is decremented.
Destroys: Selects DP[0] in DPC.
Notes:
1) Before calling this function, DPC should be set appropriately to configure DP[0] 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: 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: 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.
Maxim Integrated
Vista de pagina 382
1 2 ... 378 379 380 381 382 383 384 385 386

Comentarios a estos manuales

Sin comentarios