>< CAN > CANs, CRC > CRC_Calculation, CRYP > Cryptographic_Processor

This commit is contained in:
Vovanium 2024-01-19 20:36:17 +03:00
parent a504d5615b
commit 2a88d68215
11 changed files with 49 additions and 48 deletions

View File

@ -1,4 +1,4 @@
package STM32.CAN with Pure is
package STM32.CANs with Pure is
-- bxCAN hardware
-- Correspondence in register names:
@ -525,4 +525,4 @@ package STM32.CAN with Pure is
FR at 16#0240# range 0 .. 32 * 2 * 28 - 1;
end record;
end STM32.CAN;
end STM32.CANs;

View File

@ -1,4 +1,4 @@
package STM32.CRC with Pure is
package STM32.CRC_Calculation with Pure is
-- Applies to whole STM32F4xx family
-- IDR
@ -38,4 +38,5 @@ package STM32.CRC with Pure is
IDR at 16#04# range 0 .. 31;
CR at 16#08# range 0 .. 31;
end record;
end STM32.CRC;
end STM32.CRC_Calculation;

View File

@ -1,4 +1,4 @@
package STM32.CRYP with Pure is
package STM32.Cryptographic_Processor with Pure is
-- Register correspondence
@ -231,4 +231,4 @@ package STM32.CRYP with Pure is
CSGCMR at 16#70# range 0 .. 32 * 8 - 1;
end record;
end STM32.CRYP;
end STM32.Cryptographic_Processor;

View File

@ -1,15 +0,0 @@
with System.Storage_Elements;
with STM32.Address_Map;
with STM32.CAN;
package STM32.F407.CAN is
package Base renames STM32.CAN;
CAN1 : Base.CAN_Registers with Volatile, Import,
Address => System.Storage_Elements.To_Address (STM32.Address_Map.CAN1);
CAN2 : Base.CAN_Registers with Volatile, Import,
Address => System.Storage_Elements.To_Address (STM32.Address_Map.CAN2);
end STM32.F407.CAN;

View File

@ -0,0 +1,15 @@
with System.Storage_Elements;
with STM32.Address_Map;
with STM32.CANs;
package STM32.F407.CANs is
package CAN_Base renames STM32.CANs;
CAN1 : CAN_Base.CAN_Registers with Volatile, Import,
Address => System.Storage_Elements.To_Address (STM32.Address_Map.CAN1);
CAN2 : CAN_Base.CAN_Registers with Volatile, Import,
Address => System.Storage_Elements.To_Address (STM32.Address_Map.CAN2);
end STM32.F407.CANs;

View File

@ -1,3 +0,0 @@
with STM32.F407.CAN;
package STM32.F429.CAN renames STM32.F407.CAN;

View File

@ -0,0 +1,3 @@
with STM32.F407.CANs;
package STM32.F429.CANs renames STM32.F407.CANs;

View File

@ -1,12 +0,0 @@
with System.Storage_Elements;
with STM32.Address_Map;
with STM32.CRC;
package STM32.F429.CRC is
package Base renames STM32.CRC;
CRC_HW : Base.CRC_Registers with Volatile, Import,
Address => System.Storage_Elements.To_Address (STM32.Address_Map.CRC);
end STM32.F429.CRC;

View File

@ -0,0 +1,12 @@
with System.Storage_Elements;
with STM32.Address_Map;
with STM32.CRC_Calculation;
package STM32.F429.CRC_Calculation is
package CRC_Base renames STM32.CRC_Calculation;
CRC_HW : CRC_Base.CRC_Registers with Volatile, Import,
Address => System.Storage_Elements.To_Address (STM32.Address_Map.CRC);
end STM32.F429.CRC_Calculation;

View File

@ -1,12 +0,0 @@
with System.Storage_Elements;
with STM32.Address_Map;
with STM32.CRYP;
package STM32.F429.CRYP is
package Base renames STM32.CRYP;
CRYP_HW : Base.CRYP_Registers with Volatile, Import,
Address => System.Storage_Elements.To_Address (STM32.Address_Map.CRYP);
end STM32.F429.CRYP;

View File

@ -0,0 +1,12 @@
with System.Storage_Elements;
with STM32.Address_Map;
with STM32.Cryptographic_Processor;
package STM32.F429.Cryptographic_Processor is
package CRYP_Base renames STM32.Cryptographic_Processor;
CRYP : CRYP_Base.CRYP_Registers with Volatile, Import,
Address => System.Storage_Elements.To_Address (STM32.Address_Map.CRYP);
end STM32.F429.Cryptographic_Processor;