1.2.3.8 MC_ReferenceSet()
void MC_ReferenceSet (uint16_t reference)
Sets the reference point. When the speed regulator is enabled, it sets the reference for the speed control loop. When the speed regulator is disabled, it sets the drive amplitude, and the speed will vary depending on the power supply voltage and mechanical load.
Note:
Call this function from normal context, not from interrupt context.
in | reference |
The reference value to be set |
None. |