|
truck-code
|

Functions | |
| int | can_dev_arm (resmgr_context_t *ctp, iofunc_ocb_t *io_ocb, sigevent event) |
| int can_dev_arm | ( | resmgr_context_t * | ctp, |
| iofunc_ocb_t * | io_ocb, | ||
| sigevent | event | ||
| ) |
Arm the CAN device manager.
Attach the hardware interrupt, and save the event to be used to notify the client in the ocb structure.
| ctp | A pointer to a resmgr_context_t structure that the resource-manager library uses to pass context information between functions. |
| io_ocb | Open control block (usually embedded within file system ocb) |
| event | CAN signal event structure, used to receive and process pulses |
1.8.13