You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
321 B
12 lines
321 B
#include "zstm32uart_irq_rx_service.h"
|
|
|
|
static zstm32uart_t* s_table;
|
|
static int s_table_size;
|
|
|
|
void uart_service_start_all_uart_rx(zstm32uart_t* table, int size) {
|
|
s_table = table;
|
|
s_table_size = size;
|
|
for (size_t i = 0; i < s_table_size; i++) {
|
|
HAL_UART_Receive_IT(s_table[i].huart, &s_table->rxbuf, 1);
|
|
}
|
|
}
|