![]() |
![]() |
|
MSPM0C1106HallSensoredTrapMotorControlLibrary
1.0
|
Defines drv8328 instance. More...
#include <drv8328.h>
Defines drv8328 instance.
| HAL_GPIO_OUT drv8328_Instance::nsleep |
HAL output pin connected to the motor driver's nsleep pin.
Referenced by drv8328_setnSleep().
| HAL_GPIO_OUT drv8328_Instance::drvoff |
HAL output pin connected to the motor driver's drvoff pin.
Referenced by drv8328_setDrvoff().
| HAL_GPIO_IN drv8328_Instance::nfault |
HAL input pin connected to the motor driver's nfault pin.
| _iq20 drv8328_Instance::csa_sf |
Scale factor used to cache values needed to calculate current
Referenced by drv8328_getCurrent(), and drv8328_updateCSAScaleFactor().
| HAL_ADC_CHAN drv8328_Instance::Vsen |
ADc channels used to measure bus voltage
Referenced by drv8328_init().
| HAL_ADC_CHAN drv8328_Instance::VsenA |
ADc channels used to measure phase A voltage
Referenced by drv8328_init().
| HAL_ADC_CHAN drv8328_Instance::VsenB |
ADc channels used to measure phase B voltage
Referenced by drv8328_init().
| HAL_ADC_CHAN drv8328_Instance::VsenC |
ADc channels used to measure phase C voltage
Referenced by drv8328_init().
| HAL_ADC_CHAN drv8328_Instance::Isen |
ADc channels used to measure bus current
Referenced by drv8328_init().
| HAL_FAULT_INPUT drv8328_Instance::faultIn |
pwm timer to which fault pin is connected