![]() |
Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
|
#include <stdint.h>
#include <stdbool.h>
#include "fsl_adc16_driver.h"
Functions | |
void | ADC_TEST_InstallCallback (uint32_t instance, uint32_t chnGroup, void(*callbackFunc)(void)) |
User-defined function to install callback. More... | |
uint16_t | ADC_TEST_GetConvValueRAWInt (uint32_t instance, uint32_t chnGroup) |
User-defined function to read conversion value in ADC ISR. More... | |
static void | ADC_TEST_IRQHandler (uint32_t instance) |
void | ADC0_IRQHandler (void) |
ADC0 interrupt service routine, read data from result register. More... | |
Variables | |
void(*volatile | g_AdcTestCallback [ADC_INSTANCE_COUNT][ADC_SC1_COUNT])(void) |
volatile uint16_t | g_AdcValueInt [ADC_INSTANCE_COUNT][ADC_SC1_COUNT] |
void ADC0_IRQHandler | ( | void | ) |
uint16_t ADC_TEST_GetConvValueRAWInt | ( | uint32_t | instance, |
uint32_t | chnGroup | ||
) |
void ADC_TEST_InstallCallback | ( | uint32_t | instance, |
uint32_t | chnGroup, | ||
void(*)(void) | callbackFunc | ||
) |
|
static |
void(* volatile g_AdcTestCallback[ADC_INSTANCE_COUNT][ADC_SC1_COUNT])(void) |
volatile uint16_t g_AdcValueInt[ADC_INSTANCE_COUNT][ADC_SC1_COUNT] |