UPD17073 NEC, UPD17073 Datasheet - Page 172

no-image

UPD17073

Manufacturer Part Number
UPD17073
Description
4-BIT SINGLE-CHIP MICROCONTROLLER WITH HARDWARE FOR DIGITAL TUNING SYSTEM
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD17073GB-572-1A7-A
Manufacturer:
RENESAS
Quantity:
16 435
19.2.5 Releasing halt status with basic timer 0
to 1, and at the same time, the halt status is released.
(125 ms). Therefore, the halt status can be released at specific time intervals.
172
To release the halt condition by using the basic timer 0, use the “HALT 0010B” instruction.
When it has been set that the halt status is to be released by the basic timer 0, the basic timer 0 carry FF is set
The basic timer 0 carry FF corresponds to the BTM0CY flag on a one-to-one basis and is set at fixed time intervals
Example To release halt status every 125 ms and perform processing A every 1 second
M1
HLTTMR
LOOP:
MEM
DAT
HALT
BANK1
SKT1
BR
BANK0
ADD
SKT1
BR
BR
Processing A
0.10H
0010B
HLTTMR
BTM0CY
LOOP
M1, #0010B
CY
LOOP
LOOP
; Branches to LOOP if BTM0CY flag is not set
; Embedded macro
; Executes processing A if carry occurs
; 1-second counter
; Symbol definition
; Specifies that halt status is released by basic
; Embedded macro
; Adds 0010B to contents of M1
timer 0 carry FF, and sets halt status
PD17072,17073

Related parts for UPD17073