forked
Diff: hal/can_api.h
- Revision:
- 167:e84263d55307
- Parent:
- 149:156823d33999
diff -r c97ed07ec1a8 -r e84263d55307 hal/can_api.h --- 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);