CL2.GetReceiveErrorCounter (FUN)
             
            
            
                
               
               This function of the  
                     
                        ⇘
                      CAA_CanL2.library returns the current value of the receive error counter.
               
                   
                  Input:
                  
                     
                        
                        
                        
                     
                     
                        
                           | 
                               hDriver 
                            | 
                           
                               CAA.HANDLE 
                            | 
                           
                               handle of driver 
                            | 
                        
                        
                           | 
                               peError 
                            | 
                           
                               POINTER TO CL2.ERROR 
                            | 
                           
                               pointer to error code (enumeration type) 
                            | 
                        
                     
                  
                
               
                   
                  Output:
                  
                     
                        
                        
                        
                     
                     
                        
                           | 
                               ctRxErrorCounter 
                            | 
                           
                               CAA.COUNT 
                            | 
                           
                               value of receive error counter 
                            |