XC886/888CLM
CORDIC Coprocessor
User’s Manual
11-18
V1.3, 2010-02
CORDIC Coprocessor, V 1.2.1
11.6.2
Status and Data Control Register
The CD_STATC register is bit-addressable, and generally reflects the status of the
CORDIC Coprocessor. The register also contain bits for data control, as well as for
interrupt control.
CD_STATC
CORDIC Status and Data Control Register
Reset Value: 00
H
7
6
5
4
3
2
1
0
KEEPZ
KEEPY
KEEPX
DMAP
INT_EN
EOC
ERROR
BSY
rw
rw
rw
rw
rw
rwh
rh
rh
Field
Bits
Type Description
BSY
0
rh
Busy Indication
Indicates a running calculation when set. The flag is
asserted one clock cycle after bit ST was set. It is
deasserted at the end of a calculation.
ERROR
1
rh
Error Indication
In case of overflow error in the calculated result for
X, Y or Z, this bit is set at the end of CORDIC
calculation. Cleared after any read access on this
register, or when a new CORDIC calculation is
started.
EOC
2
rwh
End of Calculation Flag
Set at the end of a complete CORDIC calculation
when BSY goes inactive.
Unless cleared by software, bit remains set until a
read access is performed to the low byte of Z result
data (DMAP = 0) where the bit is automatically
cleared by hardware.
INT_EN
3
rw
Interrupt Enable
Set to enable CORDIC Coprocessor interrupt
DMAP
4
rw
Data Map
0
Read (result) data from kernel data registers
(default)
1
Read (initial) data from the shadow data
registers
*