Motorola MPC564EVB Manuel d'utilisateur Page 91

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 98
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 90
Chapter 3. Using the Monitor/Debug Firmware 3-41
System Call Functions
C example:
int
board_isr_remove (void *handler)
{
asm( "addi r10,r0,0x0041");
asm( "sc");
}
3.5.6 EXIT_TO_dBUG
This function transfers the control back to the dBUG, by terminating the user code. The register
context is preserved.
C example (see scif.s”file : anything in R10 besides 0x0000, 0x0001, 0x0020, 0x0030, 0x0031,
0x0040, 0x0041):
asm( "addi r10,r0,0x0063");
asm( "sc");
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Vue de la page 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 97 98

Commentaires sur ces manuels

Pas de commentaire