stm32-ada/source/f4/29z/stm32-usart-units.ads

32 lines
964 B
Ada

with System;
with STM32.Address_Map;
package STM32.USART.Units is
pragma Preelaborate;
package Address_Map renames STM32.Address_Map;
USART1: USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.USART1);
USART2: USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.USART2);
USART3: USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.USART3);
UART4: USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.UART4);
UART5: USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.UART5);
USART6: USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.USART6);
UART7: USART.USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.UART7);
UART8: USART.USART_Registers
with Volatile, Import, Address => System'To_Address(Address_Map.UART8);
end STM32.USART.Units;