Page 1 of 1

PAL differnce between PORT and PAD ?

Posted: Thu May 16, 2013 4:41 pm
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

Re: PAL differnce between PORT and PAD ?

Posted: Thu May 16, 2013 5:00 pm
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

Re: PAL differnce between PORT and PAD ?

Posted: Thu May 16, 2013 6:53 pm
by Giovanni
Beer not mandatory but still appreciated :)

Giovanni

Re: PAL differnce between PORT and PAD ?

Posted: Fri May 17, 2013 7:58 am
by motley
Giovanni - you are most welcome

Tectu - many thanks as ever...