Name
Configuration — CAN subsystem configuration
Description
The CAN subsystem has a number of configuration options:
- cdl_interface CYGINT_IO_CAN_DRIVER
- This CDL interface counts the number of CAN channels present in the system. Each driver must have an implements command for this interface for each channel it supports.
- cdl_option CYGNUM_IO_CAN_MSG_COUNT_BASE
This CDL option defines the base number of message buffers allocated regardless of the number of channels available.
Default value: 10
- cdl_option CYGNUM_IO_CAN_MSG_COUNT_DRIVER
This CDL option defines the number of message buffers allocated per CAN channel. The total number of message buffers allocated is
CYGNUM_IO_CAN_MSG_COUNT_BASE
plusCYGNUM_IO_CAN_MSG_COUNT_DRIVER
timesCYGINT_IO_CAN_DRIVER
.Default value: 10
- cdl_option CYGNUM_IO_CAN_FILTER_MAX
This option defines the number of extended filters that can be stored. Drivers may use a requires statement to increase this number to reflect the availability of hardware filters. If hardware filtering is not supported, then this defines the number of software filters that can be stored.
Default value: 10
- cdl_option CYGDBG_IO_CAN_DEBUG
This CDL option enables diagnostic output to be generated by the CAN subsystem. This is mostly useful in debugging problems with the CAN subsystem or in the development of device drivers.
Default value: 0
2024-12-10 | eCosPro Non-Commercial Public License |