Maxim-integrated MAXQ622 Manual do Utilizador Página 243

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 255
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 242
MAXQ612/MAXQ622 Users Guide
Maxim Integrated 17-7
17.2.10 UROM_moveBP
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.
17.2.11 UROM_copyBuffer
Notes:
Before calling this function, DPC should be set appropriately to configure DP[0] and BP[OFFS] for byte or word
mode. Both DP[0] and BP[OFFS] should be configured to the same mode (byte or word) for correct buffer copying.
The addresses 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 pointers before reading the byte/word values.
17.3 Miscellaneous Functions
17.3.1 UROM_stopMode
Function:
UROM_moveBP
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:
None.
Function:
UROM_stopMode
Summary:
Enters stop mode.
Inputs:
None.
Outputs:
None.
Destroys:
None.
Function:
UROM_copyBuffer
Summary:
Copies LC[0] bytes/words (up to 255) from DP[0] to BP[OFFS].
Inputs:
DP[0]: Address to copy from.
BP[OFFS]: Address to copy to.
LC[0]: Number of bytes or words to copy.
Outputs:
OFFS is incremented by LC[0].
DP[0] is incremented by LC[0].
Destroys:
LC[0].
Vista de página 242
1 2 ... 238 239 240 241 242 243 244 245 246 247 248 ... 254 255

Comentários a estes Manuais

Sem comentários