M306V0ME Mitsubishi, M306V0ME Datasheet - Page 95

no-image

M306V0ME

Manufacturer Part Number
M306V0ME
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER
Manufacturer
Mitsubishi
Datasheet
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
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
f
• Up count
• Counter value “0000
Count start flag is set (= 1)
Count start flag is reset (= 0)
• When measurement pulse's effective edge is input (Note 1)
• When an overflow occurs. (Simultaneously, the timer Bi overflow flag
Measurement pulse input
When timer Bi register is read, it indicates the reload register’s content
(measurement result) (Note 2)
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
pulse's effective edge and the timer continues counting
changes to “1”. 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.)
, 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 )
2 : T i m e r B 0 .
3 : T i m e r B 1 , t i m e r B 2 .
8
, 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
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
” is transferred to reload register at measurement
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 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 f a l l i n g e d g e t o r i s i n g e d g e ,
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 )
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
Specification
2
F u n c t i o n
and ON-SCREEN DISPLAY CONTROLLER
MITSUBISHI MICROCOMPUTERS
M306V0ME-XXXFP
M306V0EEFP
( N o t e 2 )
( N o t e 3 )
R
W
95

Related parts for M306V0ME