RTEMS CAN/CAN FD Stack
Loading...
Searching...
No Matches
CANChip

RTEMS CAN Chip Flags

#define RTEMS_CHIP_FLAGS_CONFIGURED   ( 1 << 0 )
 This define provides controller flags determining whether the chip is configured and ready to be started.
 
#define RTEMS_CHIP_FLAGS_RUNNING   ( 1 << 1 )
 This define provides controller flags determining whether the chip is currently running or not.
 
#define RTEMS_CHIP_FLAGS_FDCAPABLE   ( 1 << 2 )
 This define provides controller flags determining whether the chip is CAN FD capable.
 

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