WPILibC++ 2024.3.2
CANAPITypes.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7#include <stdint.h>
8
9#include "hal/Types.h"
10
11/**
12 * @defgroup hal_canapi CAN API Functions
13 * @ingroup hal_capi
14 * @{
15 */
16
17/**
18 * The CAN device type.
19 *
20 * Teams should use HAL_CAN_Dev_kMiscellaneous
21 */
23 /// Broadcast.
25 /// Robot controller.
27 /// Motor controller.
29 /// Relay controller.
31 /// Gyro sensor.
33 /// Accelerometer.
35 /// Ultrasonic sensor.
37 /// Gear tooth sensor.
39 /// Power distribution.
41 /// Pneumatics.
43 /// Miscellaneous.
45 /// IO breakout.
47 /// Firmware update.
49};
50
51/**
52 * The CAN manufacturer ID.
53 *
54 * Teams should use HAL_CAN_Man_kTeamUse.
55 */
57 /// Broadcast.
59 /// National Instruments.
61 /// Luminary Micro.
63 /// DEKA Research and Development Corp.
65 /// Cross the Road Electronics.
67 /// REV robotics.
69 /// Grapple.
71 /// MindSensors.
73 /// Team use.
75 /// Kauai Labs.
77 /// Copperforge.
79 /// Playing With Fusion.
81 /// Studica.
83 /// TheThriftyBot.
85 /// Redux Robotics.
87 /// AndyMark.
89 /// Vivid-Hosting.
91};
92/** @} */
@ HAL_ENUM
Definition: Value.h:14
HAL_CANDeviceType
The CAN device type.
Definition: CANAPITypes.h:22
HAL_CANManufacturer
The CAN manufacturer ID.
Definition: CANAPITypes.h:56
@ HAL_CAN_Dev_kAccelerometer
Accelerometer.
Definition: CANAPITypes.h:34
@ HAL_CAN_Dev_kGearToothSensor
Gear tooth sensor.
Definition: CANAPITypes.h:38
@ HAL_CAN_Dev_kFirmwareUpdate
Firmware update.
Definition: CANAPITypes.h:48
@ HAL_CAN_Dev_kBroadcast
Broadcast.
Definition: CANAPITypes.h:24
@ HAL_CAN_Dev_kRobotController
Robot controller.
Definition: CANAPITypes.h:26
@ HAL_CAN_Dev_kPowerDistribution
Power distribution.
Definition: CANAPITypes.h:40
@ HAL_CAN_Dev_kIOBreakout
IO breakout.
Definition: CANAPITypes.h:46
@ HAL_CAN_Dev_kPneumatics
Pneumatics.
Definition: CANAPITypes.h:42
@ HAL_CAN_Dev_kUltrasonicSensor
Ultrasonic sensor.
Definition: CANAPITypes.h:36
@ HAL_CAN_Dev_kRelayController
Relay controller.
Definition: CANAPITypes.h:30
@ HAL_CAN_Dev_kMotorController
Motor controller.
Definition: CANAPITypes.h:28
@ HAL_CAN_Dev_kMiscellaneous
Miscellaneous.
Definition: CANAPITypes.h:44
@ HAL_CAN_Dev_kGyroSensor
Gyro sensor.
Definition: CANAPITypes.h:32
@ HAL_CAN_Man_kKauaiLabs
Kauai Labs.
Definition: CANAPITypes.h:76
@ HAL_CAN_Man_kLM
Luminary Micro.
Definition: CANAPITypes.h:62
@ HAL_CAN_Man_kVividHosting
Vivid-Hosting.
Definition: CANAPITypes.h:90
@ HAL_CAN_Man_kTeamUse
Team use.
Definition: CANAPITypes.h:74
@ HAL_CAN_Man_kBroadcast
Broadcast.
Definition: CANAPITypes.h:58
@ HAL_CAN_Man_kTheThriftyBot
TheThriftyBot.
Definition: CANAPITypes.h:84
@ HAL_CAN_Man_kMS
MindSensors.
Definition: CANAPITypes.h:72
@ HAL_CAN_Man_kCTRE
Cross the Road Electronics.
Definition: CANAPITypes.h:66
@ HAL_CAN_Man_kDEKA
DEKA Research and Development Corp.
Definition: CANAPITypes.h:64
@ HAL_CAN_Man_kCopperforge
Copperforge.
Definition: CANAPITypes.h:78
@ HAL_CAN_Man_kPWF
Playing With Fusion.
Definition: CANAPITypes.h:80
@ HAL_CAN_Man_kGrapple
Grapple.
Definition: CANAPITypes.h:70
@ HAL_CAN_Man_kReduxRobotics
Redux Robotics.
Definition: CANAPITypes.h:86
@ HAL_CAN_Man_kREV
REV robotics.
Definition: CANAPITypes.h:68
@ HAL_CAN_Man_kStudica
Studica.
Definition: CANAPITypes.h:82
@ HAL_CAN_Man_kAndyMark
AndyMark.
Definition: CANAPITypes.h:88
@ HAL_CAN_Man_kNI
National Instruments.
Definition: CANAPITypes.h:60