![]() |
RogiStandard-hal
STM32 向けサークル共通ライブラリ
|
#include <Stepper.hpp>
公開メンバ関数 | |
| Stepper (GPIO_TypeDef *GPIO_Port_step, uint16_t GPIO_Pin_step, GPIO_TypeDef *GPIO_Port_dir, uint16_t GPIO_Pin_dir, uint16_t Resolution) | |
| void | RotateDegrees (float degrees, bool dir, float speed) |
| void | RotateRadian (float radian, bool dir, float speed) |
| void | RotateSteps (uint32_t steps, bool dir, float speed) |
| void | UpdateStepper () |
公開変数類 | |
| bool | CurrentDirection |
| int32_t | CurrentPositionSteps |
| float | CurrentPositionDegrees |
| float | CurrentPositionRadian |
Stepper.hpp の 9 行目に定義があります。
| Stepper::Stepper | ( | GPIO_TypeDef * | GPIO_Port_step, |
| uint16_t | GPIO_Pin_step, | ||
| GPIO_TypeDef * | GPIO_Port_dir, | ||
| uint16_t | GPIO_Pin_dir, | ||
| uint16_t | Resolution | ||
| ) |
Stepper.cpp の 3 行目に定義があります。
| void Stepper::UpdateStepper | ( | ) |
Stepper.cpp の 60 行目に定義があります。
| bool Stepper::CurrentDirection |
Stepper.hpp の 36 行目に定義があります。
| float Stepper::CurrentPositionDegrees |
Stepper.hpp の 38 行目に定義があります。
| float Stepper::CurrentPositionRadian |
Stepper.hpp の 39 行目に定義があります。
| int32_t Stepper::CurrentPositionSteps |
Stepper.hpp の 37 行目に定義があります。