Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
tiny_spi_platform_data Struct Reference

#include <spi_oc_tiny.h>

Data Fields

unsigned int freq
 
unsigned int baudwidth
 
unsigned int gpio_cs_count
 
intgpio_cs
 

Detailed Description

struct tiny_spi_platform_data - platform data of the OpenCores tiny SPI : input clock freq to the core. : baud rate divider width of the core. : number of gpio pins used for chipselect. : array of gpio pins used for chipselect.

freq and baudwidth are used only if the divider is programmable.

Definition at line 13 of file spi_oc_tiny.h.

Field Documentation

unsigned int baudwidth

Definition at line 15 of file spi_oc_tiny.h.

unsigned int freq

Definition at line 14 of file spi_oc_tiny.h.

int* gpio_cs

Definition at line 17 of file spi_oc_tiny.h.

unsigned int gpio_cs_count

Definition at line 16 of file spi_oc_tiny.h.


The documentation for this struct was generated from the following file: