Sometime in the past I used the EXT driver for GPIO interrupts, but it looks like that is being replaced by things in the PAL driver. I'm unclear about the current status and what I should use today. If the PAL driver, then which ChibiOS version and is there an simple example of enabling a GPIO interrupt ? If the EXT, then I more or less remember the "big picture" if not the details.
Geoffrey
EXT vs PAL driver for gpio interrupts
-
- Posts: 87
- Joined: Thu May 07, 2015 9:47 pm
- Has thanked: 3 times
- Been thanked: 15 times
- 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: EXT vs PAL driver for gpio interrupts
Hi,
In release 18.2.0 the EXT driver is no more provided for STM32, there is a PAL demo under /testhal/STM32/multi/PAL with examples of callbacks and synchronous API.
Giovanni
In release 18.2.0 the EXT driver is no more provided for STM32, there is a PAL demo under /testhal/STM32/multi/PAL with examples of callbacks and synchronous API.
Giovanni
-
- Posts: 87
- Joined: Thu May 07, 2015 9:47 pm
- Has thanked: 3 times
- Been thanked: 15 times
Re: EXT vs PAL driver for gpio interrupts
Thanks ! It took a little futzing to get my project upgraded (config files, makefile, etc), plus some deprecated calls, but is all seems to be working now. I do appreciate the simplicity of the PAL interrupt model.
Geoffrey
Geoffrey
Who is online
Users browsing this forum: No registered users and 13 guests