代码搜索结果
找到约 10,000 项符合
CAN Bus 的代码
cg_mom_to_can.m
function pot = cg_mom_to_can(pot)
% CG_MOM_TO_CAN Convert a CG potential from moment to canonical form, if necessary.
% pot = cg_mom_to_can(pot)
if pot.subtype ~= 'c'
for i=1:pot.dsize
pot.can{
cg_can_to_mom.m
function pot = cg_can_to_mom(pot)
% CG_CAN_TO_MOM Convert a CG potential from canonical to moment form, if necessary.
% pot = cg_can_to_mom(pot)
if pot.subtype ~= 'm'
for i=1:pot.dsize
pot.mom{
75x_can.h
/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
* File Name : 75x_can.h
* Author : MCD Application Team
* Date First Issued : 03/10/2006 : V0.
75x_can.c
/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
* File Name : 75x_can.c
* Author : MCD Application Team
* Date First Issued : 03/10/2006 : V0.
mul_can_t.c
////////多消息can发送程序//////////
///////mul_can_t.c/////////////////
#include "candeal1.h"
#define LEN 8
void canini(){
clear_msg_objects();
init_msg_object_RX (0x04,1);//初始化发送
init_msg_object_T
mul_can_r.c
///////////多消息can接收程序////////////////
/////////mul_can_r.c///////////////////////
#include "candeal1.h"
#define LEN 8
#define MSGNUMA 2
#define MSGNUMB 5
#define NUMAPEND 0x0002
#define NUMBPEN
2can_r.c
///////can 单消息接收程序////////////
////////2can_r.c///////////////
#include "candeal0.h"
void canini(){
clear_msg_objects();
init_msg_object_RX (0x04,2);//初始化发送
init_msg_object_TX (0x02,1);
EIE
2can_t.c
//////can 单消息发送程序////////////////
///////2can_t.c////////////////////////
#include "candeal0.h"
void canini(){
clear_msg_objects();
init_msg_object_RX (0x04,1);//初始化发送
init_msg_object_TX (0x0
remote_can_t.c
//////////////远程帧控制发送程序///////////////
////////////remote_can_t.c/////////////////////
#include "candeal2.h"
#define LEN 8
#define MSGNUMA 2
#define MSGNUMB 5
#define NUMAPEND 0x0002
#define NU
remote_can_r.c
/////////远程帧控制接收程序/////////////////////
//////////remote_can_r.c///////////////////////
#include "candeal2.h"
#define LEN 8
#define MSGNUMA 2
#define MSGNUMB 5
#define NUMAPEND 0x0002
#define N