代码搜索结果
找到约 406,141 项符合
CAN Bus 的代码
can.h
// Can.h Class defining a cylindrical can of a given height and diameter
#ifndef CAN_H
#define CAN_H
#include "Vessel.h"
class Can : public Vessel {
public:
Can(double canDiameter, dou
can.cpp
// Can.cpp
#include "Can.h"
Can::Can(double canDiameter, double canHeight) :
diameter(canDiameter), height(canHeight) {}
// Function to calculate the volu
can模块修改.txt
1、<mark>CAN</mark>报文缓冲区修改为10
2、在<mark>CAN</mark>接收中断中设置新报文接收标志位:rec_flag,有新报文进入中断时置1
3、在主函数查询中进行<mark>CAN</mark>报文接收:接收报文时屏蔽<mark>CAN</mark>接收中断,处理完毕后开启<mark>CAN</mark>接收中断,并在此中间进行数据赋值
4、对<mark>CAN</mark>接收中断函数修改,只使用<mark>CAN</mark>1(不判断其他<mark>CAN</mark>总线,2194为4路,屏蔽其他3路) ...
can.h
//CAN0接收中断
__interrupt void CAN0_Receive(void)
{
UINT i = 0;
static uchar led_count = 0;
Recv_Over_Flag[0] = 0;
led_count++;
if(led_count < 50)
CAN
can.c
#include "can.h"
#include "dsp56f805_io.h"
#define CAN_BUFFER_LNG 64
/* done by William Jiang (a13984@motorola.com) */
/* Vesion 2.0 */
static int rx_buffer[CAN_BUFFER_LNG];
static int *
bus.plg
Build Log
--------------------Configuration: bus - Win32 Debug--------------------
Command Lines
Creating command line "rc.exe /l 0x804 /fo"Deb
can.d
.\obj\can.o: can.c
.\obj\can.o: includes.h
.\obj\can.o: c:\Keil\ARM\INC\Philips\LPC23xx.h
.\obj\can.o: type.h
.\obj\can.o: irq.h
.\obj\can.o: can.h
can.c
/*****************************************************************************
* can.c: CAN module API file for NXP LPC23xx/24xx Family Microprocessors
*
* Copyright(C) 2006, NXP Semiconduct
can.h
/*****************************************************************************
* can.h: Header file for NXP LPC230x Family Microprocessors
*
* Copyright(C) 2006, NXP Semiconductor
* All
can-18b20_cof.aps
can-18b20_cof11-Oct-2005 15:32:1013-Oct-2005 20:54:50Object.bmp1