| 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
Functions | Variables
task_master.c File Reference
`#include "fsl_i2c_master_driver.h"`
`#include "fsl_uart_driver.h"`
`#include "i2c_rtos.h"`
`#include "shell.h"`

## Functions
static uint8_t | Getchar (void)
| get a char More...
static void | Putchar (uint8_t ch)
| put a char More...
static int | cmd_read_temperature (int argc, char *const argv[])
static int | cmd_light_led (int argc, char *const argv[])
static int | cmd_read_id (int argc, char *const argv[])
void | task_master (void *param)

## Variables
uint32_t | gSlaveId
static i2c_master_t | master
static i2c_device_t | slave
static uart_state_t | gUARTState
static uart_user_config_t | gShellUARTConfig
| global uart config struct More...
static shell_io_install_t | gShellIO
const cmd_tbl_t | CommandFun_Help
static const cmd_tbl_t | light_led_cmd
static const cmd_tbl_t | read_temp_cmd
static const cmd_tbl_t | read_id_cmd

## Function Documentation

static int cmd_light_led | ( | int | argc,
|  | char *const | argv[]
| ) |  |
| static

static int cmd_read_id | ( | int | argc,
|  | char *const | argv[]
| ) |  |
| static

static int cmd_read_temperature | ( | int | argc,
|  | char *const | argv[]
| ) |  |
| static

static uint8_t Getchar | ( | void |  | ) |
| static

static void Putchar | ( | uint8_t | ch | ) |
| static

void task_master | ( | void * | param | ) |

## Variable Documentation

const cmd_tbl_t CommandFun_Help

shell_io_install_t gShellIO
| static

uart_user_config_t gShellUARTConfig
| static

uint32_t gSlaveId

uart_state_t gUARTState
| static

const cmd_tbl_t light_led_cmd
| static

i2c_master_t master
| static

const cmd_tbl_t read_id_cmd
| static

const cmd_tbl_t read_temp_cmd
| static

i2c_device_t slave
| static