| Kinetis SDK Demo Applications User Guide 1.0.0-beta Freescale Semiconductor, Inc.

- Main Page
- Related Pages
- Demos

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
task_sample.c File Reference
`#include "fsl_adc_driver.h"`
`#include "fsl_interrupt_manager.h"`
`#include "i2c_rtos.h"`

## Macros
#define | VTEMP25_ADC
#define | K
#define | M1
#define | M2

## Functions
void | task_sample (void *param)
uint8_t | get_temp_in_byte (uint32_t index)

## Variables
static int32_t | gTemperature

## Macro Definition Documentation

#define K

#define M1

#define M2

#define VTEMP25_ADC

## Function Documentation

uint8_t get_temp_in_byte | ( | uint32_t | index | ) |

Get the 32bits temperature in byte from the ISR context

void task_sample | ( | void * | param | ) |

task to read ADC for internal temperature

## Variable Documentation

int32_t gTemperature
| static