Renesas REJ10J1837-0100 Manual de usuario

Busca en linea o descarga Manual de usuario para Redes Renesas REJ10J1837-0100. M16C/26 APPLICATION NOTE Using Timer A in One-Shot [en] Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 11
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 0
1 2 3 4 5 6 ... 10 11

Indice de contenidos

Pagina 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

Pagina 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

Pagina 3

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

Pagina 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

Pagina 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

Pagina 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

Pagina 7

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Comentarios a estos manuales

Sin comentarios