r0 = dm(IDP_CTL0);
r0 = BSET r0 BY 0;
r0 = BSET r0 BY 1;
r0 = BSET r0 BY 2;
r0 = BCLR r0 BY 3;
dm(IDP_CTL0) = r0;
r0 = dm(DAI_IRPTL_RE);
r0 = BSET r0 BY IDP_FIFO_GTN_INT;
dm(DAI_IRPTL_RE) = r0;
r0 = dm(DAI_IRPTL_FE);
r0 = BCLR r0 BY IDP_FIFO_GTN_INT;
dm(DAI_IRPTL_FE) = r0;
r0 = dm(DAI_IRPTL_PRI);
r0 = BSET r0 BY IDP_FIFO_GTN_INT;
dm(DAI_IRPTL_PRI) = r0;
r0 = dm(IDP_CTL0);
r0 = BSET r0 BY IDP_ENABLE;
dm(IDP_CTL0) = r0;
initIDP.end:
IDP_ISR:
i0 = OutBuffer;
m0 = 1;
LCNTR = 5, DO RemovedFromFIFO UNTIL LCE;
r0 = dm(IDP_FIFO);
dm(i0,m0) = r0;
RemovedFromFIFO:
RTI;
IDP_ISR.end:
ADSP-21368 SHARC Processor Hardware Reference
/* N_SET = 6 */
/* Unmask for rising edge */
/* Mask for falling edge */
/* Map to high priority in core */
/* Start the IDP */
Input Data Port
7-33
Need help?
Do you have a question about the SHARC ADSP-21368 and is the answer not in the manual?