AMX 68000 Bedienungsanleitung Seite 46

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 90
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 45
40
K
A
DAK
AMX 68000 Target Guide
The clock initialization procedure for this custom clock driver could be coded in C as
follows. Insert procedure
clockinit into your list of Restart Procedures provided in
your System Configuration Module at the point at which you wish the clock to be
enabled during the launch.
void CJ_CCPP clockroot(void); /* External clock ISP root */
void CJ_CCPP clockinit(void)
{
/* Inhibit clock interrupts */
/* Configure clock for correct frequency */
/* Install pointer to clock ISP root into AMX Vector Table */
cjksivtwr(25, (CJ_ISPPROC)clockroot);
/* Start clock and enable clock interrupts */
}
Seitenansicht 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 89 90

Kommentare zu diesen Handbüchern

Keine Kommentare