Analog Devices Blackfin ADSP-BF537 Hardware Reference Manual page 932

Hide thumbs Also See for Blackfin ADSP-BF537:
Table of Contents

Advertisement

Programming Examples
p5.l = lo(TIMER_ENABLE);
#ifdef SINGLE_PULSE
r7.l = EMU_RUN | IRQ_ENA | OUT_DIS | PWM_OUT;
#else
r7.l = EMU_RUN | IRQ_ENA | PERIOD_CNT | OUT_DIS | PWM_OUT;
#endif
w[p5 + TIMER5_CONFIG - TIMER_ENABLE] = r7;
r7 = 0x1000 (z);
#ifndef SINGLE_PULSE
[p5 + TIMER5_PERIOD - TIMER_ENABLE] = r7;
r7 = 0x1 (z);
#endif
[p5 + TIMER5_WIDTH - TIMER_ENABLE] = r7;
r7.l = TIMEN5;
w[p5] = r7;
(r7:7, p5:5) = [sp++];
r0 = 0 (z);
rts;
timer5_interrupt_generation.end:
isr_timer5:
[--sp] = astat;
[--sp] = (r7:7, p5:5);
p5.h = hi(TIMER_STATUS);
p5.l = lo(TIMER_STATUS);
r7.h = hi(TIMIL5);
r7.l = lo(TIMIL5);
[p5] = r7;
r0+= 1;
ssync;
(r7:7, p5:5) = [sp++];
astat = [sp++];
rti;
isr_timer5.end:
15-56
ADSP-BF537 Blackfin Processor Hardware Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Blackfin ADSP-BF537 and is the answer not in the manual?

Table of Contents