UPD78F0138 NEC, UPD78F0138 Datasheet - Page 355

no-image

UPD78F0138

Manufacturer Part Number
UPD78F0138
Description
(UPD78xxxx) 8-Bit Single-Chip Microcontrollers
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F0138M1GK-9ET
Manufacturer:
NEC
Quantity:
115
Part Number:
UPD78F0138M5GB
Manufacturer:
NEC
Quantity:
20 000
16.3 Register Controlling Multiplier/Divider
Address: FF68H
The multiplier/divider is controlled by multiplier/divider control register 0 (DMUC0).
DMUC0
Symbol
(1) Multiplier/divider control register 0 (DMUC0)
Note When DMUE is set to 1, the operation is started. DMUE is automatically cleared to 0 after the operation is
Cautions 1. If DMUE is cleared to 0 during operation processing (when DMUE is 1), the operation result
DMUC0 is an 8-bit register that controls the operation of the multiplier/divider.
This register can be read by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears this register to 00H.
complete.
2. Do not change the value of DMUSEL0 during operation processing (while DMUE is 1). If it is
3. If DMUE is cleared to 0 during operation processing (while DMUE is 1), the operation
DMUSEL0
DMUE
DMUE
After reset: 00H
<7>
is not guaranteed. If the operation is completed while the clearing instruction is being
executed, the operation result is guaranteed, provided that the interrupt flag is set.
changed, undefined operation results are stored in multiplication/division data register A0
(MDA0) and remainder data register 0 (SDR0).
processing is stopped. To execute the operation again, set multiplication/division data
register A0 (MDA0), multiplication/division data register B0 (MDB0), and multiplier/divider
control register 0 (DMUC0), and start the operation (by clearing DMUE to 1).
0
1
0
1
Figure 16-5. Format of Multiplier/Divider Control Register 0 (DMUC0)
Note
Stops operation
Starts operation
Division mode
Multiplication mode
6
0
R/W
CHAPTER 16 MULTIPLIER/DIVIDER
5
0
User’s Manual U16228EJ2V0UD
Operation mode (multiplication/division) selection
4
0
Operation start/stop
3
0
2
0
1
0
DMUSEL0
0
355

Related parts for UPD78F0138