Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC23XX/can_api.c
- Revision:
- 41:e8b66477f5bf
- Parent:
- 13:0645d8841f51
- Child:
- 227:7bd0639b8911
diff -r 5fa4b7c54c1d -r e8b66477f5bf targets/hal/TARGET_NXP/TARGET_LPC23XX/can_api.c --- a/targets/hal/TARGET_NXP/TARGET_LPC23XX/can_api.c Fri Oct 25 13:45:04 2013 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC23XX/can_api.c Fri Oct 25 15:00:04 2013 +0100 @@ -72,6 +72,14 @@ } } +int can_mode(can_t *obj, CanMode mode) { + return 0; // not implemented +} + +int can_filter(can_t *obj, uint32_t id, uint32_t mask, CANFormat format, int32_t handle) { + return 0; // not implemented +} + static int can_pclk(can_t *obj) { int value = 0; switch ((int)obj->dev) { @@ -247,7 +255,7 @@ return 0; } -int can_read(can_t *obj, CAN_Message *msg) { +int can_read(can_t *obj, CAN_Message *msg, int handle) { CANMsg x; unsigned int *i = (unsigned int *)&x;