MTB CAT1 Peripheral driver library
cy_stc_lin_test_error_config_t Struct Reference

Description

LIN Error CTL configuration Used only for software testing.

It enables HW injected channel transmitter errors. The receiver should detect these errors and report these errors through activation of corresponding interrupt causes.

Data Fields

uint8_t chidx
 Specifies the channel index of the channel to which the test applies. More...
 
bool txsync_error
 At the receiver, this should result in INTR.RX_HEADER_SYNC_ERROR activation. More...
 
bool txsyncStop_error
 At the receiver, this should result in INTR.RX_HEADER_SYNC_ERROR or INTR.RX_HEADER_FRAME_ERROR activation. More...
 
bool txParity_error
 At the receiver, this should result in INTR.RX_HEADER_PARITY_ERROR activation. More...
 
bool txPIDStop_error
 At the receiver, this should result in INTR.RX_HEADER_FRAME_ERROR activation. More...
 
bool txDataStop_error
 At the receiver, this should result in INTR.RX_RESPONSE_FRAME_ERROR activation. More...
 
bool txChecksum_error
 At the receiver, this should result in INTR.RX_RESPONSE_CHECKSUM_ERROR activation. More...
 
bool txChecksumStop_error
 At the receiver, this should result in INTR.RX_RESPONSE_FRAME_ERROR activation. More...
 

Field Documentation

◆ chidx

uint8_t cy_stc_lin_test_error_config_t::chidx

Specifies the channel index of the channel to which the test applies.

The test mode allows BOTH of the two connected channels to be tested.

◆ txsync_error

bool cy_stc_lin_test_error_config_t::txsync_error

At the receiver, this should result in INTR.RX_HEADER_SYNC_ERROR activation.

◆ txsyncStop_error

bool cy_stc_lin_test_error_config_t::txsyncStop_error

At the receiver, this should result in INTR.RX_HEADER_SYNC_ERROR or INTR.RX_HEADER_FRAME_ERROR activation.

◆ txParity_error

bool cy_stc_lin_test_error_config_t::txParity_error

At the receiver, this should result in INTR.RX_HEADER_PARITY_ERROR activation.

◆ txPIDStop_error

bool cy_stc_lin_test_error_config_t::txPIDStop_error

At the receiver, this should result in INTR.RX_HEADER_FRAME_ERROR activation.

◆ txDataStop_error

bool cy_stc_lin_test_error_config_t::txDataStop_error

At the receiver, this should result in INTR.RX_RESPONSE_FRAME_ERROR activation.

◆ txChecksum_error

bool cy_stc_lin_test_error_config_t::txChecksum_error

At the receiver, this should result in INTR.RX_RESPONSE_CHECKSUM_ERROR activation.

◆ txChecksumStop_error

bool cy_stc_lin_test_error_config_t::txChecksumStop_error

At the receiver, this should result in INTR.RX_RESPONSE_FRAME_ERROR activation.