Basic_Frame_TypeC_2023_Omni
Loading...
Searching...
No Matches
pack_handler.h
1
/*******************************************************************************
2
* @file : auto_aim.h
3
* @brief : auto aim
4
* @created time : Oct, 2023
5
* @modified time : Mar, 2024
6
* @authors : Haoran Qi, James Fu
7
******************************************************************************
8
* Copyright (c) 2023 UARM Artemis.
9
* All rights reserved.
10
*******************************************************************************/
11
12
#ifndef __AUTO_AIM_H__
13
#define __AUTO_AIM_H__
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
19
#include <stdint.h>
20
#include <stdio.h>
21
#include <string.h>
22
23
#include "stm32f407xx.h"
24
#include "stm32f4xx_hal.h"
25
26
#include "usart.h"
27
28
// UC COMMUNICATION FUNCTIONS
29
uint8_t uc_send_bytes(uint8_t* bytes,
size_t
size);
30
31
void
uc_start_receive(uint8_t* pack_buffer,
size_t
buffer_size);
32
void
uc_restart_receive(uint8_t* pack_buffer,
size_t
buffer_size);
33
34
#ifdef __cplusplus
35
}
36
#endif
37
38
#endif
/*__AUTO_AIM_H__*/
Core
Src
Firmware
pack_handler.h
Generated by
1.14.0