ADSP-BF537 Blackfin Processor Hardware Reference
17-11
Watchdog Timer
is an interrupt service routine that restarts the watchdog.
Note that the watchdog must be disabled first.
Listing 17-3. Watchdog Restarted by Interrupt Service Routine
isr_watchdog:
[--sp] = astat;
[--sp] = (p5:5, r7:7);
p5.h = hi(WDOG_CTL);
p5.l = lo(WDOG_CTL);
r7.l = WDDIS;
w[p5] = r7;
bitset(r7, bitpos(WDRO));
w[p5] = r7;
r7 = [p5 + WDOG_CNT - WDOG_CTL];
[p5 + WDOG_CNT - WDOG_CTL] = r7;
r7.l = WDEN | WDEV_GPI;
w[p5] = r7;
(p5:5, r7:7) = [sp++];
astat = [sp++];
rti;
isr_watchdog.end:
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 ...