main_ubi_sdk v 0.1.3
This is UBI4 documentation
a_protocol.c File Reference
#include "TransportLevel/a_protocol.h"
#include "TransportLevel/main_receiver.h"
#include "TransportLevel/data_sniffer.h"
#include "device_info.h"
#include "TransportLevel/ports/a_port.h"
#include "Data/data_verification.h"
#include "UBI_SDK.h"
#include "string.h"
#include "stdlib.h"
Include dependency graph for a_protocol.c:

Functions

void ubi4_bus_protocol_answer (ubi4_bus_protocol_obj_struct *protocol_str, ubi4_bus_package_info_struct *pacckage_info, uint8_t *dataBuf, uint16_t dataSize)
 
void ubi4_bus_protocol_answer_obj_data (ubi4_bus_protocol_obj_struct *protocol_str, ubi4_bus_package_info_struct *pack_info, base_protocol_data_segment_struct *data_segment)
 
void full_duplex_answer_task (soft_timer_class_struct *soft_timer_obj, int instance, ubi4_bus_protocol_obj_struct *protocol_str)
 
int ubi4_full_duplex_bus_receive_data_rx_irq_exec_new (ubi4_bus_protocol_obj_struct *protocol_str)
 
void ubi4_receive_to_current_device (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t *dataBuf, uint16_t dataSize)
 
void ubi4_receive_to_another_device (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t *dataBuf, uint16_t dataSize)
 
void ubi4_spi_receive_to_another_device (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t *dataBuf, uint16_t dataSize)
 
static base_protocol_data_segment_structcreate_data_segment (ubi4_bus_protocol_obj_struct *protocol_str, uint16_t size)
 
void answer_task_start (ubi4_bus_protocol_obj_struct *protocol_str)
 
void answer_task (soft_timer_class_struct *soft_timer_obj, int instance, ubi4_bus_protocol_obj_struct *protocol_str)
 
void ubi4_bridge_receive (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t *buf, uint32_t size)
 
int ubi4_full_duplex_bus_receive_data_rx_irq_exec (ubi4_bus_protocol_obj_struct *protocol_str)
 
int ubi4_spi_full_duplex_bus_receive_data_rx_irq_exec (ubi4_bus_protocol_obj_struct *protocol_str)
 
int ubi4_spi_full_duplex_bus_receive_data_full_buffer_exec (ubi4_bus_protocol_obj_struct *protocol_str)
 
void ubi4_full_duplex_bus_receive_to_current_device (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t *dataBuf, uint16_t dataSize)
 
void ubi4_full_duplex_bus_protocol_answer_obj_data (ubi4_bus_protocol_obj_struct *protocol_str, ubi4_bus_package_info_struct *pack_info, base_protocol_data_segment_struct *data_segment)
 
void ubi4_half_duplex_bus_protocol_answer_obj_data (ubi4_bus_protocol_obj_struct *protocol_str, ubi4_bus_package_info_struct *pack_info, base_protocol_data_segment_struct *data_segment)
 
void ubi4_spi_slave_full_duplex_bus_protocol_answer_obj_data (ubi4_bus_protocol_obj_struct *protocol_str, ubi4_bus_package_info_struct *pack_info, base_protocol_data_segment_struct *data_segment)
 
void ubi4_bus_base_slave_answer (ubi4_bus_protocol_obj_struct *protocol, uint8_t *buf, uint32_t size)
 
protocol_parce_status_enum ubi4_bus_get_data_from_package (ubi4_bus_protocol_obj_struct *protocol, uint8_t *buf, uint32_t size, ubi4_bus_package_info_struct *pack_info_out, uint8_t **buf_out, uint32_t *len)
 
int ubi4_bus_receive_data_full_buffer_exec (ubi4_bus_protocol_obj_struct *protocol)
 
int ubi4_bus_receive_data_full_buffer (base_port_struct *port_str)
 
void ubi4_slave_receiver_reset (ubi4_bus_protocol_obj_struct *protocol_str)
 
void ubi4_slave_receive_task (soft_timer_class_struct *soft_timer_obj, int timer_instance, ubi4_bus_protocol_obj_struct *protocol_str)
 
void ubi4_transmit_to_slave (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t address, uint8_t command, base_bus_transmit_settings_struct *tx_settings, uint8_t *data_buf, uint16_t size)
 
void ubi4_spi_transmit_to_slave (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t address, uint8_t command, base_bus_transmit_settings_struct *tx_settings, uint8_t *data_buf, uint16_t size)
 
void ubi4_transmit_bridge_to_slave (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t address, uint8_t command, bool last_package, ubi4_bus_protocol_obj_struct *source_protocol_str, void *source_pack_info, base_protocol_data_segment_struct *data_segment)
 
void ubi4_transmit_bridge_to_slave_queue (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t address, uint8_t command, bool last_package, ubi4_bus_protocol_obj_struct *source_protocol_str, void *source_pack_info, base_protocol_data_segment_struct *data_segment)
 
void ubi4_parameter_read_request (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t address, base_parameter_info_struct *param_info, bool last_package)
 
void ubi4_parameter_write_request (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t address, uint8_t command, bool last_package, uint8_t *data_buf, uint16_t size)
 
static void addDataToPackInfoConteiner (static_conteiner_struct *conteiner_obj, ubi4_bus_package_info_struct *conteiner_p, bus_main_module_header *inputData, uint16_t ID)
 
static void addDataToDataSegmentConteiner (static_conteiner_struct *conteiner_obj, base_protocol_data_segment_struct *conteiner_p, uint16_t *size_p, uint16_t ID)
 
int base_request_from_slave_blocked (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t address, uint8_t command, base_bus_transmit_settings_struct *tx_settings, uint8_t *tx_data_buf, uint16_t tx_size, uint32_t wait_rx_size, uint32_t wait_time_ms, ubi4_bus_package_info_struct *pack_info_out, uint8_t **buf_out, uint32_t *len)
 
int spi_request_from_slave_blocked (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t address, uint8_t command, base_bus_transmit_settings_struct *tx_settings, uint8_t *tx_data_buf, uint16_t tx_size, uint32_t wait_rx_size, uint32_t wait_time_ms, ubi4_bus_package_info_struct *pack_info_out, uint8_t **buf_out, uint32_t *len)
 
int base_request_handler_blocked (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t address, uint8_t command, base_bus_transmit_settings_struct *tx_settings, uint8_t *tx_data_buf, uint16_t tx_size, uint32_t wait_rx_size, uint32_t wait_time_ms)
 
int spi_request_handler_blocked (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t address, uint8_t command, base_bus_transmit_settings_struct *tx_settings, uint8_t *tx_data_buf, uint16_t tx_size, uint32_t wait_rx_size, uint32_t wait_time_ms)
 
void ubi4_master_receiver_init (base_port_struct *port, ubi4_bus_protocol_obj_struct **protocol_obj_str)
 
void ubi4_base_parce_preamble (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t *data, uint16_t size)
 
void ubi4_spi_parce_preamble (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t *data, uint16_t size)
 
void ubi4_slave_receiver_init (base_port_struct *port, ubi4_bus_protocol_init_struct init_struct, ubi4_bus_protocol_obj_struct **protocol_obj_str)
 
void ubi4_spi_slave_receiver_init (base_port_struct *port, ubi4_bus_protocol_init_struct init_struct, ubi4_bus_protocol_obj_struct **protocol_obj_str)
 
void protocol_set_receiver (ubi4_bus_protocol_obj_struct *protocol_str, receiver_typedef receiver)
 
void protocol_set_bridge_callback (ubi4_bus_protocol_obj_struct *protocol_str, void(*receiver)(void *protocol_str, protocol_receive_struct receive_str))
 
void ubi4_spi_slave_receiver_start (ubi4_bus_protocol_obj_struct *protocol_str)
 
void ubi4_slave_receiver_start (ubi4_bus_protocol_obj_struct *protocol_str)
 
void ubi4_parce_fix_len_package ()
 
base_protocol_data_segment_structubi4_get_data_segment (ubi4_bus_protocol_obj_struct *protocol_str, uint16_t size)
 
void busy_wait (uint32_t count)
 
void ubi4_remove_pack_info (ubi4_bus_protocol_obj_struct *protocol_str, ubi4_bus_package_info_struct *pack_info)
 
void full_duplex_transmit_part (ubi4_bus_protocol_obj_struct *protocol_str)
 
void protocol_tx_complete (ubi4_bus_protocol_obj_struct *protocol_str)
 
void spi_answer_task_start (ubi4_bus_protocol_obj_struct *protocol_str)
 
int package_handler (ubi4_bus_protocol_obj_struct *protocol_str, uint8_t device_address, bus_main_module_header *bus_header, uint16_t size)
 
int ubi4_bus_receive_data_rx_irq_exec (ubi4_bus_protocol_obj_struct *protocol_str)
 
bridge_protocol_info_struct Check_Device_Bridge_Info (void *port_device_manager, uint8_t Address)
 
uint8_t Get_Device_Address (uint8_t *status)
 
void protocol_delay (uint32_t time_ms)
 
void ubi4_bus_receive_data_rx_irq (ubi4_bus_protocol_obj_struct *protocol)
 

Variables

uint32_t crc_error = 0
 
static static_conteiner_init_struct pack_info_conteiner_init
 
static static_conteiner_init_struct data_segment_conteiner_init
 
static static_conteiner_init_struct transmit_queue_conteiner_init
 
uint8_t debug_action_request_array [4]
 
uint8_t debug_action_request_counter
 

Function Documentation

◆ addDataToDataSegmentConteiner()

static void addDataToDataSegmentConteiner ( static_conteiner_struct * conteiner_obj,
base_protocol_data_segment_struct * conteiner_p,
uint16_t * size_p,
uint16_t ID )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addDataToPackInfoConteiner()

static void addDataToPackInfoConteiner ( static_conteiner_struct * conteiner_obj,
ubi4_bus_package_info_struct * conteiner_p,
bus_main_module_header * inputData,
uint16_t ID )
static
Here is the caller graph for this function:

◆ answer_task()

void answer_task ( soft_timer_class_struct * soft_timer_obj,
int instance,
ubi4_bus_protocol_obj_struct * protocol_str )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ answer_task_start()

void answer_task_start ( ubi4_bus_protocol_obj_struct * protocol_str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ base_request_from_slave_blocked()

int base_request_from_slave_blocked ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t address,
uint8_t command,
base_bus_transmit_settings_struct * tx_settings,
uint8_t * tx_data_buf,
uint16_t tx_size,
uint32_t wait_rx_size,
uint32_t wait_time_ms,
ubi4_bus_package_info_struct * pack_info_out,
uint8_t ** buf_out,
uint32_t * len )
Here is the caller graph for this function:

◆ base_request_handler_blocked()

int base_request_handler_blocked ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t address,
uint8_t command,
base_bus_transmit_settings_struct * tx_settings,
uint8_t * tx_data_buf,
uint16_t tx_size,
uint32_t wait_rx_size,
uint32_t wait_time_ms )
Here is the caller graph for this function:

◆ busy_wait()

void busy_wait ( uint32_t count)
Here is the caller graph for this function:

◆ Check_Device_Bridge_Info()

bridge_protocol_info_struct Check_Device_Bridge_Info ( void * port_device_manager,
uint8_t Address )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_data_segment()

static base_protocol_data_segment_struct * create_data_segment ( ubi4_bus_protocol_obj_struct * protocol_str,
uint16_t size )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ full_duplex_answer_task()

void full_duplex_answer_task ( soft_timer_class_struct * soft_timer_obj,
int instance,
ubi4_bus_protocol_obj_struct * protocol_str )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ full_duplex_transmit_part()

void full_duplex_transmit_part ( ubi4_bus_protocol_obj_struct * protocol_str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Get_Device_Address()

uint8_t Get_Device_Address ( uint8_t * status)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ package_handler()

int package_handler ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t device_address,
bus_main_module_header * bus_header,
uint16_t size )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ protocol_delay()

void protocol_delay ( uint32_t time_ms)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ protocol_set_bridge_callback()

void protocol_set_bridge_callback ( ubi4_bus_protocol_obj_struct * protocol_str,
void(* receiver )(void *protocol_str, protocol_receive_struct receive_str) )

◆ protocol_set_receiver()

void protocol_set_receiver ( ubi4_bus_protocol_obj_struct * protocol_str,
receiver_typedef receiver )

◆ protocol_tx_complete()

void protocol_tx_complete ( ubi4_bus_protocol_obj_struct * protocol_str)
Here is the call graph for this function:

◆ spi_answer_task_start()

void spi_answer_task_start ( ubi4_bus_protocol_obj_struct * protocol_str)
Here is the caller graph for this function:

◆ spi_request_from_slave_blocked()

int spi_request_from_slave_blocked ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t address,
uint8_t command,
base_bus_transmit_settings_struct * tx_settings,
uint8_t * tx_data_buf,
uint16_t tx_size,
uint32_t wait_rx_size,
uint32_t wait_time_ms,
ubi4_bus_package_info_struct * pack_info_out,
uint8_t ** buf_out,
uint32_t * len )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ spi_request_handler_blocked()

int spi_request_handler_blocked ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t address,
uint8_t command,
base_bus_transmit_settings_struct * tx_settings,
uint8_t * tx_data_buf,
uint16_t tx_size,
uint32_t wait_rx_size,
uint32_t wait_time_ms )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_base_parce_preamble()

void ubi4_base_parce_preamble ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t * data,
uint16_t size )
Here is the caller graph for this function:

◆ ubi4_bridge_receive()

void ubi4_bridge_receive ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t * buf,
uint32_t size )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_bus_base_slave_answer()

void ubi4_bus_base_slave_answer ( ubi4_bus_protocol_obj_struct * protocol,
uint8_t * buf,
uint32_t size )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_bus_get_data_from_package()

protocol_parce_status_enum ubi4_bus_get_data_from_package ( ubi4_bus_protocol_obj_struct * protocol,
uint8_t * buf,
uint32_t size,
ubi4_bus_package_info_struct * pack_info_out,
uint8_t ** buf_out,
uint32_t * len )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_bus_protocol_answer()

void ubi4_bus_protocol_answer ( ubi4_bus_protocol_obj_struct * protocol_str,
ubi4_bus_package_info_struct * pacckage_info,
uint8_t * dataBuf,
uint16_t dataSize )
Here is the caller graph for this function:

◆ ubi4_bus_protocol_answer_obj_data()

void ubi4_bus_protocol_answer_obj_data ( ubi4_bus_protocol_obj_struct * protocol_str,
ubi4_bus_package_info_struct * pack_info,
base_protocol_data_segment_struct * data_segment )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_bus_receive_data_full_buffer()

int ubi4_bus_receive_data_full_buffer ( base_port_struct * port_str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_bus_receive_data_full_buffer_exec()

int ubi4_bus_receive_data_full_buffer_exec ( ubi4_bus_protocol_obj_struct * protocol)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_bus_receive_data_rx_irq()

void ubi4_bus_receive_data_rx_irq ( ubi4_bus_protocol_obj_struct * protocol)
Here is the call graph for this function:

◆ ubi4_bus_receive_data_rx_irq_exec()

int ubi4_bus_receive_data_rx_irq_exec ( ubi4_bus_protocol_obj_struct * protocol_str)
Here is the call graph for this function:

◆ ubi4_full_duplex_bus_protocol_answer_obj_data()

void ubi4_full_duplex_bus_protocol_answer_obj_data ( ubi4_bus_protocol_obj_struct * protocol_str,
ubi4_bus_package_info_struct * pack_info,
base_protocol_data_segment_struct * data_segment )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_full_duplex_bus_receive_data_rx_irq_exec()

int ubi4_full_duplex_bus_receive_data_rx_irq_exec ( ubi4_bus_protocol_obj_struct * protocol_str)
Here is the call graph for this function:

◆ ubi4_full_duplex_bus_receive_data_rx_irq_exec_new()

int ubi4_full_duplex_bus_receive_data_rx_irq_exec_new ( ubi4_bus_protocol_obj_struct * protocol_str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_full_duplex_bus_receive_to_current_device()

void ubi4_full_duplex_bus_receive_to_current_device ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t * dataBuf,
uint16_t dataSize )

◆ ubi4_get_data_segment()

base_protocol_data_segment_struct * ubi4_get_data_segment ( ubi4_bus_protocol_obj_struct * protocol_str,
uint16_t size )

◆ ubi4_half_duplex_bus_protocol_answer_obj_data()

void ubi4_half_duplex_bus_protocol_answer_obj_data ( ubi4_bus_protocol_obj_struct * protocol_str,
ubi4_bus_package_info_struct * pack_info,
base_protocol_data_segment_struct * data_segment )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_master_receiver_init()

void ubi4_master_receiver_init ( base_port_struct * port,
ubi4_bus_protocol_obj_struct ** protocol_obj_str )
Here is the call graph for this function:

◆ ubi4_parameter_read_request()

void ubi4_parameter_read_request ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t address,
base_parameter_info_struct * param_info,
bool last_package )
Here is the call graph for this function:

◆ ubi4_parameter_write_request()

void ubi4_parameter_write_request ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t address,
uint8_t command,
bool last_package,
uint8_t * data_buf,
uint16_t size )
Here is the call graph for this function:

◆ ubi4_parce_fix_len_package()

void ubi4_parce_fix_len_package ( )

◆ ubi4_receive_to_another_device()

void ubi4_receive_to_another_device ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t * dataBuf,
uint16_t dataSize )
Here is the caller graph for this function:

◆ ubi4_receive_to_current_device()

void ubi4_receive_to_current_device ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t * dataBuf,
uint16_t dataSize )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_remove_pack_info()

void ubi4_remove_pack_info ( ubi4_bus_protocol_obj_struct * protocol_str,
ubi4_bus_package_info_struct * pack_info )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_slave_receive_task()

void ubi4_slave_receive_task ( soft_timer_class_struct * soft_timer_obj,
int timer_instance,
ubi4_bus_protocol_obj_struct * protocol_str )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_slave_receiver_init()

void ubi4_slave_receiver_init ( base_port_struct * port,
ubi4_bus_protocol_init_struct init_struct,
ubi4_bus_protocol_obj_struct ** protocol_obj_str )
Here is the call graph for this function:

◆ ubi4_slave_receiver_reset()

void ubi4_slave_receiver_reset ( ubi4_bus_protocol_obj_struct * protocol_str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_slave_receiver_start()

void ubi4_slave_receiver_start ( ubi4_bus_protocol_obj_struct * protocol_str)
Here is the call graph for this function:

◆ ubi4_spi_full_duplex_bus_receive_data_full_buffer_exec()

int ubi4_spi_full_duplex_bus_receive_data_full_buffer_exec ( ubi4_bus_protocol_obj_struct * protocol_str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_spi_full_duplex_bus_receive_data_rx_irq_exec()

int ubi4_spi_full_duplex_bus_receive_data_rx_irq_exec ( ubi4_bus_protocol_obj_struct * protocol_str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_spi_parce_preamble()

void ubi4_spi_parce_preamble ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t * data,
uint16_t size )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_spi_receive_to_another_device()

void ubi4_spi_receive_to_another_device ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t * dataBuf,
uint16_t dataSize )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_spi_slave_full_duplex_bus_protocol_answer_obj_data()

void ubi4_spi_slave_full_duplex_bus_protocol_answer_obj_data ( ubi4_bus_protocol_obj_struct * protocol_str,
ubi4_bus_package_info_struct * pack_info,
base_protocol_data_segment_struct * data_segment )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_spi_slave_receiver_init()

void ubi4_spi_slave_receiver_init ( base_port_struct * port,
ubi4_bus_protocol_init_struct init_struct,
ubi4_bus_protocol_obj_struct ** protocol_obj_str )
Here is the call graph for this function:

◆ ubi4_spi_slave_receiver_start()

void ubi4_spi_slave_receiver_start ( ubi4_bus_protocol_obj_struct * protocol_str)
Here is the caller graph for this function:

◆ ubi4_spi_transmit_to_slave()

void ubi4_spi_transmit_to_slave ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t address,
uint8_t command,
base_bus_transmit_settings_struct * tx_settings,
uint8_t * data_buf,
uint16_t size )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_transmit_bridge_to_slave()

void ubi4_transmit_bridge_to_slave ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t address,
uint8_t command,
bool last_package,
ubi4_bus_protocol_obj_struct * source_protocol_str,
void * source_pack_info,
base_protocol_data_segment_struct * data_segment )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_transmit_bridge_to_slave_queue()

void ubi4_transmit_bridge_to_slave_queue ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t address,
uint8_t command,
bool last_package,
ubi4_bus_protocol_obj_struct * source_protocol_str,
void * source_pack_info,
base_protocol_data_segment_struct * data_segment )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ubi4_transmit_to_slave()

void ubi4_transmit_to_slave ( ubi4_bus_protocol_obj_struct * protocol_str,
uint8_t address,
uint8_t command,
base_bus_transmit_settings_struct * tx_settings,
uint8_t * data_buf,
uint16_t size )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ crc_error

uint32_t crc_error = 0

◆ data_segment_conteiner_init

static_conteiner_init_struct data_segment_conteiner_init
static
Initial value:
=
{
.ArraySize = 32,
.DataSize = sizeof(base_protocol_data_segment_struct),
.addDataCallback = 0
}
Definition a_protocol.h:205

◆ debug_action_request_array

uint8_t debug_action_request_array[4]
extern

◆ debug_action_request_counter

uint8_t debug_action_request_counter
extern

◆ pack_info_conteiner_init

static_conteiner_init_struct pack_info_conteiner_init
static
Initial value:
=
{
.ArraySize = 32,
.DataSize = sizeof(ubi4_bus_package_info_struct),
.addDataCallback = 0,
}
Definition a_protocol.h:228

◆ transmit_queue_conteiner_init

static_conteiner_init_struct transmit_queue_conteiner_init
static
Initial value:
=
{
.ArraySize = 32,
.DataSize = sizeof(base_protocol_queue_segment_struct),
.addDataCallback = 0
}
Definition a_protocol.h:269