Maxim-integrated MAX31782 Manual do Utilizador Página 219

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 223
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 218
Maxim Integrated 21-6
MAX31782 User’s Guide
Revision 0; 8/11
21.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 21-1. When a byte mode address is used, CDA0 must be set appropriately to access either the upper or
lower half of program flash memory.
This function automatically selects DP[1] as the data pointer before reading the byte/word value.
Implemented as: move GR, @DP[1]
21.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 21-1. When a byte mode address is used, CDA0 must be set appropriately to access either the upper or
lower half of program flash memory.
This function automatically selects DP[1] as the data pointer before reading the byte/word value.
Implemented as: move GR, @DP[1]++
21.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 21-1. When a byte mode address is used, CDA0 must be set appropriately to access either the upper or
lower half of program flash memory.
This function automatically selects DP[1] as the data pointer before reading the byte/word value.
Implemented as: move GR, @DP[1]--
Function
UROM_moveDP1
Summary Reads the byte/word value pointed to by
DP[1].
Inputs
DP[1]: Address to read from data space (include 8000h offset if reading from flash).
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 data space (include 8000h offset if reading from flash).
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 data space (include 8000h offset if reading from flash).
Outputs
GR: Data byte/word
read.
DP[1] is
decremented.
Destroys
None
Vista de página 218
1 2 ... 214 215 216 217 218 219 220 221 222 223

Comentários a estes Manuais

Sem comentários