mbed library sources
Fork of mbed-src by
Diff: hal/can_api.h
- Revision:
- 41:e8b66477f5bf
- Parent:
- 15:4892fe388435
- Child:
- 42:7ca0bbba899b
diff -r 5fa4b7c54c1d -r e8b66477f5bf hal/can_api.h --- a/hal/can_api.h Fri Oct 25 13:45:04 2013 +0100 +++ b/hal/can_api.h Fri Oct 25 15:00:04 2013 +0100 @@ -63,8 +63,9 @@ void can_irq_set (can_t *obj, CanIrqType irq, uint32_t enable); int can_write (can_t *obj, CAN_Message, int cc); -int can_read (can_t *obj, CAN_Message *msg); +int can_read (can_t *obj, CAN_Message *msg, int handle); int can_mode (can_t *obj, CanMode mode); +int can_filter (can_t *obj, unsigned int id, unsigned int mask, CANFormat format, int handle); void can_reset (can_t *obj); unsigned char can_rderror (can_t *obj); unsigned char can_tderror (can_t *obj);