Maxim-integrated MAXQ Family Users Guide: MAXQ2010 Supplement Uživatelský manuál Strana 140

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 147
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 139
MAXQ Family Users Guide:
MAXQ2010 Supplement
24-6
24.3.7 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 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.8 UROM_moveBPinc
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 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 refreshed the data pointer before reading the byte/word value.
24.3.9 UROM_moveBPdec
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 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_moveBPinc
Summary:
Reads the byte/word value pointed to by BP[OFFS], then increments OFFS.
Inputs:
DP[1]: Address to read from.
Outputs:
GR: Data byte/word read.
OFFS is incremented.
Destroys:
None.
Function:
UROM_moveBPdec
Summary:
Reads the byte/word value pointed to by BP[OFFS], then decrements OFFS.
Inputs:
DP[1]: Address to read from.
Outputs:
GR: Data byte/word read.
OFFS is decremented.
Destroys:
None.
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.
Zobrazit stránku 139

Komentáře k této Příručce

Žádné komentáře