| ISF 2.1 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
isf_uart_types.h
Go to the documentation of this file.
1 /*!
2 ********************************************************************************
3 * File: isf_uart_types.h
4 *
5 * Copyright (c) 2014, Freescale Semiconductor, Inc.
6 *
7 *******************************************************************************/
8 /*!
9 * @file isf_uart_types.h
10 * @brief \b isf_uart_types.h defines the uart protocol adapter structure and types.
11 */
12 #ifndef ISF_UART_TYPES_H_
13 #define ISF_UART_TYPES_H_
14 #include "isf_types.h"
15 #include "isf.h"
16 #include "fsl_uart_driver.h"
17 typedef struct uart_BusConfig_struct {
18 isf_duration_t timeout; /*!< The bus timeout value to use.*/
19 uart_user_config_t config; /*!< Uart configuration information.*/
20 } uart_BusConfig_t;
21
22 /*! @brief This structure defines the data bus handle. */
23 typedef struct uart_BusHandle_struct
24 {
25
26 uart_state_t uartHandle; /*!< The uart current handle.*/
27 uint8 id; /*!< The unique ID associated with the bus handle. */
28 uint8 busState; /*!< The bus sate.*/
29 uart_BusConfig_t busConfig; /*!< current bus configuration.*/
30 }uart_busHandle_t;
31
32
33 #endif /* ISF_UART_TYPES_H_ */
34
UartUserConfig
User configuration structure for UART driver.
Definition: fsl_uart_driver.h:58
uint8
unsigned char uint8
This defines uint8 as unsigned char.
Definition: isf_types.h:18
uart_BusHandle_struct::id
uint8 id
Definition: isf_uart_types.h:27
uart_BusHandle_struct::uartHandle
uart_state_t uartHandle
Definition: isf_uart_types.h:26
uart_BusConfig_struct::timeout
isf_duration_t timeout
Definition: isf_uart_types.h:18
uart_BusHandle_struct
This structure defines the data bus handle.
Definition: isf_uart_types.h:23
uart_BusHandle_struct::busConfig
uart_BusConfig_t busConfig
Definition: isf_uart_types.h:29
uart_BusConfig_t
struct uart_BusConfig_struct uart_BusConfig_t
fsl_uart_driver.h
fsl_uart_driver.h defines structures and types for the i2c master driver.
uart_BusConfig_struct::config
uart_user_config_t config
Definition: isf_uart_types.h:19
uart_BusHandle_struct::busState
uint8 busState
Definition: isf_uart_types.h:28
isf_types.h
The isf_types.h file contains the ISF data type definitions and some of the globally used macros...
UartState
Runtime state of the UART driver.
Definition: fsl_uart_driver.h:40
uart_busHandle_t
struct uart_BusHandle_struct uart_busHandle_t
This structure defines the data bus handle.
isf_duration_t
uint32 isf_duration_t
ISF time duration in microseconds.
Definition: isf.h:59
isf.h
Main ISF header file. Contains code common to all ISF components.
uart_BusConfig_struct
Definition: isf_uart_types.h:17
- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.