# Interrupt on BL2600

**URL:** <https://forums.digi.com/t/interrupt-on-bl2600/11122>\
**Category:** Rabbit\
**Created:** [August 27, 2009, 9:26pm UTC](https://forums.digi.com/t/interrupt-on-bl2600/11122 "2009-08-27T21:26:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![steven71](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@steven71](https://forums.digi.com/u/steven71)\
**Post date:** [August 27, 2009, 9:26pm UTC](https://forums.digi.com/t/interrupt-on-bl2600/11122/1 "2009-08-27T21:26:02Z")

</div>

Could somemeone tell me how to use interrupt with BL2006.

What pins should I use?  
I don’t understand link between interrupt pin and PE0, PE1.

I did not be able to make work the Dynamic C sample.

Thank in advance

---

<div class="post-metadata">

**Author:** ![bsprouse](https://avatars.discourse-cdn.com/v4/letter/b/ecd19e/32.png) [@bsprouse](https://forums.digi.com/u/bsprouse)\
**Post date:** [September 15, 2009, 12:47am UTC](https://forums.digi.com/t/interrupt-on-bl2600/11122/2 "2009-09-15T00:47:36Z")

</div>

The only two input pins on the BL2600 that have external interrupt ability are SBC pins IN00 or IN01. These are connected to processor ports PE4 and PE5 respectively. The EXTINT\_3000.C sample program will need to be modified to use PE4 instead of PE0 and PE5 instead of PE1. See section 7.10.1 of the Rabbit 3000 User Manual for coverage of the external interrupt pins and the control registers I0CR and I1CR.

To get the EXTINT\_3000.C sample to use PE4 and PE5, change

```auto

  WrPortI(I0CR, &amp;I0CRShadow, 0x09); 
      // enable external INT0 on PE0, rising edge, priority 1
  WrPortI(I1CR, &amp;I1CRShadow, 0x09);
      // enable external INT1 on PE1, rising edge, priority 1

```

to

```auto

  WrPortI(I0CR, &amp;I0CRShadow, 0x21);
      // enable external INT0 on PE4, rising edge, priority 1
  WrPortI(I1CR, &amp;I1CRShadow, 0x21);
      // enable external INT1 on PE5, rising edge, priority 1

```
