stm32-ada/library/source/f4/stm32-f407-spis.ads

19 lines
578 B
Ada
Raw Normal View History

2023-11-09 17:46:56 +01:00
with System.Storage_Elements;
with STM32.Address_Map;
with STM32.SPIs;
2023-11-09 17:46:56 +01:00
package STM32.F407.SPIs is
2023-11-09 17:46:56 +01:00
package SPI_Base renames STM32.SPIs;
2023-11-09 17:46:56 +01:00
SPI1 : aliased SPI_Base.SPI_Registers with Volatile, Import,
2023-11-09 17:46:56 +01:00
Address => System.Storage_Elements.To_Address (STM32.Address_Map.SPI1);
SPI2 : aliased SPI_Base.SPI_Registers with Volatile, Import,
2023-11-09 17:46:56 +01:00
Address => System.Storage_Elements.To_Address (STM32.Address_Map.SPI2_I2S2);
SPI3 : aliased SPI_Base.SPI_Registers with Volatile, Import,
2023-11-09 17:46:56 +01:00
Address => System.Storage_Elements.To_Address (STM32.Address_Map.SPI3_I2S3);
end STM32.F407.SPIs;