Struct SYN_LINTP_Link¶
LIN TP Link Context structure.
#include <syn_lintp.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | nad |
| uint8_t | padding_byte |
| uint8_t * | rx_buf |
| size_t | rx_buf_size |
| bool | rx_completed |
| uint8_t | rx_nad |
| size_t | rx_offset |
| uint8_t | rx_sn |
| SYN_LINTP_State | rx_state |
| uint32_t | rx_timer_ms |
| size_t | rx_total_len |
| uint32_t | timer_n_as_ms |
| uint32_t | timer_n_cr_ms |
| const uint8_t * | tx_buf |
| uint8_t | tx_frame |
| bool | tx_frame_pending |
| uint8_t | tx_nad |
| size_t | tx_offset |
| uint8_t | tx_sn |
| SYN_LINTP_State | tx_state |
| uint32_t | tx_timer_ms |
| size_t | tx_total_len |
Public Attributes Documentation¶
variable nad¶
Configured target/local Node Address (1..0x7D)
variable padding_byte¶
Unused byte fill value (default 0xFF)
variable rx_buf¶
Pointer to user RX buffer
variable rx_buf_size¶
Capacity of user RX buffer
variable rx_completed¶
True when a complete message is ready to consume
variable rx_nad¶
NAD of active received message
variable rx_offset¶
Bytes received so far
variable rx_sn¶
Next expected sequence number (1..15, mod 16)
variable rx_state¶
RX state machine state
variable rx_timer_ms¶
Elapsed time since last RX frame
variable rx_total_len¶
Expected message payload length
variable timer_n_as_ms¶
Maximum time for frame TX completion (default 1000ms)
variable timer_n_cr_ms¶
Maximum time between consecutive RX frames (default 1000ms)
variable tx_buf¶
Pointer to active TX payload
variable tx_frame¶
Queued 8-byte LIN frame payload
variable tx_frame_pending¶
True when a 8-byte frame is queued for TX
variable tx_nad¶
Target NAD for active transmission
variable tx_offset¶
Payload bytes transmitted so far
variable tx_sn¶
Sequence number for next CF (1..15, mod 16)
variable tx_state¶
TX state machine state
variable tx_timer_ms¶
Elapsed time since last frame queued
variable tx_total_len¶
Total payload size to transmit
The documentation for this class was generated from the following file src/syntropic/proto/syn_lintp.h