M306V5EESP Mitsubishi, M306V5EESP Datasheet - Page 84

no-image

M306V5EESP

Manufacturer Part Number
M306V5EESP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER
Manufacturer
Mitsubishi
Datasheet
84
Figure 2.10.23 Timer B0 mode register in pulse period/pulse width measurement mode
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)
TB0
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 B0 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 B0 register is indeterminate until the second effective edge is input after the timer.
pin function
T i m e r B 0 m o d e r e g i s t e r
b 7
Item
b 6
b 5
b 4
b 3
b 2
b 1
1
b 0
0
N o t e : T h e t i m e r B 0 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
T M O D 0
T M O D 1
• 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 B0 register is read, it indicates the reload register’s content
Cannot be written to
T C K 0
T C K 1
1
M R 0
M R 1
M R 2
M R 3
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
effective edge and the timer continues counting
The timer B0 overflow flag changes to “0” when the count start flag is “1” and a value
is written to the timer B0 mode register.)
(measurement result) (Note 2)
t i m e r B 0 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 .
, f
S y m b o l
T B 0 M R
8
, f
32
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
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
B i t n a m e
A d d r e s s
0 3 9 B
1 6
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 : D o n o t s e t
1
8
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
M306V5ME-XXXSP
M306V5EESP
R
W
Rev. 1.0

Related parts for M306V5EESP