Programming Examples
15-52
ADSP-BF50x Blackfin Processor Hardware Reference
Note that polling the
UART0_LSR
register for transmit purposes does not
cause side effects on receive status bits as on former implementations.
In non-DMA interrupt operation, the three UART interrupt request lines
may or may not be ORed together in the SIC controller or by the
EGLSI
control bit. If they had three different service routines, they may look as
shown in
Listing 15-6
.
Listing 15-6. UART Non-DMA Interrupt Operation
isr_uart_rx:
[--sp] = astat;
[--sp] = r7;
r7 = w[p0+UART0_RBR-UART0_GCTL] (z);
b[p4++] = r7;
ssync;
r7 = [sp++];
astat = [sp++];
rti;
isr_uart_rx.end:
isr_uart_tx:
[--sp] = astat;
[--sp] = r7;
r7 = b[p3++] (z);
CC = r7 == 0;
if CC jump isr_uart_tx.final;
w[p0+UART0_THR-UART0_GCTL] = r7;
r7 = [sp++];
astat = [sp++];
ssync;
rti;
isr_uart_tx.final:
r7 = ETBEI (z) ;
w[p0+UART0_IER_CLR] = r7; /* clear TX interrupt enable */
Содержание EZ-KIT Lite ADSP-BF506F
Страница 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 132: ...Unique Information for the ADSP BF50x Processor 4 22 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 342: ...Unique Information for the ADSP BF50x Processor 7 106 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 484: ...Unique Information for the ADSP BF50x Processor 10 60 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 493: ...ADSP BF50x Blackfin Processor Hardware Reference 11 9 Core Timer Unique Information for the ADSP BF50x Processor None ...
Страница 494: ...Unique Information for the ADSP BF50x Processor 11 10 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 506: ...Unique Information for the ADSP BF50x Processor 12 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 544: ...Unique Information for the ADSP BF50x Processor 13 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 712: ...Unique Information for the ADSP BF50x Processor 16 62 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 972: ...Unique Information for the ADSP BF50x Processor 20 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...