Files
QDAC-firmware/app/tiny_frame/by_tiny_frame.c

17 lines
365 B
C
Raw Normal View History

2024-02-15 22:50:20 +08:00
#include "by_tiny_frame.h"
#include <stdio.h>
#include <stdint.h>
#include "by_tiny_frame_parse.h"
#include "crc16.h"
#include "zf_common_headfile.h"
void by_tiny_frame_init(void)
{
uart_init(BY_TF_UART_INDEX, BY_TF_UART_BAUDRATE, BY_TF_UART_TX_PIN, BY_TF_UART_RX_PIN);
uart_rx_interrupt(BY_TF_UART_INDEX, ENABLE);
by_tiny_frame_parse_init();
}