Microchip® Advanced Software Framework

conf_spi_slave_example.h File Reference

Board specific spi as slave example configuration file.

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

Macros

#define SPI_SLAVE_EXAMPLE   &SPCR
 
#define SPI_SLAVE_EXAMPLE_LED_PIN   LED_YELLOW_GPIO
 
#define USART_SPI_DEVICE_EXAMPLE_ID   IOPORT_CREATE_PIN(PORTB, 4)
 
#define USART_SPI_EXAMPLE   &USARTA0
 
#define USART_SPI_EXAMPLE_BAUDRATE   1000000
 

#define SPI_SLAVE_EXAMPLE   &SPCR

Referenced by main(), and spi_interrupt_callback().

#define SPI_SLAVE_EXAMPLE_LED_PIN   LED_YELLOW_GPIO

Referenced by main().

#define USART_SPI_DEVICE_EXAMPLE_ID   IOPORT_CREATE_PIN(PORTB, 4)
#define USART_SPI_EXAMPLE   &USARTA0
#define USART_SPI_EXAMPLE_BAUDRATE   1000000

Referenced by main().