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.
28 lines
780 B
28 lines
780 B
1 week ago
|
/*
|
||
|
* bsp_desulfurizer_handler.h
|
||
|
*
|
||
|
* Created on: Jul 29, 2024
|
||
|
* Author: akeguo
|
||
|
*/
|
||
|
|
||
|
#ifndef INC_BSP_BSP_UPPERCOMPUTER_HANDLER_H_
|
||
|
#define INC_BSP_BSP_UPPERCOMPUTER_HANDLER_H_
|
||
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
#include "../../BASE/Inc/BSP/bsp_MB_host.h"
|
||
|
#include "stdio.h"
|
||
|
#include "../../BASE/Inc/BSP/bsp_UART.h"
|
||
|
#include "usart.h"
|
||
|
#include "gpio.h"
|
||
|
|
||
|
|
||
|
extern struct UARTHandler *desulfurizer_message_UART_Handler;
|
||
|
void upper_Computer_UART_Handler_intialize(struct UARTHandler *Handler);
|
||
|
|
||
|
void decode_command_from_computer(uint8_t *buffer, uint16_t length);
|
||
|
|
||
|
|
||
|
void send_data_to_upper_computer(double Angle, double WireLength,
|
||
|
double Thickness, char IsFittingPoint,char isMqtt,struct UARTHandler *send_UART_Handler);
|
||
|
#endif /* INC_BSP_BSP_UPPERCOMPUTER_HANDLER_H_ */
|