Hey all,
I was trying to enable second GPIO pin as interrupt using,
palEnablePadEvent(GPIOD, 4U, PAL_EVENT_MODE_BOTH_EDGES);
I am getting an assert in below at _pal_lld_enablepadevent can someone explain why it happens
Im using STM32F767VIT6.
/* Multiple channel setting of the same channel not allowed, first disable
it. This is done because on STM32 the same channel cannot be mapped on
multiple ports.*/
osalDbgAssert(((EXTI->RTSR1 & padmask) == 0U) &&
((EXTI->FTSR1 & padmask) == 0U), "channel already in use");
I am also looking for general recommendation on using Interrupts.
Best regards,
Guru Prashanth Sridhar
Interrupt configuration STM32F7
Moderators: RoccoMarco, barthess
- Giovanni
- Site Admin
- Posts: 14444
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1074 times
- Been thanked: 921 times
- Contact:
Re: Interrupt configuration STM32F7
/* Multiple channel setting of the same channel not allowed, first disable
it. This is done because on STM32 the same channel cannot be mapped on
multiple ports.*/
This, if you need details it is explained in the STM32 reference manual, in the EXTI section.
Example, you cannot use as EXTI pin4 of two different ports.
Giovanni
it. This is done because on STM32 the same channel cannot be mapped on
multiple ports.*/
This, if you need details it is explained in the STM32 reference manual, in the EXTI section.
Example, you cannot use as EXTI pin4 of two different ports.
Giovanni
Who is online
Users browsing this forum: Bing [Bot] and 19 guests