Constant SPI_DEVICE_SIZE_BYTES

Source
pub const SPI_DEVICE_SIZE_BYTES: usize = 0x2000;
Expand description

Peripheral size for spi_device in top earlgrey.

This is the size (in bytes) of the peripheral’s reserved memory area. All memory-mapped registers associated with this peripheral should have an address between #SPI_DEVICE_BASE_ADDR and SPI_DEVICE_BASE_ADDR + SPI_DEVICE_SIZE_BYTES.