event.c

来自「freescale芯片9s12dp256的示例程序」· C语言 代码 · 共 22 行

C
22
字号
#include <mc9s12c32.h>     /* derivative information */
#include "can.h"
#include "io.h"
#include "pwm.h"
#include "sci.h"
#include "timer.h"
#include "event.h"

void TIM_OnInterrupt(void)
{
  PORTB++;
}
  dword messageID;
  byte frametype;
  byte frameformat;  
  byte length;
  byte data[8];
void CAN_OnFullRxBuffer()
{
   CAN_ReadFrame(&messageID,&frametype,&frameformat,&length,data);
}
    

⌨️ 快捷键说明

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