mbed library sources, mbed-dev only for TYBLE16
Fork of mbed-dev by
Please refer flowing link.
/users/kenjiArai/notebook/tyble16-module-will-become-a-mbed-family--mbedliza/
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);