PAL differnce between PORT and PAD ?

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
motley
Posts: 24
Joined: Fri May 10, 2013 3:51 pm

PAL differnce between PORT and PAD ?

Post by motley »

Just curious and a sure fire way to demonstrate my ignorance but I was reading the HAL reference manual for the STM32F4 (bfl paid***)...

In the PAL section I find reference to 'Ports' as you would expect and 'Pads' which is not a description I have seen before - is this the same as the pins on a port ?

Thanks,

Chris

*** bfl = beer funded licence, hopefully a universal currency devoid of tax and in sufficient quantity has many extra freedoms
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: PAL differnce between PORT and PAD ?

Post by Tectu »

A port is a GPIO port like PORTA, PORTG, PORTF and so on. Pad is similar to a pin. Therefore pin 9 of port A would be PA9.


~ Tectu
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: PAL differnce between PORT and PAD ?

Post by Giovanni »

Beer not mandatory but still appreciated :)

Giovanni
motley
Posts: 24
Joined: Fri May 10, 2013 3:51 pm

Re: PAL differnce between PORT and PAD ?

Post by motley »

Giovanni - you are most welcome

Tectu - many thanks as ever...
Post Reply