| 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
Data Structures | Typedefs | Enumerations
fsl_spi_hal.h File Reference
Spi_hal

fsl_spi_hal.h defines structures and types for the spi master HAL layer. More...

`#include "isf_types.h"`
`#include <stdbool.h>`
`#include <stdint.h>`
`#include <assert.h>`
Include dependency graph for fsl_spi_hal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
struct | SpiConfig
| SPI hardware configuration settings. More...

## Typedefs
typedef enum _spi_errors | spi_status_t
| Error codes for the SPI driver. More...
typedef enum _spi_master_slave_mode | spi_master_slave_mode_t
| SPI master or slave configuration. More...
typedef enum _spi_clock_polarity | spi_clock_polarity_t
| SPI clock polarity configuration. More...
typedef enum _spi_clock_phase | spi_clock_phase_t
| SPI clock phase configuration. More...
typedef enum _spi_shift_direction | spi_shift_direction_t
| SPI data shifter direction options. More...
typedef enum _spi_ss_output_mode | spi_ss_output_mode_t
| SPI slave select output mode options. More...
typedef enum _spi_pin_mode | spi_pin_mode_t
| SPI pin mode options. More...
typedef struct SpiConfig | spi_config_t
| SPI hardware configuration settings. More...

## Enumerations
enum | _spi_errors { kStatus_SPI_Success = 0, kStatus_SPI_SlaveTxUnderrun, kStatus_SPI_SlaveRxOverrun, kStatus_SPI_Timeout, kStatus_SPI_Busy, kStatus_SPI_NoTransferInProgress, kStatus_SPI_Error }
| Error codes for the SPI driver. More...
enum | _spi_master_slave_mode { kSpiMaster = 1, kSpiSlave = 0 }
| SPI master or slave configuration. More...
enum | _spi_clock_polarity { kSpiClockPolarity_ActiveHigh = 0, kSpiClockPolarity_ActiveLow = 1 }
| SPI clock polarity configuration. More...
enum | _spi_clock_phase { kSpiClockPhase_FirstEdge = 0, kSpiClockPhase_SecondEdge = 1 }
| SPI clock phase configuration. More...
enum | _spi_shift_direction { kSpiMsbFirst = 0, kSpiLsbFirst = 1 }
| SPI data shifter direction options. More...
enum | _spi_ss_output_mode { kSpiSlaveSelect_AsGpio = 0, kSpiSlaveSelect_FaultInput = 2, kSpiSlaveSelect_AutomaticOutput = 3 }
| SPI slave select output mode options. More...
enum | _spi_pin_mode { kSpiPinMode_Normal = 0, kSpiPinMode_Input = 1, kSpiPinMode_Output = 3 }
| SPI pin mode options. More...

## Detailed Description

fsl_spi_hal.h defines structures and types for the spi master HAL layer.

File: fsl_spi_hal.h

Copyright (c) 2014, Freescale Semiconductor, Inc.

Definition in file fsl_spi_hal.h.

- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.