DAI Programming Examples
/* Enable Hi-priority DAI interrupt */
dm(DAI_IRPTL_PRI) = ustat1;
/* If more than 1 DAI interrupt is being used, it is neces-
sary to determine which interrupt occurred here */
/* Interrupt Service Routine for the DAI Hi-Priority Inter-
rupt. This ISR triggered when the DIR sets no_stream bit */
_DAIisrH:
2. Reset the Digital PLL Inside of the ISR
r8=dm(DAI_IRPTL_H);
ustat2=dm(DIRCTL);
bit set ustat2 DIR_PLLDIS; /* bit_7 disables Dpll only */
dm(DIRCTL)=ustat2;
bit clr ustat2 DIR_PLLDIS;
dm(DIRCTL)=ustat2;
9-28
ADSP-21368 SHARC Processor Hardware Reference
/* Reading DAI_IRPTL_H
clears interrupt */
/*reenable the digital pll */
Need help?
Do you have a question about the SHARC ADSP-21368 and is the answer not in the manual?