PAL macro define

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
Post Reply
User avatar
tfAteba
Posts: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

PAL macro define

Post by tfAteba »

Hi Giovanni,

I have a simple question about the implementation of the pal low level driver header file, where you made the define of GPIO register.

PAL_STM32_PUDR_* is the only one that does not have the same name as the register on the reference manual.
I expected to read PAL_STM32_PUPDR_* for the pull-up/pull-down register selection.

Of course it is not so important to have the same name but all the other registers are define like in the reference manual.

Theo.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: PAL macro define

Post by Giovanni »

Hi,

I will look into this, if it does not break compatibility.

Giovanni
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: PAL macro define

Post by Giovanni »

Fixed in repository.

Giovanni
Post Reply