UPD6P8 NEC [NEC], UPD6P8 Datasheet - Page 34

no-image

UPD6P8

Manufacturer Part Number
UPD6P8
Description
MOS INTEGRATED CIRCUIT 4-BIT SINGLE-CHIP MICROCONTROLLER FOR INFRARED REMOTE CONTROL TRANSMISSION
Manufacturer
NEC [NEC]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD6P8AMC-5A4-A
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
UPD6P8AMC-5A4-E2-A
Manufacturer:
RENESAS/PBF
Quantity:
5 000
Part Number:
UPD6P8BMC-5A4-E1-A/JC
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
UPD6P8MC-754-5A4-E2-A
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
6.2 Standby Mode Setting and Release
standby mode to be set, the status flag (F) is required to have been cleared (to 0).
instruction. If the standby mode is released, the status flag (F) is set (to 1).
mode is not set. If the release condition is not met at this time, the status flag is cleared (to 0). If the release condition
is met, the status flag remains set (to 1).
executed, the standby mode is not set. Here, also, the status flag (F) is set (to 1).
34
The standby mode is set with the HALT #b
The standby mode is released by the release condition specified with the reset (POC) or the operand of HALT
Even when the HALT instruction is executed in the state that the status flag (F) has been set (to 1), the standby
Even in the case when the release condition has been already met at the point that the HALT instruction is
Caution Depending on the status of the status flag (F), the HALT instruction may not be executed. Be
Example
careful about this. For example, when setting HALT mode after checking the key status with
the STTS instruction, the system does not enter HALT mode as long as the status flag (F)
remains set (to 1) and thus sometimes performs an unintended operation. In this case, the
intended operation can be realized by executing the STTS instruction immediately after setting
the timer to clear (to 0) the status flag.
Reset
Release condition shown in Table 5-3
Table 6-2. Addresses Executed After Standby Mode Release
STTS
MOV
STTS
HALT
Release Condition
#03H
T, #0xxH
#05H
#05H
(During this time, be sure not to execute an instruction that may set the status flag.)
Data Sheet U17848EJ3V0DS
3
;To check the K
;To set the timer
;To clear the status flag
;To set HALT mode
b
2
b
1
b
0
B instruction for both STOP mode and HALT mode. For the
Address 0
The address following the HALT instruction
I
pin status.
Address Executed After Release
PD6P8, 6P8A, 6P8B

Related parts for UPD6P8