Programming Examples
15-54
ADSP-BF50x Blackfin Processor Hardware Reference
r0 = [p1 + IMASK - IMASK]; /* unmask interrupt in CEC */
bitset(r0, bitpos(EVT_IVG10));
[p1] = r0;
p1.l = lo(SIC_IMASK0);
p1.h = hi(SIC_IMASK0);
/* unmask interrupt in SIC */
r0.l = 0x8000;
r0.h = 0x0000;
[p1] = r0;
[--sp] = reti;
/* enable nesting of interrupts */
p5.l = lo(DMA7_CONFIG);
/* setup DMA in STOP mode */
p5.h = hi(DMA7_CONFIG);
r7.l = lo(sHello);
r7.h = hi(sHello);
[p5+DMA7_START_ADDR-DMA7_CONFIG] = r7;
r7 = length(sHello) (z);
r7+= -1;
/* don't send trailing null character */
w[p5+DMA7_X_COUNT-DMA7_CONFIG] = r7;
r7 = 1;
w[p5+DMA7_X_MODIFY-DMA7_CONFIG] = r7;
r7 = FLOW_STOP | WDSIZE_8 | DI_EN | SYNC | DMAEN (z);
w[p5] = r7;
p0.l = lo(UART0_GCTL); /* select UART 0 */
p0.h = hi(UART0_GCTL);
r0 = ETBEI (z);
/* enable and issue first request */
w[p0+UART0_IER-UART0_GCTL] = r0;
wait4dma: /* just one way to synchronize with the service routine
*/
r0 = w[p5+DMA7_IRQ_STATUS-DMA7_CONFIG] (z);
CC = bittst(r0,bitpos(DMA_RUN));
if CC jump wait4dma;
p1.l=lo(sWorld);
Summary of Contents for EZ-KIT Lite ADSP-BF506F
Page 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Page 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...