ADSP-BF50x Blackfin Processor Hardware Reference
15-49
UART Port Controllers
[p5 + TIMER_STATUS - TIMER_STATUS] = r6; /* clear pending
latches */
/* period capture, falling edge to falling edge */
r7 = TIN_SEL | IRQ_ENA | PERIOD_CNT | WDTH_CAP (z);
w[p1 + TIMER0_CONFIG - TIMER0_CONFIG] = r7;
w[p5+TIMER_ENABLE-TIMER_STATUS] = r5;
uart_autobaud.wait:
/* wait for timer event */
r7 = w[p5 + TIMER_STATUS - TIMER_STATUS] (z);
r7 = r7 & r5;
CC = r7 == 0;
if CC jump uart_autobaud.wait;
w[p5 + TIMER_DISABLE - TIMER_STATUS] = r5; /* disable Timer x
*/
[p5 + TIMER_STATUS - TIMER_STATUS] = r6; /* clear pending
latches */
/* Save period value to R0 */
r0 = [p1 + TIMER0_PERIOD - TIMER0_CONFIG];
/* delay processing as autobaud character is still ongoing */
r7 = OUT_DIS | IRQ_ENA | PERIOD_CNT | PWM_OUT (z);
w[p1 + TIMER0_CONFIG - TIMER0_CONFIG] = r7;
w[p5 + TIMER_ENABLE - TIMER_STATUS] = r5;
uart_autobaud.delay:
r7 = w[p5 + TIMER_STATUS - TIMER_STATUS] (z);
r7 = r7 & r5;
CC = r7 == 0;
if CC jump uart_autobaud.delay;
w[p5 + TIMER_DISABLE - TIMER_STATUS] = r5;
[p5 + TIMER_STATUS - TIMER_STATUS] = r6;
(r7:5,p5:5) = [sp++];
rts;
uart_autobaud.end:
Содержание 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 ...