S32 SDK
lin_common.c File Reference
#include "lin_driver.h"

Go to the source code of this file.

Functions

static uint8_t BIT (uint8_t A, uint8_t B)
 
uint8_t LIN_DRV_ProcessParity (uint8_t PID, uint8_t typeAction)
 Makes or checks parity bits. If action is checking parity, the function returns ID value if parity bits are correct or 0xFF if parity bits are incorrect. If action is making parity bits, then from input value of ID, the function returns PID. This is not a public API as it is called by other API functions. More...
 
uint8_t LIN_DRV_MakeChecksumByte (const uint8_t *buffer, uint8_t sizeBuffer, uint8_t PID)
 Makes the checksum byte for a frame. More...
 

Function Documentation

static uint8_t BIT ( uint8_t  A,
uint8_t  B 
)
inlinestatic

Definition at line 42 of file lin_common.c.