This fork captures the mbed lib v125 for ease of integration into older projects.
Fork of mbed-dev by
Diff: hal/can_api.h
- Revision:
- 187:92cbb9eec47b
- Parent:
- 167:e84263d55307
--- a/hal/can_api.h Fri Jun 22 16:45:37 2018 +0100 +++ b/hal/can_api.h Fri Jul 20 21:24:42 2018 +0000 @@ -1,6 +1,3 @@ - -/** \addtogroup hal */ -/** @{*/ /* mbed Microcontroller Library * Copyright (c) 2006-2016 ARM Limited * @@ -25,7 +22,7 @@ #include "PinNames.h" #include "PeripheralNames.h" -#include "hal/can_helper.h" +#include "can_helper.h" #ifdef __cplusplus extern "C" { @@ -57,10 +54,9 @@ typedef struct can_s can_t; -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_init (can_t *obj, PinName rd, PinName td); +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); @@ -82,5 +78,3 @@ #endif // MBED_CAN_API_H #endif - -/** @}*/