/*
   Copyright (c) 2014-2016 by Plexim GmbH
   All rights reserved.

   A free license is granted to anyone to use this software for any legal
   non safety-critical purpose, including commercial applications, provided
   that:
   1) IT IS NOT USED TO DIRECTLY OR INDIRECTLY COMPETE WITH PLEXIM, and
   2) THIS COPYRIGHT NOTICE IS PRESERVED in its entirety.

   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
   SOFTWARE.
 */

#ifndef PLX_SPI_IMPL_H_
#define PLX_SPI_IMPL_H_

#define PLX_SPI_FIFO_DEPTH 16
#define PLX_SPI_USE_CONTROLLER_PERIPHERAL 1

typedef enum PLX_SPI_UNIT {
  PLX_SPI_SPI_A = 0,
  PLX_SPI_SPI_B,
  PLX_SPI_SPI_C,
  PLX_SPI_SPI_D
} PLX_SPI_Unit_t;

#include "spi_type2.h"

#endif /* PLX_SPI_IMPL_H_ */
