interrupt handler for pin0.x and 2.x???

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

interrupt handler for pin0.x and 2.x???

975 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by irven on Wed Oct 31 03:05:00 MST 2012
[FONT=Arial]Hi all,[/FONT]
[FONT=Arial][/FONT]
[FONT=Arial]i working with a LPCXpresso Board 1769 and in the usermanual in found that al Ports 0.x and 2.x can creat interrupts and for exampel in the [SIZE=3][COLOR=#005042][SIZE=3][COLOR=#005042][SIZE=3][COLOR=#005042][COLOR=black]IO0IntEnR[/COLOR][COLOR=black]Register i can choose the ports for rising edge interrupt. But my problem is there are no Interrupt Handler for this Ports.[/COLOR][/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=3][COLOR=#005042][SIZE=3][COLOR=#005042][SIZE=3][COLOR=#005042][COLOR=#000000]Do somebody know how to use this interrupts and do i have to write my own Interrupt handler ( i dont know how!)?[/COLOR][/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][/FONT]
[FONT=Arial]There are only Interrupt handler for the EINT0-EINT3 but that are only 4 and not all 0.x and 2.x Ports[/FONT]
[FONT=Arial][/FONT]
[FONT=Arial]best regards [/FONT]
[FONT=Arial][SIZE=3][COLOR=#005042][SIZE=3][COLOR=#005042][SIZE=3][COLOR=#005042][COLOR=#000000][/COLOR][/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=3][COLOR=#005042][SIZE=3][COLOR=#005042][SIZE=3][COLOR=#005042][COLOR=#000000][/COLOR][/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=3][COLOR=#005042][SIZE=3][COLOR=#005042][SIZE=3][COLOR=#005042][COLOR=#000000][/COLOR]
[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][/FONT][FONT=Arial][SIZE=3][COLOR=#005042][FONT=Arial][SIZE=3][COLOR=#005042][FONT=Arial][SIZE=3][COLOR=#005042][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT]
0 Kudos
Reply
3 Replies

967 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Oct 31 09:12:30 MST 2012

Quote: irven
if i understand this right ther is only one Interrupt handler for all the GPIO Interrupts?



Yes, all (enabled) GPIO interrupts trigger EINT3 :)
0 Kudos
Reply

967 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by irven on Wed Oct 31 05:43:43 MST 2012
ah ok i missed the important note.
thanks a lot!
if i understand this right ther is only one Interrupt handler for all the GPIO Interrupts?

best regards.
0 Kudos
Reply

967 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Oct 31 03:22:58 MST 2012

Quote: irven
[FONT=Arial][SIZE=3][COLOR=#005042][SIZE=3][COLOR=#005042][SIZE=3][COLOR=#005042][COLOR=black]But my problem is there are no Interrupt Handler for this Ports.[/COLOR][/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][/FONT]



:confused:

UM10360:


Quote:

Table 50. Connection of interrupt sources to the Vectored Interrupt Controller
...
21 External Interrupt External Interrupt 3 (EINT3).
[COLOR=Red][B]Note: EINT3 channel is shared with GPIO interrupts[/B][/COLOR]

0 Kudos
Reply