XC886/888CLM
Multiplication/Division Unit
User’s Manual
10-13
V1.3, 2010-02
MDU, V2.1
10.5.3
Status Register
Register MDUSTAT contains the status flags of the MDU.
MDUSTAT
MDU Status Register
Reset Value: 00
H
7
6
5
4
3
2
1
0
0
BSY
IERR
IRDY
r
rh
rwh
rwh
Field
Bits
Type Description
IRDY
0
rwh
Interrupt on Result Ready
The bit IRDY is set by hardware and reset by
software.
0
No interrupt is triggered at the end of a
successful operation.
1
An interrupt is triggered at the end of a
successful operation.
IERR
1
rwh
Interrupt on Error
The bit IERR is set by hardware and reset by
software.
0
No interrupt is triggered with the occurrence of
an error.
1
An interrupt is triggered with the occurrence of
an error.
BSY
2
rh
Busy Bit
0
The MDU is not running any calculation.
1
The MDU is still running a calculation.
0
7:3
r
Reserved
Returns 0 if read; should be written with 0.
*