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 |
Referenced by main(), spi_slave_transfer(), and spi_usart_master_transfer().
#define USART_SPI_EXAMPLE_BAUDRATE 1000000 |
Referenced by main().