Intel 81342 Developer's Manual page 807

Table of Contents

Advertisement

®
T i m e r s — I n t e l
8 1 3 4 1 a n d 8 1 3 4 2
1 2 . 0
T i m e r s
T h i s c h a p t e r d e s c r i b e s t h e I n t e l X S c a l e
a n d W a t c h D o g T i m e r . T o p i c s i n c l u d e t i m e r r e g i s t e r s ( T M R x , T C R x a n d T R R x ) , t i m e r
o p e r a t i o n , t i m e r i n t e r r u p t s , a n d t i m e r r e g i s t e r v a l u e s a t i n i t i a l i z a t i o n .
E a c h t i m e r i s p r o g r a m m e d b y t h e t i m e r r e g i s t e r s . T h e s e r e g i s t e r s a r e m a p p e d i n t o I n t e l
®
X S c a l e
w i t h t h e M C R , M R C , S T C , a n d L D C i n s t r u c t i o n s . T h e C R n f i e l d o f t h e i n s t r u c t i o n d e n o t e s
t h e r e g i s t e r n u m b e r t o b e a c c e s s e d . T h e o p c o d e _ 1 a n d o p c o d e _ 2 f i e l d s o f t h e
i n s t r u c t i o n s h o u l d b e z e r o . T h e C R m f i e l d o f t h e i n s t r u c t i o n s h o u l d b e n i n e . M o s t
s y s t e m s r e s t r i c t a c c e s s t o C P 6 t o p r i v i l e g e d p r o c e s s e s . T o c o n t r o l a c c e s s t o C P 6 , u s e
t h e C o p r o c e s s o r A c c e s s R e g i s t e r .
F i g u r e 1 1 6
P r o g r a m m a b l e T i m e r s t a t e d i a g r a m .
F i g u r e 1 1 6 . P r o g r a m m a b l e T i m e r F u n c t i o n a l D i a g r a m
W h e n e n a b l e d , a t i m e r d e c r e m e n t s t h e u s e r - d e f i n e d c o u n t v a l u e w i t h e a c h T i m e r C l o c k
( T C L O C K ) c y c l e . T h e c o u n t d o w n r a t e i s a l s o u s e r - c o n f i g u r a b l e t o b e e q u a l t o t h e
i n t e r n a l b u s f r e q u e n c y , o r t h e i n t e r n a l b u s c l o c k r a t e d i v i d e d b y 4 , 8 o r 1 6 . T h e t i m e r s
c a n b e p r o g r a m m e d t o e i t h e r s t o p w h e n t h e c o u n t v a l u e r e a c h e s z e r o ( s i n g l e - s h o t
m o d e ) o r r u n c o n t i n u o u s l y ( a u t o - r e l o a d m o d e ) . W h e n a t i m e r ' s c o u n t r e a c h e s z e r o , t h e
t i m e r ' s i n t e r r u p t u n i t s i g n a l s t h e p r o c e s s o r ' s i n t e r r u p t c o n t r o l l e r .
T a b l e 4 9 1 . T i m e r P e r f o r m a n c e R a n g e s
I n t e r n a l B u s F r e q u e n c y ( M H z )
D e c e m b e r 2 0 0 7
O r d e r N u m b e r : 3 1 5 0 3 7 - 0 0 2 U S
p r o c e s s o r C o p r o c e s s o r 6 , r e g i s t e r s 0 t o 8 . T h e y m a y b e a c c e s s e d / m a n i p u l a t e d
s h o w s a d i a g r a m o f t h e t i m e r f u n c t i o n s . S e e a l s o
Internal
CPU
Bus
Address
Detect
User/
Privileged Mode
4 0 0
®
p r o c e s s o r d u a l - p r o g r a m m a b l e 3 2 - b i t t i m e r s
Timer Mode Register
Timer Reload Register
32-Bit Register
Selected
Timer Count Register
32-Bit Register
32-Bit Compare
Against Zero
Terminal Count
Interrupt Unit
Interrupt
Output
M a x R e s o l u t i o n ( n s )
2 . 5
I n t e l
F i g u r e 1 1 7
f o r t h e
Bus
Clock
Clock
Unit
Clock
A6769-01
M a x R a n g e ( m i n s )
2 . 8 6
®
8 1 3 4 1 a n d 8 1 3 4 2 I / O P r o c e s s o r s
D e v e l o p e r ' s M a n u a l
8 0 7

Advertisement

Table of Contents
loading

This manual is also suitable for:

81341

Table of Contents