test
Fork of CANnucleo by
Diff: CAN.h
- Revision:
- 8:5c90d6b9a382
- Parent:
- 6:c5a40d5fd9f1
- Child:
- 9:e9224f2c6d37
--- a/CAN.h Fri Oct 23 19:51:51 2015 +0000 +++ b/CAN.h Fri Oct 30 23:55:13 2015 +0000 @@ -250,9 +250,11 @@ * @param format format to filter on (Default CANAny) * @param handle message filter handle (Optional) * - * @returns - * 0 if filter change failed or unsupported, - * new filter handle if successful + * @returns 0 - successful + * 1 - error + * 2 - busy + * 3 - time out + * */ int filter(unsigned int id, unsigned int mask, CANFormat format = CANAny, int handle = 0); @@ -317,3 +319,4 @@ +