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

New "window" watchdog driver and demo #151

Closed pat-rogers closed 7 years ago

pat-rogers commented 7 years ago

On 2/20/2017 9:08 AM, Fabien Chouteau wrote:

Fabien-Chouteau approved this pull request.

Outstanding code quality as always :)

Thanks! :-)

Is is possible to provide a helper that will compute the prescaler based on the frequency that the users want to have?

AFAICT there is not the same flexibility as we had with the PWM implementation, for example. The clock source is always PCLK1 and the dividers are always 1, 2, 4, and 8.