main.c
来自「MDK环境下CAN通信实验源码包fors3c2410,含有测试程序」· C语言 代码 · 共 34 行
C
34 行
/*********************************************************************************************
* File: main.c
* Author: embest
* Desc: c main entry file for the IO port test
* History:
*********************************************************************************************/
/*------------------------------------------------------------------------------------------*/
/* includes files */
/*------------------------------------------------------------------------------------------*/
#include "2410lib.h"
#include "def.h"
#include "sja1000_peli.h"
/*********************************************************************************************
* name: main
* func: c code entry
* para: none
* ret: none
* modify:
* comment:
*********************************************************************************************/
void main(void)
{
char status;
sys_init(); // Initial 44B0X's Interrupt,Port and UART
// initialize the 8led-function first of ZLG7290 (more to see ZLG7290.pdf)
// present the invalid sign generated while keyboard-function
// Initialize iic
// Enable interrupt
// lcd_init(); // initial LCD controller
// lcd_clr(); // clear screen
can_test();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?