Renesas M16C/26A User Manual

Browse online or download User Manual for Unknown Renesas M16C/26A. M16C/26 APPLICATION NOTE Using the M16C/26 Timers in

  • Download
  • Add to my manuals
  • Print
  • Page
    / 9
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
A
PPLICATION NOT
E
REU05B0046-0100Z June 2003
Page 1 of 8
M16C/26
Using the M16C/26 Timers in Timer Mode
1.0 Abstract
The following article describes how to use timers A and B as basic timers, referred to as Timer Mode. Timers are
useful for updating multiplexed display, scanning inputs, real time clocks, hardware watchdogs, etc.
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. All eight timers can operate in Timer Mode.
Timer A also has the following additional modes of operation:
Event Counter Mode
PWM Mode
One-Shot Mode
Timer B has the following additional modes of operation:
Event Counter Mode
Pulse Width Measurement Mode
Figure 1 and Figure 2 show the block diagrams for timers A and B. Note that there are some differences between
the two timers but both operate similar in Timer Mode. The remainder of this document will focus on setting up
timer A0 in Timer Mode.
Page view 0
1 2 3 4 5 6 7 8 9

Summary of Contents

Page 1 - M16C/26

APPLICATION NOTE REU05B0046-0100Z June 2003 Page 1 of 8 M16C/26 Using the M16C/26 Timers in Timer Mode 1.0 Abstract The following article describes

Page 2

M16C/26Using the M16C/26 Timers in Timer Mode REU05B0046-0100Z June 2003 Page 2 of 8 Figure 1 Bock Diagram of Timer A Figure 2 Bock Diagram of Ti

Page 3

M16C/26Using the M16C/26 Timers in Timer Mode REU05B0046-0100Z June 2003 Page 3 of 8 3.0 Timer Mode Description In Timer Mode, the counter register

Page 4

M16C/26Using the M16C/26 Timers in Timer Mode REU05B0046-0100Z June 2003 Page 4 of 8 Figure 4 to Figure 7 show the Timer A related registers for Ti

Page 5

M16C/26Using the M16C/26 Timers in Timer Mode REU05B0046-0100Z June 2003 Page 5 of 8 Figure 6 Count start flag register Figure 7 Interrupt contr

Page 6

M16C/26Using the M16C/26 Timers in Timer Mode REU05B0046-0100Z June 2003 Page 6 of 8 5.0 Reference Renesas Technology Corporation Semiconductor Home

Page 7

M16C/26Using the M16C/26 Timers in Timer Mode REU05B0046-0100Z June 2003 Page 7 of 8 *==============================================================

Page 8

M16C/26Using the M16C/26 Timers in Timer Mode REU05B0046-0100Z June 2003 Page 8 of 8 /*************************************************************

Page 9

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

Comments to this Manuals

No comments