Renesas TM V.3.20A Spezifikationen Seite 531

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 762
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 530
Renesas Technology, Tools FAQs
Last Updated: October 5, 2001
Document Number: 01092004_e
Q.
How should I set Timer A0 for MR79 when executing a program, which embeds MR79, on PD79SIM?
A.
Follow the I/O script sample program included in PD79SIM: Load the sample program for the MR79 timer (mr.scr) in the I/O
window. Refer to "Introducing I/O Script Sample Programs" (31KB, 12 pages) in the manual for more details.
When using the sample program (timerA0_TMode.scr) for Timer A0 (timer mode), add the following procedure to the final line of
the program.
{
while(1){
pass #iswrite:0x47, 1 ;Monitor write to Timer A0 register.
set %tm_reload_reg = [0x46].w ;Store value of Timer A0 register in reload
register.
}
}
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Seitenansicht 530
1 2 ... 526 527 528 529 530 531 532 533 534 535 536 ... 761 762

Kommentare zu diesen Handbüchern

Keine Kommentare