canuser.h

来自「用PIC18F2580完成A/D采集,CAN总线数据读取」· C头文件 代码 · 共 108 行

H
108
字号
/*********************************************************************
 * 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 + =
减小字号Ctrl + -
显示快捷键?