>< SYSCFG renamed to System_Configuration

This commit is contained in:
Vovanium 2024-01-18 18:53:27 +03:00
parent 63e54d2753
commit c9c8938a97
5 changed files with 19 additions and 19 deletions

View File

@ -1,12 +0,0 @@
with System.Storage_Elements;
with STM32.Address_Map;
with STM32.SYSCFG;
package STM32.F407.SYSCFG is
package SYSCFG_Base renames STM32.SYSCFG;
SYSCFG_HW : SYSCFG_Base.SYSCFG_Registers with Volatile, Import,
Address => System.Storage_Elements.To_Address (STM32.Address_Map.SYSCFG);
end STM32.F407.SYSCFG;

View File

@ -0,0 +1,12 @@
with System.Storage_Elements;
with STM32.Address_Map;
with STM32.System_Configuration;
package STM32.F407.System_Configuration is
package SYSCFG_Base renames STM32.System_Configuration;
SYSCFG : SYSCFG_Base.SYSCFG_Registers with Volatile, Import,
Address => System.Storage_Elements.To_Address (STM32.Address_Map.SYSCFG);
end STM32.F407.System_Configuration;

View File

@ -1,5 +0,0 @@
with STM32.F407.SYSCFG;
package STM32.F429.SYSCFG renames STM32.F407.SYSCFG;
-- todo: differentiate

View File

@ -0,0 +1,5 @@
with STM32.F407.System_Configuration;
package STM32.F429.System_Configuration renames STM32.F407.System_Configuration;
-- todo: differentiate

View File

@ -1,4 +1,4 @@
package STM32.SysCfg with Pure is
package STM32.System_Configuration with Pure is
type Memory_Mapping is (
Main_Flash,
@ -139,4 +139,4 @@ package STM32.SysCfg with Pure is
CMPCR at 16#20# range 0 .. 31;
end record;
end STM32.SysCfg;
end STM32.System_Configuration;