| 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_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 */
26 const spi_master_instance_PEx spi_master_instance_tbl[] = {
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
spi_master_instance_tbl
const spi_master_instance_PEx spi_master_instance_tbl[]
Lookup table for the LLD instance.
Definition: isf_fsl_spi_master_PEx.c:26
isf_spi_master_adapter.h
isf_spi_master_adapter.h defines the API definitions and types for the spi master protocol adapter...
fsl_spi_master_driver.h
fsl_spi_master_driver.h defines structures and types for the spi master driver.
fnSPIInit_t
LDD_TDeviceData *(* fnSPIInit_t)(LDD_TUserData *apUserData)
This is the function pointer signature for i2c initialization.
Definition: isf_fsl_spi_master_PEx.h:14
isf_fsl_spi_master_PEx.h
spi_master_instance_PEx
This structure contains i2c LLD function pointers.
Definition: isf_fsl_spi_master_PEx.h:26
fnSPIRead_t
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.
Definition: isf_fsl_spi_master_PEx.h:18
spi_master_instance_PEx::fnSPILLDInit
fnSPIInit_t fnSPILLDInit
Definition: isf_fsl_spi_master_PEx.h:27
fnSPIWrite_t
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.
Definition: isf_fsl_spi_master_PEx.h:22
- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.