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

restore gpio bit set/reset performance; reinstate basic gpio demo #187

Closed pat-rogers closed 7 years ago

pat-rogers commented 7 years ago

The bit-reset registers ignore writes of zeros. thus we can can use bit masks and not worry about preserving exiting set/cleared bits. This leads to the maximally efficient code generated.

remove inlining for routines that the compiler will not inline (in later versions of the compiler).

reinstate basic gpio demo.

pat-rogers commented 7 years ago

Will resubmit with changes