Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: STM32L452_Nucleo_ticker
Fork of mbed-dev by
Diff: hal/can_api.h
- Revision:
- 167:e84263d55307
- Parent:
- 149:156823d33999
--- a/hal/can_api.h Thu Jun 08 15:02:37 2017 +0100 +++ b/hal/can_api.h Wed Jun 21 17:46:44 2017 +0100 @@ -57,9 +57,10 @@ typedef struct can_s can_t; -void can_init (can_t *obj, PinName rd, PinName td); -void can_free (can_t *obj); -int can_frequency(can_t *obj, int hz); +void can_init (can_t *obj, PinName rd, PinName td); +void can_init_freq (can_t *obj, PinName rd, PinName td, int hz); +void can_free (can_t *obj); +int can_frequency (can_t *obj, int hz); void can_irq_init (can_t *obj, can_irq_handler handler, uint32_t id); void can_irq_free (can_t *obj);
