>< SYSCFG renamed to System_Configuration
This commit is contained in:
parent
63e54d2753
commit
c9c8938a97
|
@ -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;
|
|
@ -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;
|
|
@ -1,5 +0,0 @@
|
|||
with STM32.F407.SYSCFG;
|
||||
|
||||
package STM32.F429.SYSCFG renames STM32.F407.SYSCFG;
|
||||
|
||||
-- todo: differentiate
|
|
@ -0,0 +1,5 @@
|
|||
with STM32.F407.System_Configuration;
|
||||
|
||||
package STM32.F429.System_Configuration renames STM32.F407.System_Configuration;
|
||||
|
||||
-- todo: differentiate
|
|
@ -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;
|
Loading…
Reference in New Issue