Maxim-integrated MAXQ Family Users Guide: MAXQ2010 Supplement Instrukcja Użytkownika Strona 138

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 147
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 137
MAXQ Family Users Guide:
MAXQ2010 Supplement
24-4
24.3.1 UROM_moveDP0
Notes:
Before calling this function, DPC should be set appropriately to configure DP[0] 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.2 UROM_moveDP0inc
Notes:
Before calling this function, DPC should be set appropriately to configure DP[0] 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.3 UROM_moveDP0dec
Notes:
Before calling this function, DPC should be set appropriately to configure DP[0] 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_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:
None.
Function:
UROM_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:
None.
Function:
UROM_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:
None.
Przeglądanie stron 137
1 2 ... 133 134 135 136 137 138 139 140 141 142 143 ... 146 147

Komentarze do niniejszej Instrukcji

Brak uwag