| 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_fsl_uart_PEx.c
Go to the documentation of this file.
1 /*!
2 ********************************************************************************
3 * File:isf_fsl_uart_PEx.c
4 *
5 * Copyright (c) 2012-2014, Freescale Semiconductor, Inc.
6 *
7 *******************************************************************************/
8 /*!
9 * @file isf_fsl_uart_PEx.c
10 * @brief \b isf_fsl_uart_PEx.c implements PEx properties and event. Its also implements LDD overriding events.
11 */
12 #include "isf_fsl_uart_PEx.h"
13 #include "mqxlite.h"
14 #include "lwevent.h"
15 #include "fsl_uart_driver.h"
16 #include "isf_uart_adapter.h"
17
18 #include "Serial_ISF_UART1.h"
19 /**
20 * @brief Lookup table for the LLD instance.
21 *
22 *
23 */
24 const uart_instance_PEx uart_instance_tbl[] = {
25 {
26 .fnUARTLLDInit = (fnUARTInit_t)&Serial_ISF_UART1_Init,
27 .fnUARTCLLDRead = (fnUARTRead_t)&Serial_ISF_UART1_ReceiveBlock,
28 .fnUARTLLDWrite = (fnUARTWrite_t)&Serial_ISF_UART1_SendBlock,
29 }
30 };
31
32
33
uart_instance_PEx
This structure contains i2c LLD function pointers.
Definition: isf_fsl_uart_PEx.h:26
fnUARTWrite_t
LDD_TError(* fnUARTWrite_t)(LDD_TDeviceData *apDevice, LDD_TData *BufferPtr, uint16_t Size)
This is the the function pointer signature for writing the data to a specified device.
Definition: isf_fsl_uart_PEx.h:22
fnUARTRead_t
LDD_TError(* fnUARTRead_t)(LDD_TDeviceData *apDevice, LDD_TData *BufferPtr, uint16_t Size)
This is the function pointer signature for reading the data from a specified device.
Definition: isf_fsl_uart_PEx.h:18
fnUARTInit_t
LDD_TDeviceData *(* fnUARTInit_t)(LDD_TUserData *apUserData)
This is the function pointer signature for i2c initialization.
Definition: isf_fsl_uart_PEx.h:14
Serial_ISF_UART1_SendBlock
LDD_TError Serial_ISF_UART1_SendBlock(LDD_TDeviceData *DeviceDataPtr, LDD_TData *BufferPtr, uint16_t Size)
Sends a block of characters. The method returns ERR_BUSY when the previous block transmission is not ...
Definition: Serial_ISF_UART1.c:338
fsl_uart_driver.h
fsl_uart_driver.h defines structures and types for the i2c master driver.
Serial_ISF_UART1_Init
LDD_TDeviceData * Serial_ISF_UART1_Init(LDD_TUserData *UserDataPtr)
Initializes the device. Allocates memory for the device data structure, allocates interrupt vectors a...
Definition: Serial_ISF_UART1.c:160
uart_instance_PEx::fnUARTLLDInit
fnUARTInit_t fnUARTLLDInit
Definition: isf_fsl_uart_PEx.h:27
Serial_ISF_UART1_ReceiveBlock
LDD_TError Serial_ISF_UART1_ReceiveBlock(LDD_TDeviceData *DeviceDataPtr, LDD_TData *BufferPtr, uint16_t Size)
Specifies the number of data to receive. The method returns ERR_BUSY until the specified number of ch...
Definition: Serial_ISF_UART1.c:279
Serial_ISF_UART1.h
This component "Serial_LDD" implements an asynchronous serial communication. The component supports d...
uart_instance_tbl
const uart_instance_PEx uart_instance_tbl[]
Lookup table for the LLD instance.
Definition: isf_fsl_uart_PEx.c:24
isf_uart_adapter.h
isf_uart_adapter.h defines the API definitions and types for the uart protocol adapter.
isf_fsl_uart_PEx.h
- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.