| ISF 2.2 rev 5 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

isf_uart_types.h
Go to the documentation of this file.
1 /*!
2 ********************************************************************************
3 * File: isf_uart_types.h
4 *
5 * Copyright (c) 2015, 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.h"
15
16
17 typedef struct ISFUartState {
18 uint32_t instance; /*!< UART module instance number. */
19 event_t uartEventHandler;
20 } isf_uart_state_t;
21
22 typedef struct uart_BusConfig_struct {
23 isf_duration_t timeout; /*!< The bus timeout value to use.*/
24 uart_user_config_t config; /*!< Uart configuration information.*/
25 } uart_BusConfig_t;
26
27 /*! @brief This structure defines the data bus handle. */
28 typedef struct uart_BusHandle_struct
29 {
30 isf_uart_state_t uartHandle; /*!< The uart current handle.*/
31 uint8 id; /*!< The unique ID associated with the bus handle. */
32 uint8 busState; /*!< The bus sate.*/
33 uart_BusConfig_t busConfig; /*!< current bus configuration.*/
34 }uart_busHandle_t;
35
36
37 #endif /* ISF_UART_TYPES_H_ */
38
39
40
41
uint8
unsigned char uint8
Definition: isf_types.h:76
isf_uart_state_t
struct ISFUartState isf_uart_state_t
ISFUartState::instance
uint32_t instance
Definition: isf_uart_types.h:18
uart_BusHandle_struct::id
uint8 id
Definition: isf_uart_types.h:31
uart_BusConfig_struct::timeout
isf_duration_t timeout
Definition: isf_uart_types.h:23
uart_BusHandle_struct
This structure defines the data bus handle.
Definition: isf_uart_types.h:28
uart_BusHandle_struct::busConfig
uart_BusConfig_t busConfig
Definition: isf_uart_types.h:33
uart_BusConfig_t
struct uart_BusConfig_struct uart_BusConfig_t
uart_BusConfig_struct::config
uart_user_config_t config
Definition: isf_uart_types.h:24
uart_BusHandle_struct::busState
uint8 busState
Definition: isf_uart_types.h:32
ISFUartState
Definition: isf_uart_types.h:17
ISFUartState::uartEventHandler
event_t uartEventHandler
Definition: isf_uart_types.h:19
uart_BusHandle_struct::uartHandle
isf_uart_state_t uartHandle
Definition: isf_uart_types.h:30
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:84
isf.h
Main ISF header file. Contains code common to all ISF components.
uart_BusConfig_struct
Definition: isf_uart_types.h:22
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.