# Parameters:
# instance.parameter=value #(type, mode) default = 'def value' : description : [min..max]
#----------------------------------------------------------------------------------------------
cpu0.FPU=1 # (bool , init-time) default = '1' : Set whether the model has VFP support
cpu0.DSP=0 # (bool , init-time) default = '1' : Set whether the model has the DSP extension
cpu0.semihosting-enable=0 # (bool , init-time) default = '1' : Enable semihosting SVC traps. Applications that do not use semihosting must set this parameter to false.
cpu0.MPU_S=0x8 # (int , init-time) default = '0x8' : Number of regions in the Secure MPU. If Security Extentions are absent, this is ignored : [0x0..0x10]
cpu0.MPU_NS=0x8 # (int , init-time) default = '0x8' : Number of regions in the Non-Secure MPU. If Security Extentions are absent, this is the total number of MPU regions : [0x0..0x10]
cpu0.ITM=0 # (bool , init-time) default = '1' : Level of instrumentation trace supported. false : No ITM trace included, true: ITM trace included
cpu0.IRQLVL=0x3 # (int , init-time) default = '0x3' : Number of bits of interrupt priority : [0x3..0x8]
cpu0.BIGENDINIT=0 # (bool , init-time) default = '0' : Initialize processor to big endian mode
cpu0.INITSVTOR=0x00000000 # (int , init-time) default = '0x10000000' : Secure vector-table offset at reset : [0x0..0xFFFFFF80]
cpu0.INITNSVTOR=0x0 # (int , init-time) default = '0x0' : Non-Secure vector-table offset at reset : [0x0..0xFFFFFF80]
cpu0.SAU=0x0 # (int , init-time) default = '0x4' : Number of SAU regions (0 => no SAU) : [0x0..0x8]
cpu0.SAU_CTRL.ENABLE=0 # (bool , init-time) default = '0' : Enable SAU at reset
cpu0.SAU_CTRL.ALLNS=0 # (bool , init-time) default = '0' : At reset, the SAU treats entire memory space as NS when the SAU is disabled if this is set
cpu0.NUM_IDAU_REGION=0x0 # (int , init-time) default = '0xA' :
cpu0.LOCK_SAU=0 # (bool , init-time) default = '0' : Lock down of SAU registers write
cpu0.LOCK_S_MPU=0 # (bool , init-time) default = '0' : Lock down of Secure MPU registers write
cpu0.LOCK_NS_MPU=0 # (bool , init-time) default = '0' : Lock down of Non-Secure MPU registers write
cpu0.CPIF=1 # (bool , init-time) default = '1' : Specifies whether the external coprocessor interface is included
cpu0.SECEXT=0 # (bool , init-time) default = '1' : Whether the ARMv8-M Security Extensions are included
fvp_mps2.DISABLE_GATING=1 # (bool , init-time) default = '0' : Disable Memory gating logic
fvp_mps2.NUM_IDAU_REGION=0x0 # (int , init-time) default = '0xA' :
fvp_mps2.SCC_ID.Variant=0x0 # (int , init-time) default = '0x0' : SCC_ID[23:20], X in the FGPA version 'rXpY' : [0x0..0xF]
fvp_mps2.SCC_ID.Revision=0x1 # (int , init-time) default = '0x1' : SCC_ID[3:0], Y in the FGPA version 'rXpY' : [0x0..0xF]
fvp_mps2.platform_type=0x0 # (int , init-time) default = '0x0' : 0:MPS2 ; 1:IoT Kit ; 2:Castor : [0x0..0x2]
fvp_mps2.extra_psram=0 # (bool , init-time) default = '0' : Increases PSRAM to 32Mb
fvp_mps2.UART2.out_file="" # (string, init-time) default = '' : Output file to hold data written by the UART (use '-' to send all output to stdout)
fvp_mps2.UART2.in_file="" # (string, init-time) default = '' : Input file for data to be read by the UART
fvp_mps2.UART2.unbuffered_output=0 # (bool , init-time) default = '0' : Unbuffered output
fvp_mps2.UART2.in_file_escape_sequence="##" # (string, init-time) default = '##' : Input file escape sequence
fvp_mps2.UART2.shutdown_on_eot=0 # (bool , init-time) default = '0' : Shutdown simulation when a EOT (ASCII 4) char is transmitted (useful for regression tests when semihosting is not available)
fvp_mps2.UART2.shutdown_tag="" # (string, run-time ) default = '' : Shutdown simulation when a string is transmitted
fvp_mps2.UART1.out_file="" # (string, init-time) default = '' : Output file to hold data written by the UART (use '-' to send all output to stdout)
fvp_mps2.UART1.in_file="" # (string, init-time) default = '' : Input file for data to be read by the UART
fvp_mps2.UART1.unbuffered_output=0 # (bool , init-time) default = '0' : Unbuffered output
fvp_mps2.UART1.in_file_escape_sequence="##" # (string, init-time) default = '##' : Input file escape sequence
fvp_mps2.UART1.shutdown_on_eot=0 # (bool , init-time) default = '0' : Shutdown simulation when a EOT (ASCII 4) char is transmitted (useful for regression tests when semihosting is not available)
fvp_mps2.UART1.shutdown_tag="" # (string, run-time ) default = '' : Shutdown simulation when a string is transmitted
fvp_mps2.mps2_visualisation.rate_limit-enable=1 # (bool , init-time) default = '1' : Rate limit simulation.
fvp_mps2.mps2_visualisation.disable-visualisation=0 # (bool , init-time) default = '0' : Enable/disable visualisation
fvp_mps2.mps2_visualisation.window_title="CLCD %cpu%" # (string, init-time) default = 'CLCD %cpu%' : Window title (%cpu% is replaced by cpu_name)
fvp_mps2.mps2_visualisation.idler.delay_ms=0x32 # (int , init-time) default = '0x32' : Determines the period, in milliseconds of real time, between gui_callback() calls.
fvp_mps2.telnetterminal0.mode="telnet" # (string, init-time) default = 'telnet' : Terminal initialisation mode
fvp_mps2.telnetterminal0.start_telnet=1 # (bool , init-time) default = '1' : Start telnet if nothing connected
fvp_mps2.telnetterminal0.start_port=0x1388 # (int , init-time) default = '0x1388' : Telnet TCP Port Number : [0x0..0xFFFFFFFF]
fvp_mps2.telnetterminal0.quiet=0 # (bool , init-time) default = '0' : Avoid output on stdout/stderr
fvp_mps2.telnetterminal0.terminal_command="" # (string, init-time) default = '' : Commandline to launch a terminal application and connect to the opened TCP port. Keywords %port and %title will be replaced with the opened port number and component name respectively. An empty string (default behaviour) will launch xterm (Linux) or telnet.exe (Windows)
fvp_mps2.telnetterminal1.mode="telnet" # (string, init-time) default = 'telnet' : Terminal initialisation mode
fvp_mps2.telnetterminal1.start_telnet=1 # (bool , init-time) default = '1' : Start telnet if nothing connected
fvp_mps2.telnetterminal1.start_port=0x1388 # (int , init-time) default = '0x1388' : Telnet TCP Port Number : [0x0..0xFFFFFFFF]
fvp_mps2.telnetterminal1.quiet=0 # (bool , init-time) default = '0' : Avoid output on stdout/stderr
fvp_mps2.telnetterminal1.terminal_command="" # (string, init-time) default = '' : Commandline to launch a terminal application
STM32HAL库的1.8寸TFT驱动程序
需积分: 0 149 浏览量
更新于2023-05-05
收藏 28.64MB ZIP 举报
STM32HAL库是STMicroelectronics为STM32微控制器系列提供的一种高级抽象层库,它简化了开发者与硬件交互的过程。在这个特定的项目中,我们关注的是如何使用STM32HAL库来驱动一个1.8英寸的TFT(薄膜晶体管)液晶显示器。
驱动程序主要包括以下几个方面:
1. **初始化**: `lcd_init.c` 和 `lcd_init.h` 文件包含了LCD的初始化代码。在开始使用LCD之前,必须对其进行初始化,设置接口时钟、配置GPIO引脚(用于控制LCD的数据线和控制线)、设置LCD控制器等。初始化过程可能涉及配置SPI或I2C接口,根据实际连接方式选择。
2. **LCD控制器**: `lcd.c` 文件包含LCD控制器的函数实现,如发送命令、数据到LCD,更新显示缓冲区,以及处理各种显示操作。这些函数通常包括`LCD_WriteCommand()`和`LCD_WriteData()`,用于与LCD的命令和数据接口通信。
3. **字体支持**: `lcdfont.h` 文件提供了字符和字体的相关定义。在TFT LCD上显示文本时,需要将ASCII码转换为对应的像素数据。这个文件可能包含了不同大小和样式的字体定义,以便在屏幕上打印出清晰的文字。
4. **图片处理**: `pic.h` 可能包含了处理图像和位图的函数,用于在LCD上显示静态图片。这可能涉及到图片的解码、缩放和颜色转换。
5. **头文件`: `lcd.h` 是所有LCD相关函数的头文件,包含了函数声明和必要的结构体定义。开发人员需要包含这个文件才能在代码中调用LCD驱动的函数。
6. **示例代码**: `180TFTcodeexample` 可能是一个示例项目,展示了如何在实际应用中使用这些驱动程序。它可能包含了初始化LCD、绘制图形、显示文本和图片的完整流程,对于初学者来说是非常有用的参考资料。
7. `README.txt` 文件通常包含项目简介、使用说明或者注意事项,对于理解整个驱动程序的工作方式和如何集成到项目中非常有帮助。
通过理解这些组件,开发者可以构建一个完整的STM32系统,能够有效地驱动1.8寸TFT LCD,实现图形用户界面的显示功能。在具体的应用场景中,例如物联网设备、智能家居产品或工业控制面板,这样的驱动程序是至关重要的,它使得开发者能够专注于应用程序的逻辑,而无需关心底层硬件的复杂细节。
poism
- 粉丝: 1
- 资源: 5
最新资源
- 熊猫精灵脚本助手V2.8
- 塑料粒子播撒机 非标自动化废料循环设备step全套技术资料100%好用.zip
- zemax单透镜1234567
- zemax消色差一天文望远物镜
- C语言编译器dev-C++
- 循环自动上料透明胶片折边机(sw19可编辑+工程图)全套技术资料100%好用.zip
- 显影辊抛光机(硒鼓OPC感光鼓表面抛光)sw18可编辑+工程图全套技术资料100%好用.zip
- 一出八螺丝供料器sw17可编辑全套技术资料100%好用.zip
- 樱桃去核机sw16可编辑全套技术资料100%好用.zip
- 移动印刷机(sw可编辑+工程图+BOM)全套技术资料100%好用.zip
- 程序员面试笔试面经基础教程
- 智能全自动煮面售卖机sw16可编辑全套技术资料100%好用.zip
- 秋招信息获取与分析基础教程
- Java编程世界探索基础教程
- 栈板自动拆垛机sw18可编辑全套技术资料100%好用.zip
- Python编程从入门到精通基础教程