Page 1 of 1

Comparator (COMP) HAL

Posted: Fri Mar 22, 2013 6:38 pm
by beause
Hello,

Please find attached a contribution for a Comparator HAL component. We are using the comparator on the STM32F37x MCU and thought it'd be good to add a HAL interface.

There is also a testhal program in the testhal/STM32F37x/COMP directory for the 32373C eval board.

I am not able to try this on the STM32F30x MCUs unfortunately.

I also did not include a callback for comparator interrupts since for the comparator it goes through the EXTI which already has a HAL component. Not sure what to do there.

Hopefully you find it usable.

Best regards.

Re: Comparator (COMP) HAL

Posted: Wed Apr 03, 2013 2:49 pm
by skench
Hi Beause

I think the file comp_lld.h is missing.

Regards
Stephen Kench