![]() |
Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
|
#include "peripherals_init.h"
#include "freemaster.h"
#include "M1_StateMachine.h"
#include "motor_structure.h"
Functions | |
void | UpdateBldcHwModules (MCSTRUC_BLDC_SNLS_INT_T *) |
void | ReadSwFaults (MCSTRUC_BLDC_SNLS_INT_T *) |
Read faults by S/W. More... | |
void | TimeEvent (MCSTRUC_BLDC_SNLS_INT_T *) |
Time event function. More... | |
void | FastControlLoop (MCSTRUC_BLDC_SNLS_INT_T *) |
Fast control loop function. More... | |
void | SlowControlLoop (MCSTRUC_BLDC_SNLS_INT_T *) |
Slow control loop function. More... | |
void | Demonstration (MCSTRUC_BLDC_SNLS_INT_T *) |
Show a few demo speeds and ramps, called every 1 ms. More... | |
int | main (void) |
Function prototype for main function. More... | |
void | ADC0_IRQHandler (void) |
void | FTM1_IRQHandler (void) |
void | FTM2_IRQHandler (void) |
void | PDB0_IRQHandler (void) |
Variables | |
MCSTRUC_BLDC_SNLS_INT_T | gsM1_Drive |
volatile UInt16 | uw16TriggerErrorCnt |
adc16_converter_config_t | adcUserConfig |
adc16_chn_config_t | adcChnConfig |
adc16_hw_cmp_config_t | adcHwCmpConfig |
void ADC0_IRQHandler | ( | void | ) |
void Demonstration | ( | MCSTRUC_BLDC_SNLS_INT_T * | sM_Drive | ) |
sM_Drive | BLDC motor variables structure pointer |
void FastControlLoop | ( | MCSTRUC_BLDC_SNLS_INT_T * | sM_Drive | ) |
sM_Drive | BLDC motor variables structure pointer |
void FTM1_IRQHandler | ( | void | ) |
void FTM2_IRQHandler | ( | void | ) |
int main | ( | void | ) |
Function prototype for main function.
void PDB0_IRQHandler | ( | void | ) |
void ReadSwFaults | ( | MCSTRUC_BLDC_SNLS_INT_T * | sM_Drive | ) |
sM_Drive | BLDC motor variables structure pointer |
void SlowControlLoop | ( | MCSTRUC_BLDC_SNLS_INT_T * | sM_Drive | ) |
sM_Drive | BLDC motor variables structure pointer |
void TimeEvent | ( | MCSTRUC_BLDC_SNLS_INT_T * | sM_Drive | ) |
sM_Drive | BLDC motor variables structure pointer |
void UpdateBldcHwModules | ( | MCSTRUC_BLDC_SNLS_INT_T * | sM_Drive | ) |
adc16_chn_config_t adcChnConfig |
adc16_hw_cmp_config_t adcHwCmpConfig |
adc16_converter_config_t adcUserConfig |
MCSTRUC_BLDC_SNLS_INT_T gsM1_Drive |
volatile UInt16 uw16TriggerErrorCnt |