![]() |
![]() |
|
MSPM0G3519SensorlessFOCMotorControlLibrary
1.0
|
#include "appInputCtrlInterface.h"#include "main.h"#include "appDefs.h"#include "appUserInputsInterface.h"#include "appUserInputs.h"

Go to the source code of this file.
Functions | |
| _Bool | update_DirectionStatus (void) |
| Gets direction status. More... | |
| _Bool | update_BrakeStatus (void) |
| Gets brake status. More... | |
| void | peri1Config (void) |
| Set periperal 1 config. | |
| void | CurrSenseAmpConfigInit (HAL_MEASURE_MOTOR_INPUTS_T *pMotorInputs) |
| Initializes Current Sense Amplifier configurations. More... | |
| _Bool update_DirectionStatus | ( | void | ) |
Gets direction status.
| true | Direction sequence ABC |
| false | Direction sequence ACB |
References USER_INPUT_PERI_CFG1_T::b, userInputPeriCfg1::dirInput, FALSE, HAL_getDirPinStatus(), USER_INPUT_INTERFACE_T::periphCfg1, pUserInputRegs, and TRUE.
| _Bool update_BrakeStatus | ( | void | ) |
Gets brake status.
| true | brake commanded |
| false | brake not commanded |
References USER_INPUT_PIN_CFG_T::b, userInputPinCfg::brakeInp, FALSE, HAL_getBrakePinStatus(), USER_INPUT_INTERFACE_T::pinCfg, pUserInputRegs, and TRUE.
| void CurrSenseAmpConfigInit | ( | HAL_MEASURE_MOTOR_INPUTS_T * | pMotorInputs | ) |
Initializes Current Sense Amplifier configurations.
| [in] | pMotorInputs | Pointer to motor input |
References MEASURE_CURRENT_FLAGS_T::b, HAL_MEASURE_MOTOR_INPUTS_T::current, HAL_MEASURE_CURRENT_T::currentShuntSet, HAL_MEASURE_CURRENT_T::flags, and measureCurrentFlags::threeShuntDynamicSet.