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

📄 variable_globale.h

📁 Who to use ECAN network with dsPIC33F, Microchip microcontroller.
💻 H
字号:
/** *****************************************
           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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -