RTEMS 7.0-rc1
Loading...
Searching...
No Matches
CANChip

RTEMS CAN Chip Flags

#define RTEMS_CAN_CHIP_CONFIGURED   ( 0 )
 This define provides controller flags determining whether the chip is configured and ready to be started.
 
#define RTEMS_CAN_CHIP_RUNNING   ( 1 )
 This define provides controller flags determining whether the chip is currently running or not.
 

RTEMS CAN Chip Capabilities

#define RTEMS_CAN_CHIP_CAPABILITIES_FD   ( 1 << 0 )
 This define provides controller flags determining whether the chip is CAN FD capable.
 
#define RTEMS_CAN_CHIP_CAPABILITIES_TX_TIMESTAMP   ( 1 << 1 )
 This define provides controller flags determining whether the chip has TX timestamping support.
 
#define RTEMS_CAN_CHIP_CAPABILITIES_RX_TIMESTAMP   ( 1 << 2 )
 This define provides controller flags determining whether the chip has TX timestamping support.
 

RTEMS CAN Chip Info.

Arguments that can be used with RTEMS_CAN_CHIP_GET_INFO IOCTL command.

#define RTEMS_CAN_CHIP_BITRATE   ( 1 )
 This define specifies user wants to obtain controller's nominal bitrate via RTEMS_CAN_CHIP_GET_INFO ioctl.
 
#define RTEMS_CAN_CHIP_DBITRATE   ( 2 )
 This define specifies user wants to obtain controller's data bitrate via RTEMS_CAN_CHIP_GET_INFO ioctl.
 
#define RTEMS_CAN_CHIP_NUSERS   ( 3 )
 This define specifies user wants to obtain number of users using the controller via RTEMS_CAN_CHIP_GET_INFO ioctl.
 
#define RTEMS_CAN_CHIP_FLAGS   ( 4 )
 This define specifies user wants to obtain controller's flags via RTEMS_CAN_CHIP_GET_INFO ioctl. Refer to CANChip for flags definitions.
 
#define RTEMS_CAN_CHIP_MODE   ( 5 )
 This define specifies user wants to obtain currently set controller's modes via RTEMS_CAN_CHIP_GET_INFO ioctl.
 
#define RTEMS_CAN_CHIP_MODE_SUPPORTED   ( 6 )
 This define specifies user wants to obtain modes supported by the controller via RTEMS_CAN_CHIP_GET_INFO ioctl.
 

Detailed Description