...
This function performs a special action on the opened device. The function code func defines what the caller want to do.
Prototype
CPU_INT16SINT16S CanBusIoCtl(CPU_INT16SINT16S busId,
CPU_INT16UINT16U func,
void *argp);
Parameter | Meaning |
---|---|
| Unique bus identifier |
| The function code |
| Pointer to argument, specific to the function code |
Additional Information
Function Code | Meaning |
---|---|
| Reinitialize the CAN bus; all pending transmissions will be canceled and received messages will be lost |
| Remove all entries out of the TX queue |
| Remove all entries out of the RX queue |
| Set TX timeout value |
| Set RX timeout value |
...