Configures the can interface for API.
More...
#include <ctre/phoenix/platform/can/PlatformCAN.h>
Configures the can interface for API.
◆ DestroyAll()
static int32_t ctre::phoenix::platform::can::PlatformCAN::DestroyAll |
( |
| ) |
|
|
static |
Destroys all items in interface.
◆ RegisterCANbus()
static int32_t ctre::phoenix::platform::can::PlatformCAN::RegisterCANbus |
( |
char const * |
canbus | ) |
|
|
static |
Registers a non-compliant CANbus.
- Parameters
-
canbus | CANbus to register. Linux example: "can0". |
- Returns
- ErrorCode generated by function
◆ SetAutocacheLevel()
Set Autocache state.
- Parameters
-
◆ SetCANInterface()
static int32_t ctre::phoenix::platform::can::PlatformCAN::SetCANInterface |
( |
const char * |
canInterface | ) |
|
|
static |
Set CAN interface.
- Parameters
-
canInterface | Can interface to set. Linux example: "can0". |
- Returns
- ErrorCode generated by function
- Deprecated:
- pass the CAN interface to device constructors instead, or call RegisterCANbus
◆ StartAll()
static int32_t ctre::phoenix::platform::can::PlatformCAN::StartAll |
( |
| ) |
|
|
static |
Starts all items in interface.
The documentation for this class was generated from the following file: