-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7a12351
Showing
193 changed files
with
107,759 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[PreviousLibFiles] | ||
LibFiles=Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_spi.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_spi.h;Drivers\STM32F1xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_def.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_rcc.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_rcc_ex.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_bus.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_rcc.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_system.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_utils.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_gpio.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_gpio_ex.h;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_gpio.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dma_ex.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dma.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_dma.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_cortex.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_cortex.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_pwr.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_pwr.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_flash.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_flash_ex.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_exti.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_exti.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_tim.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_tim_ex.h;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_spi.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash_ex.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_exti.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_spi.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_spi.h;Drivers\STM32F1xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_def.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_rcc.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_rcc_ex.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_bus.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_rcc.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_system.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_utils.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_gpio.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_gpio_ex.h;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_gpio.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dma_ex.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dma.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_dma.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_cortex.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_cortex.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_pwr.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_pwr.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_flash.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_flash_ex.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_exti.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_ll_exti.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_tim.h;Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_tim_ex.h;Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103x6.h;Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f1xx.h;Drivers\CMSIS\Device\ST\STM32F1xx\Include\system_stm32f1xx.h;Drivers\CMSIS\Device\ST\STM32F1xx\Include\system_stm32f1xx.h;Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c;Drivers\CMSIS\Include\cmsis_armcc.h;Drivers\CMSIS\Include\cmsis_armclang.h;Drivers\CMSIS\Include\cmsis_compiler.h;Drivers\CMSIS\Include\cmsis_gcc.h;Drivers\CMSIS\Include\cmsis_iccarm.h;Drivers\CMSIS\Include\cmsis_version.h;Drivers\CMSIS\Include\core_armv8mbl.h;Drivers\CMSIS\Include\core_armv8mml.h;Drivers\CMSIS\Include\core_cm0.h;Drivers\CMSIS\Include\core_cm0plus.h;Drivers\CMSIS\Include\core_cm1.h;Drivers\CMSIS\Include\core_cm23.h;Drivers\CMSIS\Include\core_cm3.h;Drivers\CMSIS\Include\core_cm33.h;Drivers\CMSIS\Include\core_cm4.h;Drivers\CMSIS\Include\core_cm7.h;Drivers\CMSIS\Include\core_sc000.h;Drivers\CMSIS\Include\core_sc300.h;Drivers\CMSIS\Include\mpu_armv7.h;Drivers\CMSIS\Include\mpu_armv8.h;Drivers\CMSIS\Include\tz_context.h; | ||
|
||
[PreviousUsedCubeIDEFiles] | ||
SourceFiles=Core\Src\main.c;Core\Src\stm32f1xx_it.c;Core\Src\stm32f1xx_hal_msp.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_spi.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash_ex.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_exti.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c;Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c;Core\Src\system_stm32f1xx.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_spi.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_flash_ex.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_exti.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c;Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c;Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c;Core\Src\system_stm32f1xx.c;;; | ||
HeaderPath=Drivers\STM32F1xx_HAL_Driver\Inc;Drivers\STM32F1xx_HAL_Driver\Inc\Legacy;Drivers\CMSIS\Device\ST\STM32F1xx\Include;Drivers\CMSIS\Include;Core\Inc; | ||
CDefines=USE_HAL_DRIVER;STM32F103x6;USE_HAL_DRIVER;USE_HAL_DRIVER; | ||
|
||
[PreviousGenFiles] | ||
AdvancedFolderStructure=true | ||
HeaderFileListSize=3 | ||
HeaderFiles#0=..\Core\Inc\stm32f1xx_it.h | ||
HeaderFiles#1=..\Core\Inc\stm32f1xx_hal_conf.h | ||
HeaderFiles#2=..\Core\Inc\main.h | ||
HeaderFolderListSize=1 | ||
HeaderPath#0=..\Core\Inc | ||
HeaderFiles=; | ||
SourceFileListSize=3 | ||
SourceFiles#0=..\Core\Src\stm32f1xx_it.c | ||
SourceFiles#1=..\Core\Src\stm32f1xx_hal_msp.c | ||
SourceFiles#2=..\Core\Src\main.c | ||
SourceFolderListSize=1 | ||
SourcePath#0=..\Core\Src | ||
SourceFiles=; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>ADAS</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> | ||
<triggers>clean,full,incremental,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> | ||
<triggers>full,incremental,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>com.st.stm32cube.ide.mcu.MCUProjectNature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCUCubeProjectNature</nature> | ||
<nature>org.eclipse.cdt.core.cnature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCUAdvancedStructureProjectNature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature</nature> | ||
<nature>com.st.stm32cube.ide.mcu.MCURootProjectNature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> | ||
</natures> | ||
<linkedResources> | ||
<link> | ||
<name>Core/Inc/MCP3008.h</name> | ||
<type>1</type> | ||
<location>D:/Work/Chandrima project -ADAS/STM32_code_workspace/ADAS/Core/Inc/MCP3008.h</location> | ||
</link> | ||
</linkedResources> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<project> | ||
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1680722496" name="Debug"> | ||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider"> | ||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/> | ||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> | ||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> | ||
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="1891559507908493494" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true"> | ||
<language-scope id="org.eclipse.cdt.core.gcc"/> | ||
<language-scope id="org.eclipse.cdt.core.g++"/> | ||
</provider> | ||
</extension> | ||
</configuration> | ||
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1221768681" name="Release"> | ||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider"> | ||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/> | ||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> | ||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> | ||
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="1891559507908493494" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true"> | ||
<language-scope id="org.eclipse.cdt.core.gcc"/> | ||
<language-scope id="org.eclipse.cdt.core.g++"/> | ||
</provider> | ||
</extension> | ||
</configuration> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
eclipse.preferences.version=1 | ||
encoding/<project>=UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
66BE74F758C12D739921AEA421D593D3=1 | ||
8DF89ED150041C4CBC7CB9A9CAA90856=D231413A6B4853FB36E3A215E8CA1BF3 | ||
DC22A860405A8BF2F2C095E5B6529F12=D231413A6B4853FB36E3A215E8CA1BF3 | ||
eclipse.preferences.version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
#MicroXplorer Configuration settings - do not modify | ||
CAD.formats= | ||
CAD.pinconfig= | ||
CAD.provider= | ||
File.Version=6 | ||
KeepUserPlacement=false | ||
Mcu.CPN=STM32F103C6T6A | ||
Mcu.Family=STM32F1 | ||
Mcu.IP0=NVIC | ||
Mcu.IP1=RCC | ||
Mcu.IP2=SPI1 | ||
Mcu.IP3=SYS | ||
Mcu.IPNb=4 | ||
Mcu.Name=STM32F103C(4-6)Tx | ||
Mcu.Package=LQFP48 | ||
Mcu.Pin0=PA5 | ||
Mcu.Pin1=PA6 | ||
Mcu.Pin10=PA10 | ||
Mcu.Pin11=PA11 | ||
Mcu.Pin12=PA12 | ||
Mcu.Pin13=PA13 | ||
Mcu.Pin14=PA14 | ||
Mcu.Pin15=PA15 | ||
Mcu.Pin16=PB3 | ||
Mcu.Pin17=PB4 | ||
Mcu.Pin18=PB5 | ||
Mcu.Pin19=PB6 | ||
Mcu.Pin2=PA7 | ||
Mcu.Pin20=PB7 | ||
Mcu.Pin21=PB8 | ||
Mcu.Pin22=PB9 | ||
Mcu.Pin23=VP_SYS_VS_ND | ||
Mcu.Pin24=VP_SYS_VS_Systick | ||
Mcu.Pin3=PB10 | ||
Mcu.Pin4=PB11 | ||
Mcu.Pin5=PB12 | ||
Mcu.Pin6=PB13 | ||
Mcu.Pin7=PB14 | ||
Mcu.Pin8=PB15 | ||
Mcu.Pin9=PA8 | ||
Mcu.PinsNb=25 | ||
Mcu.ThirdPartyNb=0 | ||
Mcu.UserConstants= | ||
Mcu.UserName=STM32F103C6Tx | ||
MxCube.Version=6.12.0 | ||
MxDb.Version=DB.6.0.120 | ||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false | ||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false | ||
NVIC.ForceEnableDMAVector=true | ||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false | ||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false | ||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false | ||
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false | ||
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4 | ||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false | ||
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true\:false | ||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false | ||
PA10.Locked=true | ||
PA10.Signal=GPIO_Output | ||
PA11.Locked=true | ||
PA11.Signal=GPIO_Output | ||
PA12.Locked=true | ||
PA12.Signal=GPIO_Output | ||
PA13.Locked=true | ||
PA13.Signal=GPIO_Output | ||
PA14.Locked=true | ||
PA14.Signal=GPIO_Output | ||
PA15.Locked=true | ||
PA15.Signal=GPIO_Output | ||
PA5.Mode=Full_Duplex_Master | ||
PA5.Signal=SPI1_SCK | ||
PA6.Mode=Full_Duplex_Master | ||
PA6.Signal=SPI1_MISO | ||
PA7.Mode=Full_Duplex_Master | ||
PA7.Signal=SPI1_MOSI | ||
PA8.Locked=true | ||
PA8.Signal=GPIO_Output | ||
PB10.Locked=true | ||
PB10.Signal=GPIO_Output | ||
PB11.Locked=true | ||
PB11.Signal=GPIO_Output | ||
PB12.Locked=true | ||
PB12.Signal=GPIO_Output | ||
PB13.Locked=true | ||
PB13.Signal=GPIO_Output | ||
PB14.Locked=true | ||
PB14.Signal=GPIO_Output | ||
PB15.Locked=true | ||
PB15.Signal=GPIO_Output | ||
PB3.Locked=true | ||
PB3.Signal=GPIO_Output | ||
PB4.Locked=true | ||
PB4.Signal=GPIO_Output | ||
PB5.Locked=true | ||
PB5.Signal=GPIO_Output | ||
PB6.Locked=true | ||
PB6.Signal=GPIO_Output | ||
PB7.Locked=true | ||
PB7.Signal=GPIO_Output | ||
PB8.Locked=true | ||
PB8.Signal=GPIO_Output | ||
PB9.Locked=true | ||
PB9.Signal=GPIO_Output | ||
PinOutPanel.RotationAngle=0 | ||
ProjectManager.AskForMigrate=true | ||
ProjectManager.BackupPrevious=false | ||
ProjectManager.CompilerOptimize=6 | ||
ProjectManager.ComputerToolchain=false | ||
ProjectManager.CoupleFile=false | ||
ProjectManager.CustomerFirmwarePackage= | ||
ProjectManager.DefaultFWLocation=true | ||
ProjectManager.DeletePrevious=true | ||
ProjectManager.DeviceId=STM32F103C6Tx | ||
ProjectManager.FirmwarePackage=STM32Cube FW_F1 V1.8.5 | ||
ProjectManager.FreePins=false | ||
ProjectManager.HalAssertFull=false | ||
ProjectManager.HeapSize=0x200 | ||
ProjectManager.KeepUserCode=true | ||
ProjectManager.LastFirmware=true | ||
ProjectManager.LibraryCopy=1 | ||
ProjectManager.MainLocation=Core/Src | ||
ProjectManager.NoMain=false | ||
ProjectManager.PreviousToolchain= | ||
ProjectManager.ProjectBuild=false | ||
ProjectManager.ProjectFileName=ADAS.ioc | ||
ProjectManager.ProjectName=ADAS | ||
ProjectManager.ProjectStructure= | ||
ProjectManager.RegisterCallBack= | ||
ProjectManager.StackSize=0x400 | ||
ProjectManager.TargetToolchain=STM32CubeIDE | ||
ProjectManager.ToolChainLocation= | ||
ProjectManager.UAScriptAfterPath= | ||
ProjectManager.UAScriptBeforePath= | ||
ProjectManager.UnderRoot=true | ||
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_SPI1_Init-SPI1-false-HAL-true | ||
RCC.APB1Freq_Value=8000000 | ||
RCC.APB2Freq_Value=8000000 | ||
RCC.FamilyName=M | ||
RCC.IPParameters=APB1Freq_Value,APB2Freq_Value,FamilyName,PLLCLKFreq_Value,PLLMCOFreq_Value,TimSysFreq_Value | ||
RCC.PLLCLKFreq_Value=8000000 | ||
RCC.PLLMCOFreq_Value=4000000 | ||
RCC.TimSysFreq_Value=8000000 | ||
SPI1.CalculateBaudRate=4.0 MBits/s | ||
SPI1.Direction=SPI_DIRECTION_2LINES | ||
SPI1.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate | ||
SPI1.Mode=SPI_MODE_MASTER | ||
SPI1.VirtualType=VM_MASTER | ||
VP_SYS_VS_ND.Mode=No_Debug | ||
VP_SYS_VS_ND.Signal=SYS_VS_ND | ||
VP_SYS_VS_Systick.Mode=SysTick | ||
VP_SYS_VS_Systick.Signal=SYS_VS_Systick | ||
board=custom | ||
isbadioc=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
/* | ||
* LiquidCrystal.h | ||
* | ||
* Created on: Jul 6, 2024 | ||
* Author: sujit | ||
*/ | ||
|
||
#ifndef INC_LIQUIDCRYSTAL_H_ | ||
#define INC_LIQUIDCRYSTAL_H_ | ||
|
||
// commands | ||
#define LCD_CLEARDISPLAY 0x01 | ||
#define LCD_RETURNHOME 0x02 | ||
#define LCD_ENTRYMODESET 0x04 | ||
#define LCD_DISPLAYCONTROL 0x08 | ||
#define LCD_CURSORSHIFT 0x10 | ||
#define LCD_FUNCTIONSET 0x20 | ||
#define LCD_SETCGRAMADDR 0x40 | ||
#define LCD_SETDDRAMADDR 0x80 | ||
|
||
// flags for display entry mode | ||
#define LCD_ENTRYRIGHT 0x00 | ||
#define LCD_ENTRYLEFT 0x02 | ||
#define LCD_ENTRYSHIFTINCREMENT 0x01 | ||
#define LCD_ENTRYSHIFTDECREMENT 0x00 | ||
|
||
// flags for display on/off control | ||
#define LCD_DISPLAYON 0x04 | ||
#define LCD_DISPLAYOFF 0x00 | ||
#define LCD_CURSORON 0x02 | ||
#define LCD_CURSOROFF 0x00 | ||
#define LCD_BLINKON 0x01 | ||
#define LCD_BLINKOFF 0x00 | ||
|
||
// flags for display/cursor shift | ||
#define LCD_DISPLAYMOVE 0x08 | ||
#define LCD_CURSORMOVE 0x00 | ||
#define LCD_MOVERIGHT 0x04 | ||
#define LCD_MOVELEFT 0x00 | ||
|
||
// flags for function set | ||
#define LCD_8BITMODE 0x10 | ||
#define LCD_4BITMODE 0x00 | ||
#define LCD_2LINE 0x08 | ||
#define LCD_1LINE 0x00 | ||
#define LCD_5x10DOTS 0x04 | ||
#define LCD_5x8DOTS 0x00 | ||
|
||
|
||
// low-level functions | ||
void send(uint8_t, GPIO_PinState); | ||
void write4bits(uint8_t); | ||
void write8bits(uint8_t); | ||
void pulseEnable(void); | ||
|
||
// initializers | ||
void LiquidCrystal(GPIO_TypeDef *gpioport, uint16_t rs, uint16_t rw, uint16_t enable, | ||
uint16_t d0, uint16_t d1, uint16_t d2, uint16_t d3); | ||
|
||
void init(uint8_t fourbitmode, GPIO_TypeDef *gpioport, uint16_t rs, uint16_t rw, uint16_t enable, | ||
uint16_t d0, uint16_t d1, uint16_t d2, uint16_t d3, | ||
uint16_t d4, uint16_t d5, uint16_t d6, uint16_t d7); | ||
|
||
void begin(uint8_t cols, uint8_t rows); | ||
void enableClock(void); | ||
|
||
// high-level functions | ||
void clear(void); | ||
void home(void); | ||
|
||
void noDisplay(void); | ||
void display(void); | ||
void noBlink(void); | ||
void blink(void); | ||
void noCursor(void); | ||
void cursor(void); | ||
void scrollDisplayLeft(void); | ||
void scrollDisplayRight(void); | ||
void leftToRight(void); | ||
void rightToLeft(void); | ||
void autoscroll(void); | ||
void noAutoscroll(void); | ||
size_t print(const char []); | ||
|
||
void setRowOffsets(int row1, int row2, int row3, int row4); | ||
void createChar(uint8_t, uint8_t[]); | ||
void setCursor(uint8_t, uint8_t); | ||
size_t write(uint8_t); | ||
void command(uint8_t); | ||
|
||
#endif /* INC_LIQUIDCRYSTAL_H_ */ |
Oops, something went wrong.