ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
ISF_SPI1.h
Go to the documentation of this file.
1 /* ###################################################################
2 ** This component module is generated by Processor Expert. Do not modify it.
3 ** Filename : ISF_SPI1.h
4 ** Project : ISF2P2_K64F_MQX_PROJ
5 ** Processor : MK64FN1M0VLL12
6 ** Component : fsl_dspi
7 ** Version : Component 1.2.0, Driver 01.00, CPU db: 3.00.000
8 ** Repository : KSDK 1.2.0
9 ** Compiler : GNU C Compiler
10 ** Date/Time : 2016-10-06, 13:38, # CodeGen: 0
11 ** Contents :
12 ** DSPI_DRV_IRQHandler - void DSPI_DRV_IRQHandler(uint32_t instance);
13 ** DSPI_DRV_MasterInit - dspi_status_t DSPI_DRV_MasterInit(uint32_t instance,dspi_master_state_t *...
14 ** DSPI_DRV_MasterDeinit - dspi_status_t DSPI_DRV_MasterDeinit(uint32_t instance);
15 ** DSPI_DRV_MasterSetDelay - dspi_status_t DSPI_DRV_MasterSetDelay(uint32_t instance,dspi_delay_type_t...
16 ** DSPI_DRV_MasterConfigureBus - dspi_status_t DSPI_DRV_MasterConfigureBus(uint32_t instance,const...
17 ** DSPI_DRV_MasterTransferBlocking - dspi_status_t DSPI_DRV_MasterTransferBlocking(uint32_t instance,const...
18 ** DSPI_DRV_MasterTransfer - dspi_status_t DSPI_DRV_MasterTransfer(uint32_t instance,const dspi_device_t *...
19 ** DSPI_DRV_MasterGetTransferStatus - dspi_status_t DSPI_DRV_MasterGetTransferStatus(uint32_t instance,uint32_t *...
20 ** DSPI_DRV_MasterAbortTransfer - dspi_status_t DSPI_DRV_MasterAbortTransfer(uint32_t instance);
21 ** DSPI_DRV_MasterIRQHandler - void DSPI_DRV_MasterIRQHandler(uint32_t instance);
22 ** DSPI_DRV_SlaveInit - dspi_status_t DSPI_DRV_SlaveInit(uint32_t instance,dspi_slave_state_t *...
23 ** DSPI_DRV_SlaveDeinit - dspi_status_t DSPI_DRV_SlaveDeinit(uint32_t instance);
24 ** DSPI_DRV_SlaveTransferBlocking - dspi_status_t DSPI_DRV_SlaveTransferBlocking(uint32_t instance,const uint8_t...
25 ** DSPI_DRV_SlaveTransfer - dspi_status_t DSPI_DRV_SlaveTransfer(uint32_t instance,const uint8_t *...
26 ** DSPI_DRV_SlaveAbortTransfer - dspi_status_t DSPI_DRV_SlaveAbortTransfer(uint32_t instance);
27 ** DSPI_DRV_SlaveGetTransferStatus - dspi_status_t DSPI_DRV_SlaveGetTransferStatus(uint32_t instance,uint32_t *...
28 ** DSPI_DRV_SlaveIRQHandler - void DSPI_DRV_SlaveIRQHandler(uint32_t instance);
29 **
30 ** Copyright : 1997 - 2015 Freescale Semiconductor, Inc.
31 ** All Rights Reserved.
32 **
33 ** Redistribution and use in source and binary forms, with or without modification,
34 ** are permitted provided that the following conditions are met:
35 **
36 ** o Redistributions of source code must retain the above copyright notice, this list
37 ** of conditions and the following disclaimer.
38 **
39 ** o Redistributions in binary form must reproduce the above copyright notice, this
40 ** list of conditions and the following disclaimer in the documentation and/or
41 ** other materials provided with the distribution.
42 **
43 ** o Neither the name of Freescale Semiconductor, Inc. nor the names of its
44 ** contributors may be used to endorse or promote products derived from this
45 ** software without specific prior written permission.
46 **
47 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
48 ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
49 ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
50 ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
51 ** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
52 ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
53 ** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
54 ** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
55 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
56 ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
57 **
58 ** http: www.freescale.com
59 ** mail: support@freescale.com
60 ** ###################################################################*/
61 /*!
62 ** @file ISF_SPI1.h
63 ** @version 01.00
64 */
65 /*!
66 ** @addtogroup ISF_SPI1_module ISF_SPI1 module documentation
67 ** @{
68 */
69 #ifndef __ISF_SPI1_H
70 #define __ISF_SPI1_H
71 /* MODULE ISF_SPI1. */
72 
73 /* Include inherited beans */
74 #include "clockMan1.h"
75 #include "osa1.h"
76 #include "Cpu.h"
77 
78 /*! @brief Device instance number */
79 #define FSL_ISF_SPI1 0
80 /*! @brief ISF_SPI1 component mode */
81 #define ISF_SPI1_DMA_MODE 0U
82 
83 /*! @brief Driver state structure. Generated due to enabled auto initialization */
84 extern dspi_master_state_t ISF_SPI1_MasterState;
85 
86 /*! @brief Driver calculated baudrate is returned from DSPI_DRV_MasterInit() call.
87  Generated due to enabled auto initialization */
88 extern uint32_t ISF_SPI1_calculatedBaudRate;
89 
90 /*! @brief Master bus configuration declaration */
91 extern const dspi_device_t ISF_SPI1_BusConfig0;
92 
93 /*! @brief Master configuration declaration */
94 extern const dspi_master_user_config_t ISF_SPI1_MasterConfig0;
95 
96 /*! @brief Slave configuration declaration */
97 extern const dspi_slave_user_config_t ISF_SPI1_SlaveConfig0;
98 
99 
100 #endif
101 /* ifndef __ISF_SPI1_H */
102 /*!
103 ** @}
104 */
105 /*
106 ** ###################################################################
107 **
108 ** This file was created by Processor Expert 10.5 [05.21]
109 ** for the Freescale Kinetis series of microcontrollers.
110 **
111 ** ###################################################################
112 */
const dspi_device_t ISF_SPI1_BusConfig0
Master bus configuration declaration.
Definition: ISF_SPI1.c:60
const dspi_slave_user_config_t ISF_SPI1_SlaveConfig0
Slave configuration declaration.
Definition: ISF_SPI1.c:76
uint32_t ISF_SPI1_calculatedBaudRate
Driver calculated baudrate is returned from DSPI_DRV_MasterInit() call. Generated due to enabled auto...
Definition: ISF_SPI1.c:58
const dspi_master_user_config_t ISF_SPI1_MasterConfig0
Master configuration declaration.
Definition: ISF_SPI1.c:68
dspi_master_state_t ISF_SPI1_MasterState
Driver state structure. Generated due to enabled auto initialization.
Definition: ISF_SPI1.c:57