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_spi_master_PEx.c
Go to the documentation of this file.
1 /*!
2 ********************************************************************************
3 * isf_fsl_spi_master_PEx
4 *
5 * Copyright (c) 2012-2014, Freescale Semiconductor, Inc.
6 *
7 *******************************************************************************/
8 /*!
9 * @file isf_fsl_spi_master_PEx.c
10 * @brief \b isf_fsl_spi_master_PEx.c implements PEx properties and event. Its also implements LDD overriding events.
11 */
12 #include "isf_fsl_spi_master_PEx.h"
13 #include "mqxlite.h"
14 #include "lwevent.h"
15 #include "fsl_spi_master_driver.h"
16 #include "isf_spi_master_adapter.h"
17 
18 
19 
20 #include "SPIMasterBus1.h"
21 /**
22  * @brief Lookup table for the LLD instance.
23  *
24  *
25 */
27  {
28  .fnSPILLDInit = (fnSPIInit_t)&SPIMasterBus1_Init,
29  .fnSPICLLDRead = (fnSPIRead_t)&SPIMasterBus1_ReceiveBlock,
30  .fnSPILLDWrite = (fnSPIWrite_t)&SPIMasterBus1_SendBlock,
31  }
32 };
33 
34 
35 
36 
const spi_master_instance_PEx spi_master_instance_tbl[]
Lookup table for the LLD instance.
isf_spi_master_adapter.h defines the API definitions and types for the spi master protocol adapter...
fsl_spi_master_driver.h defines structures and types for the spi master driver.
LDD_TDeviceData *(* fnSPIInit_t)(LDD_TUserData *apUserData)
This is the function pointer signature for i2c initialization.
This structure contains i2c LLD function pointers.
LDD_TError(* fnSPIRead_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_TError(* fnSPIWrite_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.