NEC PD17062 Datasheet page 188

Mos integrated circuit 4-bit single-chip microcontroller containing pll frequency synthesizer and image display controller
Table of Contents

Advertisement

Example
Sample program
START:
#
;
Reset processing
$
;
SKT1
BR
BACKUP:
%
;
Clock updating
BR
INITIAL:
&
;
Initialization
(
;
INITFLG NOT BTM0ZX, NOT BTM0CK2, NOT BTM0CK1, BTM0CK0
MAIN:
SKT1
BR
Clock updating
Operation example
5 V
V
DD
0 V
CE
50 ms
Timer carry FF
set pulse
188
; Program address 0000H
;
BTM0CY
; Power failure detection
INITIAL
MAIN
; Built-in macro
; Sets timer carry FF set time to 5 ms.
BTM0CY
MAIN
50 ms
#
&
$
Power failure detection
#
&
When the processing time
of
+
is 100 ms or longer,
&
a CE reset is applied midway
through processing
.
CE reset may be applied immediately, depending on the timer carry
FF set time switching timing. When
power failure processing
#
%
$
Power failure
detection
#
%
When the processing time
of
+
is too long, a
CE reset is applied.
(
CE reset
(
&
is executed before
may not be executed.
PD17062
CE reset
&
,

Advertisement

Table of Contents
loading

Table of Contents