>< LTDC previously renamed to TFT_LCD_Controller now is just TFT_LCD

This commit is contained in:
Vovanium 2024-01-18 18:58:35 +03:00
parent c9c8938a97
commit f30bda5286
4 changed files with 15 additions and 14 deletions

View File

@ -1,7 +1,7 @@
with STM32.LCD_TFT_Controller;
use STM32.LCD_TFT_Controller;
with Chip.LCD_TFT_Controller;
use Chip.LCD_TFT_Controller;
with STM32.LCD_TFT;
use STM32.LCD_TFT;
with Chip.LCD_TFT;
use Chip.LCD_TFT;
with Board.Frequencies;
package body Board.LCD.Controller is

View File

@ -1,9 +1,9 @@
with Chip.LCD_TFT_Controller;
use Chip.LCD_TFT_Controller;
with Chip.LCD_TFT;
use Chip.LCD_TFT;
with STM32.Graphics;
with STM32.LCD_TFT_Controller;
use STM32.LCD_TFT_Controller;
with STM32.LCD_TFT;
use STM32.LCD_TFT;
with System.Storage_Elements;
use type System.Storage_Elements.Storage_Offset;

View File

@ -1,12 +1,12 @@
with System.Storage_Elements;
with STM32.Address_Map;
with STM32.LCD_TFT_Controller;
with STM32.LCD_TFT;
package STM32.F429.LCD_TFT_Controller is
package STM32.F429.LCD_TFT is
package LTDC_Base renames STM32.LCD_TFT_Controller;
package LTDC_Base renames STM32.LCD_TFT;
LTDC : LTDC_Base.LTDC_Registers with Volatile, Import,
Address => System.Storage_Elements.To_Address (STM32.Address_Map.LTDC);
end STM32.F429.LCD_TFT_Controller;
end STM32.F429.LCD_TFT;

View File

@ -1,6 +1,7 @@
with STM32.Graphics;
use STM32.Graphics;
package STM32.LCD_TFT_Controller with Pure is
package STM32.LCD_TFT with Pure is
type Frame_Configuration_Register is record
VH : Integer range 0 .. 2**11 - 1;
@ -302,4 +303,4 @@ package STM32.LCD_TFT_Controller with Pure is
L at 16#0080# range 0 .. 2 * 8 * 16#80# - 1;
end record;
end STM32.LCD_TFT_Controller;
end STM32.LCD_TFT;