Skip to content

Commit

Permalink
Merge pull request #15 from julisNew/julis_KIT_TC277_TFT_SENT_TLE4998S4
Browse files Browse the repository at this point in the history
readme file and project code
  • Loading branch information
9Volts9er authored Nov 21, 2024
2 parents 0a34ec9 + f616793 commit 8cc95b8
Show file tree
Hide file tree
Showing 521 changed files with 428,587 additions and 0 deletions.
Binary file added Linear-Sensors/Aurix/Images/ads.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Linear-Sensors/Aurix/Images/hardware.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Linear-Sensors/Aurix/Images/waveform.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
386 changes: 386 additions & 0 deletions Linear-Sensors/Aurix/KIT_TC277_TFT_SENT_TLE4998S4/.cproject

Large diffs are not rendered by default.

927 changes: 927 additions & 0 deletions Linear-Sensors/Aurix/KIT_TC277_TFT_SENT_TLE4998S4/.exportedSettings

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions Linear-Sensors/Aurix/KIT_TC277_TFT_SENT_TLE4998S4/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>KIT_TC277_TFT_SENT_TLE4998S4</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.infineon.aurix.buildsystem.builders.booster</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.infineon.aurix.buildsystem.builders.autodiscovery</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<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>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>com.infineon.aurix.buildsystem.aurixnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
AURIX-LIBRARY-PATH=Libraries/iLLD\#Libraries/Infra\#Libraries/Service
DEVICE-ID=TC27D
DEVICE-ID-FULL=TC27xTP_D-Step
ILLD-SET=full
LIBRARIES-ROOT-PATH=Libraries
NEVER-EXCLUDE-FROM-BUILD=/Libraries/iLLD/TC27D/Tricore/Cpu/CStart\#/Libraries/iLLD/TC27D/Tricore/Cpu/Trap\#/Configurations\#/Configurations/Debug
PROJECT-VERSION=1.0
aurixDevice=TC27xTP_D-Step
aurixPlatform=KIT_AURIX_TC277_TFT_DC-Step
eclipse.preferences.version=1
projectName=Blinky_LED_1_KIT_TC277_TFT
58 changes: 58 additions & 0 deletions Linear-Sensors/Aurix/KIT_TC277_TFT_SENT_TLE4998S4/Blinky_LED.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/**********************************************************************************************************************
* \file Blinky_LED.c
* \copyright Copyright (C) Infineon Technologies AG 2019
*
* Use of this file is subject to the terms of use agreed between (i) you or the company in which ordinary course of
* business you are acting and (ii) Infineon Technologies AG or its licensees. If and as long as no such terms of use
* are agreed, use of this file is subject to following:
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and
* accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute,
* and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the
* Software is furnished to do so, all subject to the following:
*
* The copyright notices in the Software and this entire statement, including the above license grant, this restriction
* and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all
* derivative works of the Software, unless such copies or derivative works are solely in the form of
* machine-executable object code generated by a source language processor.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
* COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*********************************************************************************************************************/

/*********************************************************************************************************************/
/*-----------------------------------------------------Includes------------------------------------------------------*/
/*********************************************************************************************************************/
#include "IfxPort.h"
#include "Bsp.h"

/*********************************************************************************************************************/
/*------------------------------------------------------Macros-------------------------------------------------------*/
/*********************************************************************************************************************/
#define LDE_P33P7 &MODULE_P33,11 /* LED D107: Port, Pin definition */
#define WAIT_TIME 500 /* Wait time constant in milliseconds */

/*********************************************************************************************************************/
/*---------------------------------------------Function Implementations----------------------------------------------*/
/*********************************************************************************************************************/
/* This function initializes the port pin which drives the LED */
void initLED(void)
{
/* Initialization of the LED used in this example */
IfxPort_setPinModeOutput(LDE_P33P7, IfxPort_OutputMode_pushPull, IfxPort_OutputIdx_general);

/* Switch OFF the LED (low-level active) */
IfxPort_setPinHigh(LDE_P33P7);
}

/* This function toggles the port pin and wait 500 milliseconds */
void blinkLED(void)
{
IfxPort_togglePin(LDE_P33P7); /* Toggle the state of the LED */
waitTime(IfxStm_getTicksFromMilliseconds(BSP_DEFAULT_TIMER, WAIT_TIME)); /* Wait 500 milliseconds */
}
37 changes: 37 additions & 0 deletions Linear-Sensors/Aurix/KIT_TC277_TFT_SENT_TLE4998S4/Blinky_LED.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/**********************************************************************************************************************
* \file Blinky_LED.h
* \copyright Copyright (C) Infineon Technologies AG 2019
*
* Use of this file is subject to the terms of use agreed between (i) you or the company in which ordinary course of
* business you are acting and (ii) Infineon Technologies AG or its licensees. If and as long as no such terms of use
* are agreed, use of this file is subject to following:
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and
* accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute,
* and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the
* Software is furnished to do so, all subject to the following:
*
* The copyright notices in the Software and this entire statement, including the above license grant, this restriction
* and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all
* derivative works of the Software, unless such copies or derivative works are solely in the form of
* machine-executable object code generated by a source language processor.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
* COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*********************************************************************************************************************/

#ifndef BLINKY_LED_H_
#define BLINKY_LED_H_

/*********************************************************************************************************************/
/*------------------------------------------------Function Prototypes------------------------------------------------*/
/*********************************************************************************************************************/
void initLED(void);
void blinkLED(void);

#endif /* BLINKY_LED_H_ */
Loading

0 comments on commit 8cc95b8

Please sign in to comment.