代码搜索结果
找到约 10,000 项符合
CAN Bus 的代码
test_can.c
#include "f2407_c.h" // 引用头部文件
int CAN_FLAG; // 定义标志寄存器
void sytem_init(); // 声明在程序中需要用到的函数
void CANMBX_ISR();
void CAN_INIT();
void inline disable() /
arm_can_a.c
//中断设备程序的编写
//1.编译开关:
//gcc -O2 -D__KERNEL__ -DMODULE -I/usr/src/linux/include -c example.c -o example.o
//2.加载模快:
// insmod example.o
//3.卸载模快:
// rmmod
/************************* cana中断处理程序 ***
can505.hex
:02333F002B65FC
:023346002A203B
:02334D00318EBF
:023354002C4407
:02335B00309FA1
:013341000388
:013348000084
:01334F00007D
:013356000076
:01335D00006F
:013342000387
:013349000083
:013350000
can505.ini
load mon51.dll
load can505
g,main
can505.prj
[A51]
Print=Yes
Symbols=Yes
Cond=Yes
Xref=No
Gen=No
PageWidth=120
PageLength=60
Debug=Yes
MOD51=Yes
Reg0=No
Reg1=No
Reg2=No
Reg3=No
NoLines=No
Macro=1
Set=
[C51]
Print=Yes
Symbols
up-can.h
#ifndef __UP_CAN_H__
#define __UP_CAN_H__
#define UPCAN_IOCTRL_SETBAND 0x1 //set can bus band rate
#define UPCAN_IOCTRL_SETID 0x2 //set can frame id data
#define UPCAN_IOCTRL_SETLPBK 0x3 //se
can2.c
/* can2.c - IIR filtering in canonical form */
double dot();
void delay();
double can2(M, a, L, b, w, x) /* usage: y = can2(M, a, L, b, w, x); */
double *a, *b, *w, x;
int M, L;
{
can3.c
/* can3.c - IIR filtering in canonical form, emulating a DSP chip */
double can3(M, a, b, w, x) /* usage: y = can3(M, a, b, w, x); */
double *a, *b, *w, x; /* \(w\)