ADSP-BF537 Blackfin Processor Hardware Reference
13-39
UART Port Controllers
isr_uart_tx.final:
r7 = w[p0+UART0_IER-UART0_GCTL] (z); /* clear TX interrupt
enable */
bitclr(r7, bitpos(ETBEI)); /* ensure this sequence is not */
w[p0+UART0_IER-UART0_GCTL] = r7; /* interrupted by other
IER accesses */
ssync;
r7 = [sp++];
astat = [sp++];
rti;
isr_uart_tx.end:
isr_uart_error:
[--sp] = astat;
[--sp] = r7;
r7 = w[p0+UART0_LSR-UART0_GCTL] (z); /* read clears inter-
rupt request */
/* do something with the error */
r7 = [sp++];
astat = [sp++];
ssync;
rti;
isr_uart_error.end:
transmits a string by DMA operation, waits until DMA com-
pletes and sends an additional string by polling. Note the importance of
the SYNC bit.
Listing 13-8. UART Transmission SYNC Bit Use
.section data;
.byte sHello[] = 'Hello Blackfin User',13,10,0;
.byte sWorld[] = 'How is life?',13,10,0;
.section program;
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...