LIN Middleware
mtb_stc_lin_frame_t Struct Reference

Description

Frame config structure.

The MRF and SRF do not require instances of the structure defined.

Data Fields

l_u8 initial_pid
 Specifies the default frame PID that the frame will use before any configuration requests by the master.
 
mtb_stc_lin_frame_direction_t direction
 Specifies the direction of the frame.
 
l_u8 size
 Sets the size of the frame in bytes.
 
mtb_stc_lin_frame_type_t type
 Specifies the type of the frame.
 
volatile l_u8data
 The pointer to the array, in which the frame data is located.
 
l_u8 associated_frame_index
 Associate unconditional frames with event-triggered frames. More...
 
l_u16 initial_message_id
 Sets the initial message ID value. More...
 

Field Documentation

◆ associated_frame_index

l_u8 mtb_stc_lin_frame_t::associated_frame_index

Associate unconditional frames with event-triggered frames.

An event-triggered frame must have at least one unconditional frame that is associated with it, according to the LIN specification. Only one unconditional frame can be associated with an event-triggered frame. An event-triggered frame that is associated with an unconditional frame must have the same length and direction as the unconditional frame with which it is associated.

Note
Only applicable for event-triggered frames.

◆ initial_message_id

l_u16 mtb_stc_lin_frame_t::initial_message_id

Sets the initial message ID value.

Note
Only applicable for LIN 2.0 specification.