2.124.33 USARTx_LIN_ChecksumEnable Function

C

/* x = USART instance number */

/* Blocking and Ring buffer mode */
void USARTx_LIN_ChecksumEnable(bool checksumEnable)

Summary

This API allows the application to Enable/Disable checksum during data transfer.

Description

This API allows the application to Enable/Disable checksum during data transfer.

Precondition

USARTx_Initialize must have been called for the associated USART instance.

Parameters

ParamDescription
checksumEnableEnable/Disable checksum

true - checksum Enabled

false - checksum Disabled

Returns

None

Example

                
/* LIN hardware checksum is Enabled*/
USART0_LIN_ChecksumEnable(true);

Remarks

None