Register Controlling Multiplier/Divider - NEC 78K0 Series User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0 Series:
Table of Contents

Advertisement

CHAPTER 18 MULTIPLIER/DIVIDER (

18.3 Register Controlling Multiplier/Divider

The multiplier/divider is controlled by multiplier/divider control register 0 (DMUC0).
(1) Multiplier/divider control register 0 (DMUC0)
DMUC0 is an 8-bit register that controls the operation of the multiplier/divider.
DMUC0 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets DMUC0 to 00H.
Figure 18-5. Format of Multiplier/Divider Control Register 0 (DMUC0)
Address: FF68H
After reset: 00H
Symbol
<7>
DMUC0
DMUE
Note
DMUE
0
1
DMUSEL0
0
1
Note When DMUE is set to 1, the operation is started. DMUE is automatically cleared to 0 after the operation is
complete.
Cautions 1. If DMUE is cleared to 0 during operation processing (when DMUE is 1), the operation result
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.
2. Do not change the value of DMUSEL0 during operation processing (while DMUE is 1). If it is
changed, undefined operation results are stored in multiplication/division data register A0
(MDA0) and remainder data register 0 (SDR0).
3. If DMUE is cleared to 0 during operation processing (while DMUE is 1), the operation
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 setting DMUE to 1).
µ
PD78F0534, 78F0535, 78F0536, 78F0537, AND 78F0537D ONLY)
R/W
6
5
0
0
Stops operation
Starts operation
Operation mode (multiplication/division) selection
Division mode
Multiplication mode
Preliminary User's Manual U17260EJ3V1UD
4
3
2
0
0
0
Operation start/stop
1
0
0
DMUSEL0
481

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents