Hi Jorge,
i saw your projects and tutorials. You are doing a very good job.
I have a question about external interuppt support.
I have written a small program that should controll a small power unit.
It will rule the carburetor with a small servo for holding the messured rpm constant.
I have the problem that the external interuppt is not triggering.
My dev is a stm32vldiscovery board.
What i have got (It is more, but this are the hot parts here):
typedef PA1 RPMPIN;
typedef EXTI1 RPMINT;
void initializeGpio()
{
GPIOA::enableClock();
RPMINT::enableHardwareInterruptByRisingEdge();
RPMPIN::setMode(gpio::cr::INPUT_PULL_X);
}
void interrupt::EXTI1()
{
RPMINT::clearPendingFlag();
}
I read in the spec that i have to set the nvic and the interupt enabeled, but I can not see how to make that work with your libary.
I want to make it happen with internal pull-up.
So, what have i missed ?
If you help me here i will write an example and give that to your project if you want.
Thanks, Peter