variable_globale.h
来自「Who to use ECAN network with dsPIC33F, M」· C头文件 代码 · 共 41 行
H
41 行
/** *****************************************
VARIABLE_GLOBALE.H
***************************************** **/
#ifndef _VAR_GLOB_H_
#define _VAR_GLOB_H_
#include "constante.h"
#include "carte.h"
#include "ECAN1Drv.h"
//D閏laration des variables globales (pour IT)
extern volatile unsigned char reception_ecan;
extern volatile mID rx_ecan1message;
extern volatile double temps_timer1;
extern volatile double temps_timer1_ms;
extern volatile unsigned int inc; /* Compte les interruptions */ extern volatile unsigned int inc_servo_0; /* Comparaison inc_0 pour servo_0 */ extern volatile unsigned int inc_servo_1;
extern volatile unsigned int voulue;
extern volatile unsigned int pos_value;
extern volatile unsigned int inc_moteur;
extern volatile unsigned int inc2_moteur;
extern volatile double vitesse;
extern volatile double points_actuels;
extern volatile double points_voulus;
extern volatile double points_objectif;
extern volatile double consigne_vit_moteur;
extern volatile double sv_points;
extern volatile double capteur_distance;
// Define ECAN Message Buffers
extern volatile ECAN1MSGBUF ecan1msgBuf __attribute__((space(dma),aligned(ECAN1_MSG_BUF_LENGTH*16)));
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?