stm32-ada/source/f4/stm32-f429-units.ads
2021-09-02 19:47:07 +03:00

122 lines
3.8 KiB
Ada

with System;
with STM32.Address_Map;
with STM32.EXTI;
with STM32.FMC;
with STM32.GPIO;
with STM32.LTDC;
with STM32.RCC;
with STM32.PWR;
with STM32.SPI;
with STM32.SYSCFG;
with STM32.USART;
package STM32.F429.Units is
pragma Preelaborate;
EXTI : STM32.EXTI.EXTI_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.EXTI);
FMC : STM32.FMC.FMC_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.FMC_FSMC);
---
GPIOA : STM32.GPIO.GPIO_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.GPIOA);
GPIOB : STM32.GPIO.GPIO_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.GPIOB);
GPIOC : STM32.GPIO.GPIO_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.GPIOC);
GPIOD : STM32.GPIO.GPIO_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.GPIOD);
GPIOE : STM32.GPIO.GPIO_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.GPIOE);
GPIOF : STM32.GPIO.GPIO_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.GPIOF);
GPIOG : STM32.GPIO.GPIO_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.GPIOG);
GPIOH : STM32.GPIO.GPIO_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.GPIOH);
GPIOI : STM32.GPIO.GPIO_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.GPIOI);
GPIOJ : STM32.GPIO.GPIO_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.GPIOJ);
GPIOK : STM32.GPIO.GPIO_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.GPIOK);
---
LTDC : STM32.LTDC.LTDC_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.LTDC);
RCC : STM32.RCC.RCC_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.RCC);
PWR : STM32.PWR.PWR_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.PWR);
SYSCFG : STM32.SYSCFG.SYSCFG_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.SYSCFG);
---
SPI1 : STM32.SPI.SPI_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.SPI1);
SPI2 : STM32.SPI.SPI_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.SPI2_I2S2);
SPI3 : STM32.SPI.SPI_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.SPI3_I2S3);
SPI4 : STM32.SPI.SPI_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.SPI4);
SPI5 : STM32.SPI.SPI_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.SPI5);
SPI6 : STM32.SPI.SPI_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.SPI6);
I2S2 : STM32.SPI.SPI_Registers renames SPI2;
I2S3 : STM32.SPI.SPI_Registers renames SPI3;
---
USART1: STM32.USART.USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.USART1);
USART2: STM32.USART.USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.USART2);
USART3: STM32.USART.USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.USART3);
UART4: STM32.USART.USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.UART4);
UART5: STM32.USART.USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.UART5);
USART6: STM32.USART.USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.USART6);
UART7: STM32.USART.USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.UART7);
UART8: STM32.USART.USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.UART8);
end STM32.F429.Units;