LIN Middleware
mtb_stc_lin_signal_t Struct Reference

Description

Signal config structure.

Data Fields

l_u8 handle
 Specifies the signal handle. More...
 
l_u8 frame_index
 Specifies the frame in which a signal will be located.
 
l_u8 bit_offset
 Defined the position of the signal in the frame (number of bits in offset from the first bit in the frame). More...
 
mtb_stc_lin_signal_type_t type
 Specifies the type of the signal. More...
 
l_u8 size
 Sets the size of signal. More...
 

Field Documentation

◆ handle

l_u8 mtb_stc_lin_signal_t::handle

Specifies the signal handle.

The same signal packed into multiple frames have the same handle value. Used as an input for the signal interaction function.

◆ bit_offset

l_u8 mtb_stc_lin_signal_t::bit_offset

Defined the position of the signal in the frame (number of bits in offset from the first bit in the frame).

For a byte array, both size and offset must be multiples of eight.

◆ type

mtb_stc_lin_signal_type_t mtb_stc_lin_signal_t::type

Specifies the type of the signal.

Refer to mtb_stc_lin_signal_type_t

◆ size

l_u8 mtb_stc_lin_signal_t::size

Sets the size of signal.

The allowable signal size depends on the signal type mtb_stc_lin_signal_type_t