CTRE Phoenix C++ 5.33.1
NeutralMode.h
Go to the documentation of this file.
1/* Copyright (C) Cross The Road Electronics 2024 */
2#pragma once
3
4namespace ctre {
5namespace phoenix {
6namespace motorcontrol {
7
8/**
9 * Choose the neutral mode for a motor controller
10 */
12 /** Use the NeutralMode that is set in the MC's persistent storage. */
14 /** When commanded to neutral, motor leads are set to high-impedance, allowing mechanism to coast. */
15 Coast = 1,
16 /** When commanded to neutral, motor leads are commonized electrically to reduce motion. */
17 Brake = 2,
18};
19
20} // namespace motorcontrol
21} // namespace phoenix
22} // namespace ctre
NeutralMode
Choose the neutral mode for a motor controller.
Definition: NeutralMode.h:11
@ EEPROMSetting
Use the NeutralMode that is set in the MC's persistent storage.
Definition: NeutralMode.h:13
@ Brake
When commanded to neutral, motor leads are commonized electrically to reduce motion.
Definition: NeutralMode.h:17
@ Coast
When commanded to neutral, motor leads are set to high-impedance, allowing mechanism to coast.
Definition: NeutralMode.h:15
namespace ctre
Definition: paramEnum.h:5