![]() |
Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
|
Init functions. More...
#include "peripherals_init.h"
Macros | |
#define | TWO_POWER_N_SAMPLES |
Functions | |
void | Clock_init (void) |
int | ADC0_init (void) |
void | PDB_init (void) |
void | FTM0_init (void) |
void | FTM1_init (void) |
void | FTM2_init (void) |
void | SPI0_init (void) |
void | UART1_init (void) |
void | GPIO_init (void) |
unsigned char | SPI_Send (unsigned char spi_data) |
void | MC33927_readStatus (void) |
void | MC33927_config (void) |
void | FTM0_SetDutyCycle (int16 inpDuty) |
void | FTM0_SetPwmOutput (int16 sector) |
void | MCU_init (void) |
Variables | |
static MC33927_LATCH_T | mudtStatusRegister0 |
static MC33927_MODE_T | mudtStatusRegister1 |
static MC33927_LATCH_T | mudtStatusRegister2 |
static MC33927_MODE_COMMAND_T | mudtModeCommands |
static MC33927_LATCH_T | mudtMaskInterrupts |
static MC33927_LATCH_T | mudtClearFlags |
const Pwm_sChannelControl | bldcCommutationTableComp [8] |
const unsigned short | bldcAdcSectorCfg [8] |
adc16_converter_config_t | adcUserConfig |
adc16_chn_config_t | adcChnConfig |
adc16_hw_cmp_config_t | adcHwCmpConfig |
#define TWO_POWER_N_SAMPLES |
int ADC0_init | ( | void | ) |
void Clock_init | ( | void | ) |
void FTM0_init | ( | void | ) |
void FTM0_SetDutyCycle | ( | int16 | inpDuty | ) |
void FTM0_SetPwmOutput | ( | int16 | sector | ) |
void FTM1_init | ( | void | ) |
void FTM2_init | ( | void | ) |
void GPIO_init | ( | void | ) |
void MC33927_config | ( | void | ) |
void MC33927_readStatus | ( | void | ) |
void MCU_init | ( | void | ) |
void PDB_init | ( | void | ) |
void SPI0_init | ( | void | ) |
< TCF status/interrupt enable
< EOQF status/interrupt enable
< TFUF status/interrupt enable
< TFFF status/interrupt enable
< RFOF status/interrupt enable
< TCF status/interrupt disable
< EOQF status/interrupt disable
< TFUF status/interrupt disable
< TFFF status/interrupt disable
< RFOF status/interrupt disable
< RFDF status/interrupt disable
unsigned char SPI_Send | ( | unsigned char | spi_data | ) |
void UART1_init | ( | void | ) |
< 8-bit data characters
< parity disabled
< UART continues to operate normally
< Internal loop back mode.
< The idle-line wakes UART receiver from standby
<Idle character bit count starts after start bit.
adc16_chn_config_t adcChnConfig |
adc16_hw_cmp_config_t adcHwCmpConfig |
adc16_converter_config_t adcUserConfig |
const unsigned short bldcAdcSectorCfg[8] |
const Pwm_sChannelControl bldcCommutationTableComp[8] |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |