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

📄 main.c

📁 MDK环境下CAN通信实验源码包fors3c2410,含有测试程序
💻 C
字号:
/*********************************************************************************************
* 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -