UPD75238GJ NEC [NEC], UPD75238GJ Datasheet - Page 63
UPD75238GJ
Manufacturer Part Number
UPD75238GJ
Description
4 BIT SINGLE-CHIP MICROCOMPUTER
Manufacturer
NEC [NEC]
Datasheet
1.UPD75238GJ.pdf
(190 pages)
- Current page: 63 of 190
- Download datasheet (2Mb)
(4) Operation of the basic interval timer
4.5 TIMER/EVENT COUNTER
(1) Functions of the timer/event counter
The basic interval timer (BT) is always incremented by the clock supplied from the clock generator, and
when it overflows, the interrupt request flag (IRQBT) is set. The count operation of BT cannot be stopped.
One of four interrupt generation intervals can be selected by setting BTM. (See Fig. 4-24.)
The basic interval timer and the interrupt request flag can be cleared by setting bit 3 of BTM to 1 (instruction
for starting as an interval timer).
The count status can be read by using an 8-bit manipulation instruction. No data can be loaded to the
timer.
To allow the system clock to stabilize after releasing the STOP mode, a wait function is available which
stops the operation of the CPU until the basic interval timer overflows.
The wait time after a RESET input is fixed. On the other hand, a wait time can be selected by setting BTM
when releasing the STOP mode with an interrupt occurrence. In this case, the wait times are the same
as the interval times shown in Fig. 4-24.
BTM must be set before the STOP mode is set. (For details, see Chapter 6.)
The timer/event counter has the following functions.
Caution
(a) Programmable interval timer operation
(b) Output of a square wave at a given frequency to the PTO0 pin
(c) Event counter operation
(d) Frequency divider operation that divides TI0 pin input by N and outputs the result to the PTO0 pin
(e) Supply of serial shift clock signal to a serial interface circuit
(f) Function of reading the state of counting
When reading the count value of the basic interval timer, execute a read instruction twice so
that unstable data which has been counted will not be read. If the two read values are
reasonable, use the second one as the result. If the two read values are far apart, retry from
the beginning.
PD75238
63
Related parts for UPD75238GJ
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
The high-density rack server NEC Express5800/R120d-1E
Manufacturer:
NEC [NEC]
Datasheet:
Part Number:
Description:
The high-density rack server NEC Express5800/R120d-1M
Manufacturer:
NEC [NEC]
Datasheet:
Part Number:
Description:
The flexible compact rack server NEC Express5800/R120d-2E
Manufacturer:
NEC [NEC]
Datasheet:
Part Number:
Description:
The high-capacity rack server NEC Express5800/R120d-2E(Storage-Rich)
Manufacturer:
NEC [NEC]
Datasheet:
Part Number:
Description:
The scalable compact rack server NEC Express5800/R120d-2M
Manufacturer:
NEC [NEC]
Datasheet:
Part Number:
Description:
The flexible blade server NEC Express5800/B120d
Manufacturer:
NEC [NEC]
Datasheet:
Part Number:
Description:
16/8 bit single-chip microcomputer
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual audio power amp circuit
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual comparator
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
MOS type composite field effect transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
50 V/100 mA FET array incorporating 2 N-ch MOSFETs
Manufacturer:
NEC
Datasheet: