Electronic Components Datasheet Search
  English  ▼

X  

M30218 Datasheet(PDF) 85 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) 85 Page - Renesas Technology Corp

Back Button 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 M30218 Datasheet HTML 85Page - Renesas Technology Corp M30218 Datasheet HTML 86Page - Renesas Technology Corp M30218 Datasheet HTML 87Page - Renesas Technology Corp M30218 Datasheet HTML 88Page - Renesas Technology Corp M30218 Datasheet HTML 89Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 85 / 179 page
background image
Mitsubishi microcomputers
M30218 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Timer B
84
Figure TA-5. Timer Bi mode register in event counter mode
(2) Event counter mode
In this mode, the timer counts an external signal or an internal timer's overflow. (See Table TA-2.) Figure
TA-5 shows the timer Bi mode register in event counter mode.
Table TA-2. Timer specifications in event counter mode
Item
Specification
Count source
•External signals input to TBiIN pin
•Effective edge of count source can be a rising edge, a falling edge, or falling
and rising edges as selected by software
Count operation
•Counts down
•When the timer underflows, it reloads the reload register contents before
continuing counting
Divide ratio
1/(n+1)
n : Set value
Count start condition
Count start flag is set (= 1)
Count stop condition
Count start flag is reset (= 0)
Interrupt request generation timing The timer underflows
TBiIN pin function
Count source input
Read from timer
Count value can be read out by reading timer Bi register
Write to timer
•When counting stopped
When a value is written to timer Bi register, it is written to both reload register and counter
•When counting in progress
When a value is written to timer Bi register, it is written to only reload register
(Transferred to counter at next reload time)
Timer Bi mode register
Symbol
Address
When reset
TBiMR(i=0 to 2)
039B16 to 039D16
00XX00002
Bit name
Function
Bit symbol
W
R
b7b6b5b4
b3b2b1b0
Operation mode
select bit
0 1 : Event counter mode
b1 b0
TMOD1
TMOD0
MR0
Count polarity select
bit (Note 1)
MR2
MR1
MR3
Invalid in event counter mode.
In an attempt to write to this bit, write “0”. The value, if read in event
counter mode, turns out to be indeterminate.
TCK1
TCK0
01
0 0 : Counts external signal's falling edges
0 1 : Counts external signal's rising edges
1 0 : Counts external signal's falling and
rising edges
1 1 : Inhibited
b3 b2
Nothing is assigned (i = 1, 2).
In an attempt to write to this bit, write “0”. The value, if read,
turns out to be indeterminate.
Note 1: Valid only when input from the TBiIN pin is selected as the event clock.
If timer's overflow is selected, this bit can be “0” or “1”.
Note 2: Timer B0.
Note 3: Timer B1, timer B2.
Note 4: Set the corresponding port direction register to “0”.
Invalid in event counter mode.
Can be “0” or “1”.
Event clock select
0: Input from TBiIN pin (Note 4)
1: TBj overflow
(j = i-1; however, j = 2 when i = 0)
0 (Fixed to “0” in event counter mode; i = 0)
(Note 2)
(Note 3)



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