![]() |
Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
|
#include <stdio.h>
#include "fsl_clock_manager.h"
#include "fsl_interrupt_manager.h"
#include "fsl_adc16_hal.h"
#include "fsl_pdb_hal.h"
#include "fsl_ftm_hal.h"
#include "board.h"
#include "fsl_debug_console.h"
Macros | |
#define | USE_STDIO_FUNCTIONS |
#define | ADC_SC1A_POINTER |
#define | ADC_SC1B_POINTER |
#define | ADC_CHANNEL_1 |
#define | ADC_CHANNEL_5 |
#define | ADC_CHANNEL_7 |
#define | PDB_MODULO_VALUE |
#define | PDB_INT_VALUE |
#define | PDB_CH0 |
#define | PDB_CH1 |
#define | PDB_PRETRIGGER0 |
#define | PDB_PRETRIGGER1 |
#define | PRETRIGGER_DELAY_VALUE |
#define | FTM_MODULO_VALUE |
#define | DEADTIME_VALUE |
Functions | |
void | ADC0_IRQHandler (void) |
ADC0 interrupt service routine, read data from result register. More... | |
void | ADC1_IRQHandler (void) |
ADC1 interrupt service routine, read data from result register. More... | |
uint8_t | ADC_Calibration (ADC_Type *baseAddr) |
Perform ADC calibration function. More... | |
int | main (void) |
Function prototype for main function. More... | |
Variables | |
volatile uint16_t | u16Result0A [256] |
volatile uint16_t | u16Result0B [256] |
volatile uint16_t | u16Result1A [256] |
volatile uint16_t | u16Result1B [256] |
volatile uint16_t | u16CycleTimes |
#define ADC_CHANNEL_1 |
#define ADC_CHANNEL_5 |
#define ADC_CHANNEL_7 |
#define ADC_SC1A_POINTER |
#define ADC_SC1B_POINTER |
#define DEADTIME_VALUE |
#define FTM_MODULO_VALUE |
#define PDB_CH0 |
#define PDB_CH1 |
#define PDB_INT_VALUE |
#define PDB_MODULO_VALUE |
#define PDB_PRETRIGGER0 |
#define PDB_PRETRIGGER1 |
#define PRETRIGGER_DELAY_VALUE |
#define USE_STDIO_FUNCTIONS |
void ADC0_IRQHandler | ( | void | ) |
void ADC1_IRQHandler | ( | void | ) |
uint8_t ADC_Calibration | ( | ADC_Type * | baseAddr | ) |
int main | ( | void | ) |
Function prototype for main function.
volatile uint16_t u16CycleTimes |
volatile uint16_t u16Result0A[256] |
volatile uint16_t u16Result0B[256] |
volatile uint16_t u16Result1A[256] |
volatile uint16_t u16Result1B[256] |