Enable Interrupt #8 on Pin PORTA28 (GPIO2)
In order to use IRLibRecvPCI class from IRLib2 with Adafruit pIRKey, it's necessary to allow interrupts on this pin.
This commit is contained in:
parent
d9e9508be4
commit
b1572ceb25
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ const PinDescription g_APinDescription[]=
|
|||
{ PORTA, 1, PIO_DIGITAL, 0, ADC_Channel5, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_1 }, // ADC/AIN[5]
|
||||
|
||||
// GPIO 2 - Infrared In
|
||||
{ PORTA, 28, PIO_COM, PIN_ATTR_NONE, No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_NONE }, // USB Host enable - GPIO #2
|
||||
{ PORTA, 28, PIO_COM, PIN_ATTR_NONE, No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_8 }, // USB Host enable - GPIO #2
|
||||
|
||||
// GPIO 3 & 4 (SWCLK & SWDIO)
|
||||
// --------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue