📄 int.c
字号:
#include <mc9s12xep100.h> /* derivative information */
#include "int.h"
/*****************************************************************************/
/********* INTERRUPT SERVICE ROUTINES ***********/
/*****************************************************************************/
#pragma CODE_SEG __NEAR_SEG NON_BANKED
/******************************************************************************
Function Name : PIT0 Interrupt Service Routine
Engineer :
Date :
Parameters : NONE
Returns : NONE
Notes : Increments the bits on PORTA
******************************************************************************/
interrupt void PIT0_ISR(void)
{
char portValue;
/* Clear PIT interrupt */
PITTF = 0x01;
/* Increment the bits on PORTA */
PORTA += 1;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -