Hi, I have an older project I think I used Chibi_16 vintage. As discussed in this posting:
viewtopic.php?t=3319
We figured out a way to use EXTI17 as a wakeup source. However, I relied on the EXT driver to set up the IRQ.
Now that PAL has replaced EXT, it seems to be only pad-centric (0->15). Is there a way in modern ChibiOS to set up EXTI17 in a generic fashion?
Porting old EXT driver implementation to Chibi_19
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Porting old EXT driver implementation to Chibi_19
Hi,
There is an EXTI API under EXTIv1, it is used by PAL as an internal interface but can be used by application code, see stm32_exti.h/c.
Giovanni
There is an EXTI API under EXTIv1, it is used by PAL as an internal interface but can be used by application code, see stm32_exti.h/c.
Giovanni
Re: Porting old EXT driver implementation to Chibi_19
Ahaa, and it looks as though the RTCv2 driver already uses it to set those IRQs up properly. I guess I should have read the driver code first.
Thanks as always,
Dave
Thanks as always,
Dave