stm32-ada/source/f4/stm32-f407-units.ads

81 lines
2.4 KiB
Ada

with System;
with STM32.Address_Map;
with STM32.EXTI;
with STM32.FSMC;
with STM32.GPIO;
with STM32.RCC;
with STM32.PWR;
with STM32.SYSCFG;
with STM32.USART;
package STM32.F407.Units is
pragma Preelaborate;
EXTI : STM32.EXTI.EXTI_Registers
with Volatile, Import, Address => System'To_Address (STM32.Address_Map.EXTI);
FSMC : STM32.FSMC.FSMC_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);
---
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);
---
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);
end STM32.F407.Units;