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.
Dependencies: FastPWM3 mbed-dev-STM-lean
CAN/CAN_com.h@42:738fa01b0346, 2018-05-25 (annotated)
- Committer:
- benkatz
- Date:
- Fri May 25 15:16:42 2018 +0000
- Revision:
- 42:738fa01b0346
- Child:
- 47:e1196a851f76
separated CAN stuff out of main
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| benkatz | 42:738fa01b0346 | 1 | #ifndef CAN_COM_H |
| benkatz | 42:738fa01b0346 | 2 | #define CAN_COM_H |
| benkatz | 42:738fa01b0346 | 3 | |
| benkatz | 42:738fa01b0346 | 4 | #include "structs.h" |
| benkatz | 42:738fa01b0346 | 5 | #include "user_config.h" |
| benkatz | 42:738fa01b0346 | 6 | #include "mbed.h" |
| benkatz | 42:738fa01b0346 | 7 | #include "math_ops.h" |
| benkatz | 42:738fa01b0346 | 8 | |
| benkatz | 42:738fa01b0346 | 9 | void pack_reply(CANMessage *msg, float p, float v, float t); |
| benkatz | 42:738fa01b0346 | 10 | void unpack_cmd(CANMessage msg, ControllerStruct * controller); |
| benkatz | 42:738fa01b0346 | 11 | |
| benkatz | 42:738fa01b0346 | 12 | |
| benkatz | 42:738fa01b0346 | 13 | #endif |