27#ifndef __MOTORMANAGER_H__
28#define __MOTORMANAGER_H__
88#ifndef HIDE_FROM_DOXYGEN
153#define CPM_CLOCK_RATE_LOW_HZ \
154 (100000 / _CLEARCORE_SAMPLE_RATE_HZ * _CLEARCORE_SAMPLE_RATE_HZ)
155#define CPM_CLOCK_RATE_NORMAL_HZ \
156 (500000 / _CLEARCORE_SAMPLE_RATE_HZ * _CLEARCORE_SAMPLE_RATE_HZ)
157#define CPM_CLOCK_RATE_HIGH_HZ \
158 (2000000 / _CLEARCORE_SAMPLE_RATE_HZ * _CLEARCORE_SAMPLE_RATE_HZ)
ClearCorePorts
Definition PeripheralRoute.h:34
ConnectorModes
All possible operational modes for a connector.
Definition Connector.h:74
ClearCore motor-connector manager.
Definition MotorManager.h:46
bool MotorInputClocking(MotorClockRates newRate)
Sets the output step rate for the motor step generators.
bool MotorModeSet(MotorPair motorPair, Connector::ConnectorModes newMode)
Sets the operational mode for the specified MotorDriver connectors.
MotorPair
Definition MotorManager.h:69
@ MOTOR_M0M1
Definition MotorManager.h:73
@ NUM_MOTOR_PAIRS
Definition MotorManager.h:81
@ MOTOR_ALL
Definition MotorManager.h:85
@ MOTOR_M2M3
Definition MotorManager.h:77
MotorClockRates
Definition MotorManager.h:51
@ CLOCK_RATE_LOW
Definition MotorManager.h:55
@ CLOCK_RATE_HIGH
Definition MotorManager.h:63
@ CLOCK_RATE_NORMAL
Definition MotorManager.h:59
Namespace to encompass the ClearCore board API.
Definition AdcManager.h:36