EXT vs PAL driver for gpio interrupts

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
geoffrey.brown
Posts: 87
Joined: Thu May 07, 2015 9:47 pm
Has thanked: 3 times
Been thanked: 15 times

EXT vs PAL driver for gpio interrupts

Postby geoffrey.brown » Sun Feb 11, 2018 10:47 pm

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

User avatar
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

Postby Giovanni » Mon Feb 12, 2018 8:19 am

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

geoffrey.brown
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

Postby geoffrey.brown » Mon Feb 12, 2018 11:16 pm

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


Return to “ChibiOS/HAL”

Who is online

Users browsing this forum: No registered users and 13 guests