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

📄 canuser.h

📁 用PIC18F2580完成A/D采集,CAN总线数据读取
💻 H
字号:
/*********************************************************************
 * Function:        void CanSendAnalog(void)
 *
 * PreCondition:     
 *
 * Input:       	none
 *                  
 * Output:      	none
 *
 * Side Effects:  		
 *
 * Overview:        Send the collect data to the top computer.
 *					
 * Note:          	Data include voltage and temperature.
 ********************************************************************/
extern void CanSendAnalog(void);
/*********************************************************************
 * Function:        void CanReciveConfig(void)
 *
 * PreCondition:   	Data should have been received prior to calling 
 *					this function; otherwise, it is likely the returned
 *					count is either not valid or associated to the 
 *					previous message. Use CANIsRxRdy() to determine if 
 *					data is available.  
 *
 * Input:       	none
 *                  
 * Output:      	none
 *
 * Side Effects:  		
 *
 * Overview:        Top computer configure the collect board address.
 *					
 * Note:          	
 ********************************************************************/
extern void CanReciveConfig(void);
/*********************************************************************
 * Function:        void CanSendConfig(void)
 *
 * PreCondition:    The configure message has received.  
 *
 * Input:       	none
 *                  
 * Output:      	none
 *
 * Side Effects:  		
 *
 * Overview:        Send the configure message to Top computer.
 *					
 * Note:          	
 ********************************************************************/
extern void CanSendConfig(void);
/*********************************************************************
 * Function:        void CanReceiveFixedValue()	
 *
 * PreCondition:    The configure message has received.  
 *
 * Input:       	none
 *                  
 * Output:      	none
 *
 * Side Effects:  		
 *
 * Overview:        单体电池电压与两路温度系数
 *					
 * Note:          	
 ********************************************************************/
extern void CanReceiveFixedValue(void);
/*********************************************************************
 * Function:        CanSendFixedValue(void)
 *
 * PreCondition:    The configure message has received.  
 *
 * Input:       	none
 *                  
 * Output:      	none
 *
 * Side Effects:  		
 *
 * Overview:        Send the configure Cell protect message to the top
 *					computer.
 *					
 * Note:          	
 ********************************************************************/
extern void CanSendFixedValue(void);
/*********************************************************************
 * Function:        void CanSendFixedValue(unsigned char Functioncode)
 *
 * PreCondition:    The configure message has received.  
 *
 * Input:       	none
 *                  
 * Output:      	none
 *
 * Side Effects:  		
 *
 * Overview:        Send the configure Cell protect message to the top
 *					computer.
 *					
 * Note:          	
 ********************************************************************/
extern void CanFunction(unsigned char Functioncode);





⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -