AdaCore / Ada_Drivers_Library

Ada source code and complete sample GNAT projects for selected bare-board platforms supported by GNAT.
BSD 3-Clause "New" or "Revised" License
240 stars 141 forks source link

Bring back the IO Functions definitions. #250

Closed elbric0 closed 6 years ago

elbric0 commented 6 years ago

I suggest to bring back the IO Functions definitions. I think they are useful because they avoid us to open the MCU doc to check what is the IOF number for a particular peripheral and I think they are more meaningful when reading the code. Example: If I need to assign a pin to the UART, I prefer to write Set_IO_Function (P16, IOF_UART0); than Set_IO_Function (P16, IOF0);.

CLAassistant commented 6 years ago

CLA assistant check
All committers have signed the CLA.

Fabien-Chouteau commented 6 years ago

Thanks @elbric0 !