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