M306V0ME Mitsubishi, M306V0ME Datasheet - Page 94

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
94
Figure 2.10.22 Timer Bi mode register in event counter mode (i = 0 to 2)
Table 2.10.6 Timer specifications in event counter mode
(2) Event counter mode
Count source
Count operation
Divide ratio
Count start condition
Count stop condition
Interrupt request generation timing The timer underflows
TBi
Read from timer
Write to timer
In this mode, the timer counts an external signal or an internal timer’s overflow. (See Table 2.10.6) Figure
2.10.22 shows the timer Bi mode register in event counter mode.
IN
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
0 1
b 1
• External signals input to TBi
• Effective edge of count source can be a rising edge, a falling edge, or falling and
• Counts down
• When the timer underflows, it reloads the reload register contents before continuing
1/(n+1)
Count start flag is set (= 1)
Count start flag is reset (= 0)
Count source input
Count value can be read out by reading timer Bi register
• When counting stopped
• When counting in progress
b 0
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
rising edges as selected by software
counting
When a value is written to timer Bi register, it is written to both reload register and counter
When a value is written to timer Bi register, it is written to only reload register
(Transferred to counter at next reload time)
N o t e s 1 : V a l i d o n l y w h e n i n p u t f r o m t h e T B i
B i t s y m b o l
T M O D 0
T M O D 1
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 .
4 : S e t t h e c o r r e s p o n d i n g p o r t d i r e c t i o n r e g i s t e r t o “ 0 ” .
I f t i m e r ' s o v e r f l o w i s s e l e c t e d , t h i s b i t c a n b e “ 0 ” o r “ 1 ” .
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 .
I n v a l i d i n t i m e r m o d e .
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 i n
e v e n t c o u n t e r m o d e , 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 .
I n v a l i d i n e v e n t c o u n t e r m o d e .
C a n b e “ 0 ” o r “ 1 ” .
E v e n t c l o c k s e l e c t
O p e r a t i o n m o d e s e l e c t b i t
C o u n t p o l a r i t y s e l e c t
b i t
0 ( F i x e d t o “ 0 ” i n e v e n t c o u n t e r m o d e ; i = 0 )
( N o t e 1 )
n : Set value
0 3 9 B
B i t n a m e
A d d r e s s
1 6
t o 0 3 9 D
1 6
IN
b 1 b 0
0 1 : E v e n t c o u n t e r m o d e
b 3 b 2
0 : I n p u t f r o m T B i
1 : T B j o v e r f l o w
0 0 : C o u n t s e x t e r n a l s i g n a l ' s f a l l i n g
0 1 : C o u n t s e x t e r n a l s i g n a l ' s r i s i n g
1 0 : C o u n t s e x t e r n a l s i g n a l ' s f a l l i n g
1 1 : I n h i b i t e d
I N
pin
W h e n r e s e t
0 0 ? X 0 0 0 0
Specification
p i n i s s e l e c t e d a s t h e e v e n t c l o c k .
( j = i – 1 ; h o w e v e r , j = 2 w h e n i = 0 )
e d g e s
e d g e s
a n d r i s i n g e d g e s
2
F u n c t i o n
I N
p i n ( N o t e 4 )
and ON-SCREEN DISPLAY CONTROLLER
MITSUBISHI MICROCOMPUTERS
M306V0ME-XXXFP
( N o t e 2 )
( N o t e 3 )
R
W
M306V0EEFP
Rev. 1.0

Related parts for M306V0ME