| 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
Data Structures | Macros | Typedefs | Functions
fsl_uart_driver.h File Reference

fsl_uart_driver.h defines structures and types for the i2c master driver. More...

`#include <stdint.h>`
`#include <stdbool.h>`
`#include "PE_Types.h"`
`#include "mqxlite.h"`
`#include "lwevent.h"`
`#include "fsl_uart_hal.h"`
Include dependency graph for fsl_uart_driver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
struct | UartState
| Runtime state of the UART driver. More...
struct | UartUserConfig
| User configuration structure for UART driver. More...

## Macros
#define | UART_PEX_WRITE_EVENT_SUCCESS (1)
#define | UART_PEX_WRITE_EVENT_ERROR (UART_PEX_WRITE_EVENT_SUCCESS << 1)
#define | UART_PEX_READ_EVENT_SUCCESS (UART_PEX_WRITE_EVENT_ERROR << 1)
#define | UART_PEX_READ_EVENT_ERROR (UART_PEX_READ_EVENT_SUCCESS << 1)

## Typedefs
typedef struct UartState | uart_state_t
| Runtime state of the UART driver. More...
typedef struct UartUserConfig | uart_user_config_t
| User configuration structure for UART driver. More...

## Functions
uart_status_t | uart_init (uint32_t uartInstance, uart_state_t *uartState, const uart_user_config_t *uartUserConfig)
| This function initializes a UART instance for operation. More...
uart_status_t | uart_send_data (uart_state_t *uartState, const uint8_t *sendBuffer, uint32_t txByteCount, uint32_t timeout)
| This function sends (transmits) data out through the UART module using a blocking method. More...
uart_status_t | uart_send_data_async (uart_state_t *uartState, const uint8_t *sendBuffer, uint32_t txByteCount)
| This function sends (transmits) data through the UART module using a non-blocking method. More...
uart_status_t | uart_get_transmit_status (uart_state_t *uartState, uint32_t *bytesTransmitted)
| This function returns whether the previous UART transmit has finished. More...
uart_status_t | uart_get_receive_status (uart_state_t *uartState, uint32_t *bytesReceived)
| This function returns whether the previous UART receive is complete. More...
uart_status_t | uart_receive_data (uart_state_t *uartState, uint8_t *rxBuffer, uint32_t requestedByteCount, uint32_t timeout)
| This function gets (receives) data from the UART module using a blocking method. More...
uart_status_t | uart_receive_data_async (uart_state_t *uartState, uint8_t *rxBuffer, uint32_t requestedByteCount)
| This function gets (receives) data from the UART module using a non-blocking method. More...

## Detailed Description

fsl_uart_driver.h defines structures and types for the i2c master driver.

File: fsl_uart_driver.h

Copyright (c) 2014, Freescale Semiconductor, Inc.

Definition in file fsl_uart_driver.h.

- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.