ISF  2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
 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 */
25  {
27  .fnUARTCLLDRead = (fnUARTRead_t)&Serial_ISF_UART1_ReceiveBlock,
28  .fnUARTLLDWrite = (fnUARTWrite_t)&Serial_ISF_UART1_SendBlock,
29  }
30 };
31 
32 
33 
This structure contains i2c LLD function pointers.
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.
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.
LDD_TDeviceData *(* fnUARTInit_t)(LDD_TUserData *apUserData)
This is the function pointer signature for i2c initialization.
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 ...
fsl_uart_driver.h defines structures and types for the i2c master driver.
LDD_TDeviceData * Serial_ISF_UART1_Init(LDD_TUserData *UserDataPtr)
Initializes the device. Allocates memory for the device data structure, allocates interrupt vectors a...
fnUARTInit_t fnUARTLLDInit
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...
This component "Serial_LDD" implements an asynchronous serial communication. The component supports d...
const uart_instance_PEx uart_instance_tbl[]
Lookup table for the LLD instance.
isf_uart_adapter.h defines the API definitions and types for the uart protocol adapter.