Electronic Components Datasheet Search
  English  ▼

X  

M30218 Datasheet(PDF) 80 Page - Renesas Technology Corp

Part # M30218
Description  SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
PDF  179 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

M30218 Datasheet(HTML) 80 Page - Renesas Technology Corp

Back Button M30218 Datasheet HTML 76Page - Renesas Technology Corp M30218 Datasheet HTML 77Page - Renesas Technology Corp M30218 Datasheet HTML 78Page - Renesas Technology Corp M30218 Datasheet HTML 79Page - Renesas Technology Corp M30218 Datasheet HTML 80Page - Renesas Technology Corp M30218 Datasheet HTML 81Page - Renesas Technology Corp M30218 Datasheet HTML 82Page - Renesas Technology Corp M30218 Datasheet HTML 83Page - Renesas Technology Corp M30218 Datasheet HTML 84Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 80 / 179 page
background image
Mitsubishi microcomputers
M30218 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Timer A
79
(4) Pulse width modulation (PWM) mode
In this mode, the timer outputs pulses of a given width in succession. (See Table FB-5.) In this mode, the counter
functions as either a 16-bit pulse width modulator or an 8-bit pulse width modulator. Figure FB-10 shows the
timer Ai mode register in pulse width modulation mode. Figure FB-11 shows the example of how a 16-bit pulse
width modulator operates. Figure FB-12 shows the example of how an 8-bit pulse width modulator operates.
Table FB-5. Timer specifications in pulse width modulation mode
Figure FB-10. Timer Ai mode register in pulse width modulation mode
Item
Specification
Count source
f1, f8, f32, fC32
Count operation
•The timer counts down (operating as an 8-bit or a 16-bit pulse width modulator)
•The timer reloads a new count at a rising edge of PWM pulse and continues counting
•The timer is not affected by a trigger that occurs when counting
16-bit PWM
•High level width
n / fi
n : Set value
•Cycle time
(216-1) / fi fixed
8-bit PWM
•High level width
n X (m+1) / fi
n : values set to timer Ai register’s high-order address
•Cycle time
(28-1) X (m+1) / fi
m : values set to timer Ai register’s low-order address
Count start condition
•External trigger is input
•The timer overflows
•The count start flag is set (= 1)
Count stop condition
•The count start flag is reset (= 0)
Interrupt request generation timing
PWM pulse goes “L”
TAiIN pin function
Programmable I/O port or trigger input
TAiOUT pin function
Pulse output
Read from timer
When timer Ai register is read, it indicates an indeterminate value
Write to timer
•When counting stopped
When a value is written to timer Ai register, it is written to both reload
register and counter
•When counting in progress
When a value is written to timer Ai register, it is written to only reload register
(Transferred to counter at next reload time)
Timer Ai mode register
Symbol
Address
When reset
TAiMR(i=0 to 4)
039616 to 039A16
0016
Bit name
Function
Bit symbol
b7
b6b5b4b3
b2b1b0
Operation mode
select bit
1 1 : PWM mode
b1 b0
TMOD1
TMOD0
MR0
MR2
MR1
MR3
0 0 : f1
0 1 : f8
1 0 : f32
1 1 : fC32
b7 b6
TCK1
TCK0
Count source select bit
W
R
11
1
1 (Must always be fixed to “1” in PWM mode)
16/8-bit PWM mode
select bit
0: Functions as a 16-bit pulse width modulator
1: Functions as an 8-bit pulse width modulator
Trigger select bit
External trigger select
bit (Note 1)
0: Falling edge of TAiIN pin's input signal (Note 2)
1: Rising edge of TAiIN pin's input signal (Note 2)
0: Count start flag is valid
1: Selected by event/trigger select register
Note 1: Valid only when the TAiIN pin is selected by the event/trigger select bit
(addresses 038216 and 038316). If timer overflow is selected, this bit can be “1” or “0
Note 2: Set the corresponding port direction register to “0”.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com