|
mirs_esp_pio
|
AMT103-V 直交エンコーダ(PCNT ハードウェア4逓倍計数)。 [詳解]
#include <Encoder.hpp>
公開メンバ関数 | |
| Encoder (uint8_t pin_a, uint8_t pin_b) | |
| void | begin () |
| int64_t | getCount () const |
| void | reset () |
| uint32_t | countsPerRev () const |
静的公開変数類 | |
| static constexpr uint32_t | PULSES_PER_REV = 2048 |
| static constexpr uint32_t | MULTIPLIER = 4 |
| static constexpr int16_t | PCNT_LIMIT = 20000 |
AMT103-V 直交エンコーダ(PCNT ハードウェア4逓倍計数)。
Encoder.hpp の 15 行目に定義があります。
| Encoder::Encoder | ( | uint8_t | pin_a, |
| uint8_t | pin_b ) |
Encoder.cpp の 9 行目に定義があります。
| void Encoder::begin | ( | ) |
Encoder.cpp の 14 行目に定義があります。
|
inline |
Encoder.hpp の 26 行目に定義があります。
| int64_t Encoder::getCount | ( | ) | const |
Encoder.cpp の 65 行目に定義があります。
| void Encoder::reset | ( | ) |
Encoder.cpp の 85 行目に定義があります。
|
staticconstexpr |
Encoder.hpp の 18 行目に定義があります。
|
staticconstexpr |
Encoder.hpp の 19 行目に定義があります。
|
staticconstexpr |
Encoder.hpp の 17 行目に定義があります。