Question
STM32W108xx IRQC configuration
Posted on August 06, 2013 at 19:20
Hello all,
I'm working on STM32W108xx & interfacing a sensor whose interrupt pin connected to the PB7, IRQC pin. How to configure this pin for the following handler ?void
EXTIC_IRQHandler(
void
)
{
if
(EXTI_GetITStatus(EXTI_IRQC))
{
EXTI_ClearITPendingBit(EXTI_IRQC);
}
} I tried to call simply the following function, but doesn't work.
NVIC_EnableIRQ(EXTIC_IRQn);
It looks that this Interrupt configuration is bit different from the STM32 based MCUs.
Any code sample would be a great help.
#stm32w108