![]() |
Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
|
Demonstration of the demo. More...
#include "gdflib.h"
#include "gmclib.h"
#include "BLDC_appconfig.h"
#include "motor_structure.h"
#include "fsl_gpio_hal.h"
Macros | |
#define | PUSH_TIME_FILTER |
#define | PUSH_TIME_SHORT |
#define | PUSH_TIME_LONG |
#define | DEMONSTRATION_SPEED_STEP |
1.0 = MAX motor speed More... | |
#define | DEMONSTRATION_SPEED_RAMP_GAIN |
max speed ramp in demonstration mode (speed inc/dec in 1 ms in unit of max motor speed) More... | |
Functions | |
void | Demonstration (MCSTRUC_BLDC_SNLS_INT_T *sM_Drive) |
Show a few demo speeds and ramps, called every 1 ms. More... | |
Variables | |
MCSTRUC_BLDC_SNLS_INT_T | gsM1_Drive |
static UInt16 | uw16Sw1FiltCnt |
static UInt16 | uw16Sw2FiltCnt |
static UInt16 | uw16DemonstrationStatus |
static UInt32 | uw32DemoTime |
static UInt16 | uw16SwStatus |
static UInt16 | uw16Sw1Cnt |
static UInt16 | uw16Sw2Cnt |
static UInt16 | uw16SwBothCnt |
#define DEMONSTRATION_SPEED_RAMP_GAIN |
#define DEMONSTRATION_SPEED_STEP |
#define PUSH_TIME_FILTER |
#define PUSH_TIME_LONG |
#define PUSH_TIME_SHORT |
void Demonstration | ( | MCSTRUC_BLDC_SNLS_INT_T * | sM_Drive | ) |
sM_Drive | BLDC motor variables structure pointer |
MCSTRUC_BLDC_SNLS_INT_T gsM1_Drive |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |