⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.c

📁 飞思卡尔单片机MC9S08AW60 RTI部分操作源码。验证通过。
💻 C
字号:
#include <hidef.h> /* for EnableInterrupts macro */
#include "derivative.h" /* include peripheral declarations */

#include "RTI.h"
void MCU_init(void) /* Device initialization function declaration */
{
  RTI_Init();
  /* ### Init_GPIO init code */
  /* PTFDD: PTFDD0=1 */
  PTFDD |= (unsigned char)0x01;   
}

void main(void) 
{

  /* Uncomment this function call after using Device Initialization
     to use the generated code */
  MCU_init();

  EnableInterrupts; /* enable interrupts */

  /* include your code here */



  for(;;) 
  {
    __RESET_WATCHDOG(); /* feeds the dog */
  } /* loop forever */
  /* please make sure that you never leave this function */
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -