资源简介

英飞凌TC26X GPT12模块定时器DEMO 定时器中断,可以直接使用

资源截图

代码片段和文件信息

/**
 * \file Cpu0_Main.c
 * \brief System initialisation and main program implementation.
 *
 * \version iLLD_Demos_1_0_0_8_0
 * \copyright Copyright (c) 2013 Infineon Technologies AG. All rights reserved.
 *
 *
 *                                 IMPORTANT NOTICE
 *
 *
 * Infineon Technologies AG (Infineon) is supplying this file for use
 * exclusively with Infineon‘s microcontroller products. This file can be freely
 * distributed within development tools that are supporting such microcontroller
 * products.
 *
 * THIS SOFTWARE IS PROVIDED “AS IS“.  NO WARRANTIES WHETHER EXPRESS IMPLIED
 * OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
 * INFINEON SHALL NOT IN ANY CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL
 * OR CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
 */

/******************************************************************************/
/*----------------------------------Includes----------------------------------*/
/******************************************************************************/

#include “Cpu0_Main.h“
#include “SysSe/Bsp/Bsp.h“
#include “Gpt12Demo.h“

/******************************************************************************/
/*------------------------Inline Function Prototypes--------------------------*/
/******************************************************************************/

/******************************************************************************/
/*-----------------------------------Macros-----------------------------------*/
/******************************************************************************/

/******************************************************************************/
/*------------------------Private Variables/Constants-------------------------*/
/******************************************************************************/

/******************************************************************************/
/*------------------------------Global variables------------------------------*/
/******************************************************************************/
App_Cpu0 g_AppCpu0; /**< \brief CPU 0 global data */

/******************************************************************************/
/*-------------------------Function Implementations---------------------------*/
/******************************************************************************/

/** \brief Main entry point after CPU boot-up.
 *
 *  It initialise the system and enter the endless loop that handles the demo
 */
int main(void)
{
    /* standard PLL & clock initialisation */
    IfxScuCcu_init(&IfxScuCcu_defaultClockConfig);

    /*
     * !!WATCHDOG0 AND SAFETY WATCHDOG ARE DISABLED HERE!!
     * Enable the watchdog in the demo if it is required and also service the watchdog periodically
     * */
    IfxScuWdt_disableCpuWatchdog(

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      18838  2017-02-05 13:38  Gpt12Demo\.cproject

     文件        577  2017-02-05 11:25  Gpt12Demo\.project

     文件       1905  2017-02-05 11:25  Gpt12Demo\Configuration.h

     文件       3367  2017-02-05 11:25  Gpt12Demo\ConfigurationIsr.h

     文件       3825  2017-02-05 11:25  Gpt12Demo\Cpu0_Main.c

     文件       2651  2017-02-05 11:25  Gpt12Demo\Cpu0_Main.h

     文件      71522  2017-02-05 11:25  Gpt12Demo\cstart.c

     文件      12147  2017-02-05 11:25  Gpt12Demo\cstart.h

     文件      13606  2017-02-05 13:36  Gpt12Demo\Debug\.Cpu0_Main.o.d

     文件        960  2017-02-05 13:36  Gpt12Demo\Debug\.Cpu0_Main.o.opt

     文件        351  2017-02-05 13:36  Gpt12Demo\Debug\.cstart.o.d

     文件        948  2017-02-05 13:36  Gpt12Demo\Debug\.cstart.o.opt

     文件      22840  2017-02-05 13:38  Gpt12Demo\Debug\.Gpt12Demo.elf.d

     文件       9661  2017-02-05 13:37  Gpt12Demo\Debug\.Gpt12Demo.elf.opt

     文件      14968  2017-02-05 13:36  Gpt12Demo\Debug\.Gpt12Demo.o.d

     文件        960  2017-02-05 13:36  Gpt12Demo\Debug\.Gpt12Demo.o.opt

     文件        255  2017-02-05 13:36  Gpt12Demo\Debug\.sync_on_halt.o.d

     文件        972  2017-02-05 13:36  Gpt12Demo\Debug\.sync_on_halt.o.opt

     文件       4681  2017-02-05 13:38  Gpt12Demo\Debug\console.log

     文件     107156  2017-02-05 13:36  Gpt12Demo\Debug\Cpu0_Main.o

     文件     969500  2017-02-05 13:36  Gpt12Demo\Debug\Cpu0_Main.src

     文件      32892  2017-02-05 13:36  Gpt12Demo\Debug\cstart.o

     文件     153692  2017-02-05 13:36  Gpt12Demo\Debug\cstart.src

     文件    1299124  2017-02-05 13:38  Gpt12Demo\Debug\Gpt12Demo.elf

     文件     564925  2017-02-05 13:38  Gpt12Demo\Debug\Gpt12Demo.mapxml

     文件       4472  2017-02-05 13:38  Gpt12Demo\Debug\Gpt12Demo.mdf

     文件     126552  2017-02-05 13:36  Gpt12Demo\Debug\Gpt12Demo.o

     文件    3151309  2017-02-05 13:36  Gpt12Demo\Debug\Gpt12Demo.src

     文件       7728  2017-02-05 13:36  Gpt12Demo\Debug\makefile

     文件        105  2017-02-05 13:36  Gpt12Demo\Debug\PinMapper\.aurix_pin_mappings.o.d

............此处省略1377个文件信息

评论

共有 条评论