Searched refs:writePacket (Results 1 – 2 of 2) sorted by relevance
/hardware/bsp/intel/peripheral/libupm/src/grovemd/ |
D | grovemd.cxx | 65 writePacket(SET_DIRECTION, 0, GROVEMD_NOOP); in ~GroveMD() 68 bool GroveMD::writePacket(REG_T reg, uint8_t data1, uint8_t data2) in writePacket() function in GroveMD 95 return writePacket(SET_SPEED, speedA, speedB); in setMotorSpeeds() 100 return writePacket(SET_PWM_FREQ, freq, GROVEMD_NOOP); in setPWMFrequencyPrescale() 106 return writePacket(SET_DIRECTION, dir, GROVEMD_NOOP); in setMotorDirections() 113 return writePacket(STEPPER_ENABLE, dir, speed); in enableStepper() 155 return writePacket(STEPPER_DISABLE, GROVEMD_NOOP, GROVEMD_NOOP); in disableStepper() 158 writePacket(SET_DIRECTION, 0, GROVEMD_NOOP); in disableStepper() 174 return writePacket(STEPPER_NUM_STEPS, steps, GROVEMD_NOOP); in setStepperSteps() 232 writePacket(SET_DIRECTION, 0b0101, GROVEMD_NOOP); in stepperStep() [all …]
|
D | grovemd.h | 133 bool writePacket(REG_T reg, uint8_t data1, uint8_t data2);
|