From c8623eb4c6c1464ffd49e83126e66d71ba5bf862 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 2 Oct 2023 01:23:31 +0200 Subject: 8b10b issues --- center_fw/src/protocol.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 center_fw/src/protocol.h (limited to 'center_fw/src/protocol.h') diff --git a/center_fw/src/protocol.h b/center_fw/src/protocol.h deleted file mode 100644 index 89c93e2..0000000 --- a/center_fw/src/protocol.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef __PROTOCOL_H__ -#define __PROTOCOL_H__ - -#include -#include - -#define PKT_TYPE_BULK_FLAG 0x80 - -struct proto_rx_st { - int packet_type; - int is_bulk; - int rxpos; - int address; - uint8_t argbuf[8]; - int offset; - const struct command_if_def *cmd_if; -}; - -struct command_if_def { - int packet_type_max; - int payload_len[0]; -}; - -extern volatile uint32_t decoding_error_cnt, protocol_error_cnt; -extern volatile bool backchannel_frame; - -/* Callback */ -void handle_command(int command, uint8_t *args); - -void receive_symbol(struct proto_rx_st *st, int symbol); -void reset_receiver(struct proto_rx_st *st, const struct command_if_def *cmd_if); - -#endif -- cgit