![]() |
![]() |
|
MSPM0C1106HallSensoredTrapMotorControlLibrary
1.0
|
Defines DRV8316 instance. More...
#include <drv8316.h>
Defines DRV8316 instance.
| HAL_GPIO_OUT DRV8316_Instance::nsleep |
HAL output pin connected to the motor driver's nsleep pin.
Referenced by DRV8316_setnSleep().
| HAL_GPIO_OUT DRV8316_Instance::drvoff |
HAL output pin connected to the motor driver's drvoff pin.
Referenced by DRV8316_setDrvoff().
| HAL_GPIO_IN DRV8316_Instance::nfault |
HAL input pin connected to the motor driver's nfault pin.
| HAL_SPI_CHAN DRV8316_Instance::spiChan |
HAL SPI channel connected to the motor driver's spi pins
Referenced by DRV8316_SPIRead(), and DRV8316_SPIWrite().
| HAL_SPI_CS DRV8316_Instance::spiCs |
HAL SPI CS connected to the motor driver's spi cs pin
Referenced by DRV8316_SPIRead(), and DRV8316_SPIWrite().
| _iq20 DRV8316_Instance::csa_sf |
Scale factor used to cache values needed to calculate current
Referenced by DRV8316_getCurrent(), and DRV8316_updateCSAScaleFactor().
| _iq20 DRV8316_Instance::csaVRef |
Scale factor used to cache values needed to calculate current
| HAL_ADC_CHAN DRV8316_Instance::Vsen |
ADc channels used to measure bus voltage
Referenced by DRV8316_init().
| HAL_ADC_CHAN DRV8316_Instance::VsenA |
ADc channels used to measure phase A voltage
Referenced by DRV8316_init().
| HAL_ADC_CHAN DRV8316_Instance::VsenB |
ADc channels used to measure phase B voltage
Referenced by DRV8316_init().
| HAL_ADC_CHAN DRV8316_Instance::VsenC |
ADc channels used to measure phase C voltage
Referenced by DRV8316_init().
| HAL_ADC_CHAN DRV8316_Instance::IsenA |
ADc channels used to measure phase A current
Referenced by DRV8316_init().
| HAL_ADC_CHAN DRV8316_Instance::IsenB |
ADc channels used to measure phase B current
Referenced by DRV8316_init().
| HAL_ADC_CHAN DRV8316_Instance::IsenC |
ADc channels used to measure phase C current
Referenced by DRV8316_init().
| HAL_FAULT_INPUT DRV8316_Instance::faultIn |
pwm timer to which fault pin is connected