28 lines
777 B
Ada
28 lines
777 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);
|
|
|
|
end STM32.USART.Units;
|