| 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.h
Go to the documentation of this file.
1 /*
2 * isf_fsl_spi_master_PEx.h
3 *
4 * Created on: Apr 9, 2014
5 * Author: B39109
6 */
7
8 #ifndef ISF_FSL_SPI_MASTER_PEX_H_
9 #define ISF_FSL_SPI_MASTER_PEX_H_
10 #include "PE_Types.h"
11 /**
12 * @brief This is the function pointer signature for i2c initialization.
13 */
14 typedef LDD_TDeviceData* (*fnSPIInit_t) (LDD_TUserData *apUserData);
15 /**
16 * @brief This is the function pointer signature for reading the data from a specified device.
17 */
18 typedef LDD_TError (*fnSPIRead_t) (LDD_TDeviceData *apDevice, LDD_TData *BufferPtr, uint16_t Size);
19 /**
20 * @brief This is the the function pointer signature for writing the data to a specified device.
21 */
22 typedef LDD_TError (*fnSPIWrite_t) (LDD_TDeviceData *apDevice, LDD_TData *BufferPtr, uint16_t Size);
23 /**
24 * @brief This structure contains i2c LLD function pointers.
25 */
26 typedef struct {
27 fnSPIInit_t fnSPILLDInit; /*!< Initialize a spi LDD component.*/
28 fnSPIRead_t fnSPICLLDRead; /*!< Read from a device.*/
29 fnSPIWrite_t fnSPILLDWrite; /*!< Write to a device.*/
30 } spi_master_instance_PEx;
31
32 #endif /* ISF_FSL_SPI_MASTER_PEX_H_ */
33
34
35
36
37
38
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
spi_master_instance_PEx::fnSPILLDWrite
fnSPIWrite_t fnSPILLDWrite
Definition: isf_fsl_spi_master_PEx.h:29
spi_master_instance_PEx
This structure contains i2c LLD function pointers.
Definition: isf_fsl_spi_master_PEx.h:26
spi_master_instance_PEx::fnSPICLLDRead
fnSPIRead_t fnSPICLLDRead
Definition: isf_fsl_spi_master_PEx.h:28
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.