M306V2 Mitsubishi, M306V2 Datasheet - Page 95

no-image

M306V2

Manufacturer Part Number
M306V2
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER
Manufacturer
Mitsubishi
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M306V2EEFP
Manufacturer:
SHARP
Quantity:
102
Part Number:
M306V2EEFP
Manufacturer:
MIT
Quantity:
20 000
Part Number:
M306V2ME-179FP
Manufacturer:
RENESAS
Quantity:
66
Part Number:
M306V2ME-202FP
Manufacturer:
MITSUBISHI
Quantity:
198
Part Number:
M306V2ME-207
Manufacturer:
OREN
Quantity:
92
Part Number:
M306V2ME-207
Manufacturer:
MIT
Quantity:
1 000
Part Number:
M306V2ME-207
Manufacturer:
MIT
Quantity:
20 000
Part Number:
M306V2ME-207FP
Manufacturer:
RENESAS
Quantity:
380
Company:
Part Number:
M306V2ME-212FP
Quantity:
2 830
Rev. 1.0
Figure 2.10.23 Timer Bi mode register in pulse period/pulse width measurement mode (i = 0 to 2)
Table 2.10.7 Timer specifications in pulse period/pulse width measurement mode
Notes 1: An interrupt request is not generated when the first effective edge is input after the timer has started counting.
(3) Pulse period/pulse width measurement mode
Count source
Count operation
Count start condition
Count stop condition
Interrupt request generation timing • When measurement pulse's effective edge is input (Note 1)
TBi
Read from timer
Write to timer
In this mode, the timer measures the pulse period or pulse width of an external signal. (See Table 2.10.7)
Figure 2.10.23 shows the timer Bi mode register in pulse period/pulse width measurement mode. Figure
2.10.24 shows the operation timing when measuring a pulse period. Figure 2.10.25 shows the operation
timing when measuring a pulse width.
IN
2: The value read out from the timer Bi register is indeterminate until the second effective edge is input after the timer.
pin function
Item
T i m e r B i m o d e r e g i s t e r
b 7
b 6
b 5
b 4
b 3
b 2
b 1
1
b 0
0
N o t e s 1 : T h e t i m e r B i o v e r f l o w f l a g c h a n g e s t o “ 0 ” w h e n t h e c o u n t s t a r t f l a g i s “ 1 ” a n d a v a l u e i s w r i t t e n t o t h e
B i t s y m b o l
• When an overflow occurs. (Simultaneously, the timer Bi overflow flag changes to “1”.
f
• Up count
• Counter value “0000
Count start flag is set (= 1)
Count start flag is reset (= 0)
Measurement pulse input
When timer Bi register is read, it indicates the reload register’s content
Cannot be written to
1
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
T M O D 0
T M O D 1
effective edge and the timer continues counting
The timer Bi overflow flag changes to “0” when the count start flag is “1” and a value
is written to the timer Bi mode register.)
(measurement result) (Note 2)
, f
T C K 0
T C K 1
M R 0
M R 1
M R 2
M R 3
S y m b o l
T B i M R ( i = 0 t o 2 )
8
2 : T i m e r B 0 .
3 : T i m e r B 1 , t i m e r B 2 .
, f
t i m e r B i m o d e r e g i s t e r . T h i s f l a g c a n n o t b e s e t t o “ 1 ” b y s o f t w a r e .
32
, f
O p e r a t i o n m o d e
s e l e c t b i t
M e a s u r e m e n t m o d e
s e l e c t b i t
0 ( F i x e d t o “ 0 ” i n p u l s e p e r i o d / p u l s e w i d t h m e a s u r e m e n t m o d e ; i = 0 )
T i m e r B i o v e r f l o w
f l a g ( N o t e 1 )
C o u n t s o u r c e
s e l e c t b i t
N o t h i n g i s a s s i g n e d ( i = 1 , 2 ) .
I n a n a t t e m p t t o w r i t e t o t h i s b i t , w r i t e “ 0 . ” T h e v a l u e , i f r e a d , t u r n s o u t t o b e
i n d e t e r m i n a t e .
c32
B i t n a m e
0 3 9 B
A d d r e s s
1 6
t o 0 3 9 D
16
” is transferred to reload register at measurement pulse's
b 1 b 0
1 0 : P u l s e p e r i o d / p u l s e w i d t h
b 3 b 2
0 0 : P u l s e p e r i o d m e a s u r e m e n t ( I n t e r v a l b e t w e e n
0 1 : P u l s e p e r i o d m e a s u r e m e n t ( I n t e r v a l b e t w e e n
1 0 : P u l s e w i d t h m e a s u r e m e n t ( I n t e r v a l b e t w e e n
1 1 : I n h i b i t e d
0 : T i m e r d i d n o t o v e r f l o w
1 : T i m e r h a s o v e r f l o w e d
b 7 b 6
0 0 : f
0 1 : f
1 0 : f
1 1 : f
1 6
1
8
3 2
C 3 2
W h e n r e s e t
0 0 ? X 0 0 0 0
m e a s u r e m e n t m o d e
m e a s u r e m e n t p u l s e ' s f a l l i n g e d g e t o f a l l i n g e d g e )
m e a s u r e m e n t p u l s e ' s r i s i n g e d g e t o r i s i n g e d g e )
m e a s u r e m e n t p u l s e ' s f a l l i n g e d g e t o r i s i n g e d g e ,
Specification
2
a n d b e t w e e n r i s i n g e d g e t o f a l l i n g e d g e )
F u n c t i o n
and ON-SCREEN DISPLAY CONTROLLER
MITSUBISHI MICROCOMPUTERS
M306V2ME-XXXFP
M306V2EEFP
( N o t e 2 )
( N o t e 3 )
R
W
95

Related parts for M306V2