Renesas REJ10J1837-0100 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Vernetzung Renesas REJ10J1837-0100 herunter. M16C/26 APPLICATION NOTE Using Timer A in One-Shot [en] Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 11
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
A
PPLICATION NOT
E
REU05B0047-0100Z June 2003
Page 1 of 10
M16C/26
Using Timer A in One-Shot Mode
1.0 Abstract
One-shot timers are commonly found in designs, as they are useful for debouncing switches, “cleaning” up
sensor inputs, etc. Timer A on the M16C/26 can be configured as one-shots, reducing the need for external
components. These one-shots have advantages over their hardware counterparts as they are not susceptible to
RC drift, and the pulse widths can be varied under program control allowing for new applications such as fuel
injection control and ignition control. The following article describes how to configure the M16C/26 timer A as
one-shots, referred to as One-Shot Mode.
2.0 Introduction
The Renesas M30262 is a 16-bit MCU based on the M16C/60 series CPU core. The MCU features include up to
64K bytes of Flash ROM, 2K bytes of RAM, and 4K bytes of Virtual EEPROM. The peripheral set includes 10-bit
A/D, UARTS, Timers, DMA, and GPIO. The MCU has eight timers that consists of five Timer A’s and three Timer
B’s. Only the five timer A’s can operate in ‘One-Shot Mode’.
Timer A also has the following additional modes of operation:
Timer Mode
PWM Mode
Event Count Mode
Figure 1 shows the timer A block diagram. The remainder of this document will focus on how to setup timer A in
One-Shot mode with an external trigger.
Seitenansicht 0
1 2 3 4 5 6 ... 10 11

Inhaltsverzeichnis

Seite 1 - M16C/26

APPLICATION NOTE REU05B0047-0100Z June 2003 Page 1 of 10 M16C/26 Using Timer A in One-Shot Mode 1.0 Abstract One-shot timers are commonly found in d

Seite 2

M16C/26Using Timer A in One-Shot Mode REU05B0047-0100Z June 2003 Page 10 of 10 /* the following procedure for writing an Interrupt Priority Level f

Seite 3

Keep safety first in your circuit designs! • Renesas Technology Corporation puts the maximum effort into making semiconductor products better an

Seite 4

M16C/26Using Timer A in One-Shot Mode REU05B0047-0100Z June 2003 Page 2 of 10 Figure 1 Block Diagram of Timer A 3.0 One-Shot Mode Description In On

Seite 5

M16C/26Using Timer A in One-Shot Mode REU05B0047-0100Z June 2003 Page 3 of 10 Figure 2 Operation timing of one-shot mode Figure 3 Operation timin

Seite 6

M16C/26Using Timer A in One-Shot Mode REU05B0047-0100Z June 2003 Page 4 of 10 4.0 Configuring One-shot Mode The steps to configure timer A for One-S

Seite 7

M16C/26Using Timer A in One-Shot Mode REU05B0047-0100Z June 2003 Page 5 of 10 Figure 4 Timer A-related registers

Seite 8

M16C/26Using Timer A in One-Shot Mode REU05B0047-0100Z June 2003 Page 6 of 10 Figure 5 Timer Ai mode register in One-Shot timer mode Figure 6 Cou

Seite 9

M16C/26Using Timer A in One-Shot Mode REU05B0047-0100Z June 2003 Page 7 of 10 Figure 7 Interrupt control register Figure 8 One-Shot control regis

Seite 10 - Using Timer A in One-Shot Mod

M16C/26Using Timer A in One-Shot Mode REU05B0047-0100Z June 2003 Page 8 of 10 5.0 Reference Renesas Technology Corporation Semiconductor Home Page h

Seite 11

M16C/26Using Timer A in One-Shot Mode REU05B0047-0100Z June 2003 Page 9 of 10 * All timing based on 20 Mhz Xtal * * Copyright 2003 Renes

Kommentare zu diesen Handbüchern

Keine Kommentare