# AURIX_code_examples
**Repository Path**: sllcould/AURIX_code_examples
## Basic Information
- **Project Name**: AURIX_code_examples
- **Description**: https://github.com/Infineon/AURIX_code_examples
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 0
- **Created**: 2022-09-15
- **Last Updated**: 2024-11-14
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Code Examples for AURIX™ Development Studio
Hundreds of code examples are available for AURIX™ devices in this repository.
Each code example is made up of two parts: the **[source code](#source-code)** and the corresponding **[tutorial](#tutorial)**.
To import a code example into AURIX™ Development Studio, follow the guide at the [end on this page](#how-to-import).
**NOTE:** For any question or request, please use the dedicated [Infineon AURIX™ forum](https://community.infineon.com/t5/AURIX/bd-p/AURIX).
## Topics
The topics covered by the code examples stored in this repository are the following, divided per macro category:
| Communication Protocols | Data Handling | Timers | Analog/Digital Signals | CPU Management | Alarms, Interrupts and Resets |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| ASCLIN module handling for LIN, UART and SPI | Flexible CRC Engine control | Capture and Compare Unit control | Versatile Analog-to-Digital converter control | Assembly code execution | Device Reset type trigger and detection |
| Ethernet communication | Input-Output Monitor control | Clock System | Delta-Sigma Analog-to-Digital converter control | Code execution from SRAM | Interrupt handling |
| I2C communication | BUS register protection | General Purpose Timer control | GPIO port control | Performance registers usage | Safety Management Unit control |
| CAN communication | Memory Protection control | Generic Timer Module control | | Power Management System control | |
| SPI communication | Data and Program Flash programming | System Timer Module control | | Multicore | |
| | DMA control | | | Trap recognition | |
| | Memory test | | | Watchdog handling | |
## Source code
The source code of each code example is based on Infineon Low Level Drivers (iLLDs), for which the documentation can be found on the top right of [this webpage](https://www.infineon.com/aurix-expert-training).
Each code example is provided with a comment section called "metadata" in the Cpu0_Main.c file, which include:
- **Title**: the title of the code example
- **Abstract**: a short description of the example’s scope
- **Description**: a detailed description of the example’s scope
- **Name**: the example’s univocal name
- **Version**: the version number of the example (*V<major changes>.<minor changes>.<bugfixes>* e.g. V1.0.2)
- **Board**: a list of boards supported by the code
- **Keywords**: a list of keywords used to ease the search
- **Documents**: a list of links to documents useful for the code example
- **Last Updated**: date of the last modification
e.g.:
### Name
The name of each code example follows a specific naming scheme:
<Code name>_<ID number>_<Board short name>
e.g. : ADC_Filtering_1_KIT_TC375_LK
where:
- The **code name** summarizes in a couple of words the scope and the module used in the example
- The **ID number** is an identification number for the example scope (If the same scope would be achieved using different code, then the two code examples would be called _1 and _2 in order to differentiate them)
- The **board short name** describes which board the example code has been developed for (using board-specific port pins such as LED, communication, etc.)
### Board
The code examples supports the following types of boards:


