Microchip® Advanced Software Framework

conf_example.h File Reference

Example configuration.

Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define SPI_ID   ID_SPI0
 SPI Hw ID. More...
 
#define SPI_MASTER_BASE   SPI0
 SPI base address for SPI master mode. More...
 
#define SPI_SLAVE_BASE   SPI0
 SPI base address for SPI slave mode (on different board) More...
 

#define SPI_ID   ID_SPI0

SPI Hw ID.

Referenced by spi_master_initialize(), and spi_slave_initialize().

#define SPI_MASTER_BASE   SPI0

SPI base address for SPI master mode.

Referenced by spi_master_initialize(), and spi_master_transfer().

#define SPI_SLAVE_BASE   SPI0

SPI base address for SPI slave mode (on different board)

Referenced by spi_slave_initialize(), and spi_slave_transfer().