mbed library sources, include can_api for nucleo-f091rc
Dependents: CanNucleoF0_example
Fork of mbed-src by
Diff: api/CAN.h
- Revision:
- 636:03b10be137bf
- Parent:
- 212:34d62c0b2af6
- Child:
- 637:909ea77f86f8
--- a/api/CAN.h Wed Sep 30 17:00:09 2015 +0100 +++ b/api/CAN.h Mon Dec 14 06:28:46 2015 +0000 @@ -64,7 +64,7 @@ /** A can bus client, used for communicating with can devices */ -class CAN { +class Can { public: /** Creates an CAN interface connected to specific pins. @@ -105,8 +105,10 @@ * } * @endcode */ - CAN(PinName rd, PinName td); - virtual ~CAN(); + Can(PinName rd, PinName td); + virtual ~Can(); + + void dummy(void); /** Set the frequency of the CAN interface *