Renesas M16C/62P Hardware Manual page 50

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for M16C/62P:
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
V o l t a g e D o w n D e t e c t i o n I n t e r r u p t R e g i s t e r
b 7
b 6
b 5
N O T E S :
1 . W r i t e t o t h i s r e g i s t e r a f t e r s e t t i n g t h e P R C 3 b i t i n t h e P R C R r e g i s t e r t o " 1 " ( w r i t e e n a b l e ) .
2 . U s e f u l w h e n t h e V C 2 7 b i t i n t h e V C R 2 r e g i s t e r i s s e t t o " 1 " ( v o l t a g e d o w n d e t e c t i o n c i r c u i t e n a b l e d ) . I f t h e
V C 2 7 b i t i s s e t t o " 0 " ( v o l t a g e d o w n d e t e c t i o n c i r c u i t d i s a b l e ) , t h e D 4 2 b i t i s s e t t o " 0 " ( N o t d e t e c t ) .
3 . T h i s b i t i s s e t t o " 0 " b y w r i t i n g a " 0 " i n a p r o g r a m . ( W r i t i n g a " 1 " h a s n o e f f e c t . )
4 . I f t h e v o l t a g e d o w n d e t e c t i o n i n t e r r u p t n e e d s t o b e u s e d t o g e t o u t o f s t o p m o d e a g a i n a f t e r o n c e u s e d f o r t h a t
p u r p o s e , r e s e t t h e D 4 1 b i t b y w r i t i n g a " 0 " a n d t h e n a " 1 " .
5 . T h e D 4 0 b i t i s e f f e c t i v e w h e n t h e V C 2 7 b i t = 1 . T o s e t t h e D 4 0 b i t t o " 1 , " s e t b i t s i n t h e f o l l o w i n g o r d e r .
page 36
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
b4
b 3
b 2
b 1
b 0
S y m b o l
A d d r e s s
D 4 I N T
0 0 1 F h
B i t S y m b o l
Voltage Down Detection
D 4 0
Interrupt Enable Bit
STOP Mode Deactivation
D 4 1
Control Bit
Voltage Change Detection
D 4 2
(2)
Flag
WDT Overflow Detect Flag
D 4 3
Sampling Clock Select Bit
D F 0
D F 1
7l7l60 -10.7.7718
( a ) S e t t h e V C 2 7 b i t t o " 1 " .
( b ) W a i t f o r t d ( E – A ) u n t i l t h e d e t e c t i o n c i r c u i t i s a c t u a t e d .
( c7222 -10.7778f9.3889 10.7778 TD( 0.7778 (c72223s)Tj-24.8889 10.7778 TD( )Tj25.3889 -10. TD( )Tj13.666778 TD( .8889 10D( )Tj.)Tj-24.7222 -1
f o
3
6
4
6. Voltage Detection Circuit
( 1 )
A f t e r R e s e t
0 0 h
B i t N a m e
0 : D i s a b l e
(5)
1 : E n a b l e
0 : D i s a b l e ( d o n o t u s e t h e p o w e r
s u p p l y d o w n d e t e c t i o n
(4)
i n t e r r u p t t o g e t o u t o f s t o p m o d e )
1 : E n a b l e ( u s e t h e v o l t a g e
d o w n d e t e c t i o n i n t e r r u p t t o g e t
o u t o f s t o p m o d e )
0 : N o t d e t e c t e d
1 : V d e t 4 p a s s i n g d e t e c t i o n
0 : N o t d e t e c t e d
1 : D e t e c t e d
0 0 : C P U c l o c k d i v i d e d b y 8
0 1 : C P U c l o c k d i v i d e d b y 1 6
1 0 : C P U c l o c k d i v i d e d b y 3 2
1 1 : C P U c l o c k d i v i d e d b y 6 4

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pt

Table of Contents