Spi Master example configuration.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
Configuration | |
#define | SPI_EXAMPLE SPI |
#define | SPI_DEVICE_EXAMPLE_ID 2 |
#define | SPI_EXAMPLE_BAUDRATE 1000000 |
#define | SPI_EXAMPLE_LED_PIN_EXAMPLE_1 LED0_GPIO |
#define | SPI_EXAMPLE_LED_PIN_EXAMPLE_2 LED0_GPIO |
Bit-Masks and Values for the Status Register | |
#define | AT25DF_MSK_DENSITY 0x08 |
Device status bit-mask. More... | |
#define | AT25DF_DENSITY 0x08 |
Device default software protect value. More... | |
#define AT25DF_DENSITY 0x08 |
Device default software protect value.
Referenced by spi_at25df_mem_check().
#define AT25DF_MSK_DENSITY 0x08 |
Device status bit-mask.
Referenced by spi_at25df_mem_check().
#define SPI_DEVICE_EXAMPLE_ID 2 |
#define SPI_EXAMPLE SPI |
Referenced by main(), and spi_at25df_mem_check().
#define SPI_EXAMPLE_BAUDRATE 1000000 |
Referenced by main().