|
MP6602 library
|
#include <MP6602.h>
Public Member Functions | |
| void | setChipSelectPin (uint8_t pin) |
| uint16_t | readReg (uint8_t address) |
| Reads the register at the given address and returns its raw value. | |
| uint16_t | readReg (MP6602RegAddr address) |
| Reads the register at the given address and returns its raw value. | |
| void | writeReg (uint8_t address, uint16_t value) |
| Writes the specified value to a register. | |
| void | writeReg (MP6602RegAddr address, uint16_t value) |
| Writes the specified value to a register. | |
This class provides low-level functions for reading and writing from the SPI interface of a MP6602 stepper motor controller IC.
Most users should use the MP6602 class, which provides a higher-level interface, instead of this class.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |