pub
Fork of CANnucleo by
Diff: CAN.h
- Revision:
- 6:c5a40d5fd9f1
- Parent:
- 5:b53e5ee15315
- Child:
- 8:5c90d6b9a382
diff -r b53e5ee15315 -r c5a40d5fd9f1 CAN.h --- a/CAN.h Tue Aug 04 11:58:09 2015 +0000 +++ b/CAN.h Fri Oct 23 19:45:00 2015 +0000 @@ -169,7 +169,16 @@ * } * @endcode */ - CAN(PinName rd, PinName td); + + /** Constructor + * + * @param rd CAN receiver pin name + * @param td CAN transmitter pin name + * @param abom Automatic recovery from bus-off state (default value set to enabled) + * + */ + CAN(PinName rd, PinName td, FunctionalState abom = ENABLE); + virtual ~CAN(); /** Set the frequency of the CAN interface @@ -307,3 +316,4 @@ #endif // MBED_CAN_H +