UPD78F0138 NEC, UPD78F0138 Datasheet - Page 358

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.4.2 Division operation
358
• Initial setting
• During operation
• End of operation
• Next operation
1. Set operation data to multiplication/division data register A0 (MDA0L and MDA0H) and multiplication/division
2. Set bits 0 (DMUSEL0) and 7 (DMUE) of multiplier/divider control register 0 (DMUC0) to 0 and 1, respectively.
3. The operation will be completed when 32 internal clocks have been issued after the start of the operation
4. The result data is stored in the MDA0L, MDA0H, and SDR0 registers.
5. DMUE is cleared to 0 (end of operation).
6. After the operation, an interrupt request signal (INTDMU) is generated.
7. To execute multiplication next, start from the initial setting in 16.4.1 Multiplication operation.
8. To execute division next, start from the initial setting in 16.4.2 Division operation.
data register B0 (MDB0).
Operation will start.
(intermediate data is stored in the MDA0L and MDA0H registers and remainder data register 0 (SDR0) during
operation, and therefore the read values of these registers are not guaranteed).
CHAPTER 16 MULTIPLIER/DIVIDER
User’s Manual U16228EJ2V0UD

Related parts for UPD78F0138