sggt/App/HART/hart.h

12 lines
244 B
C

#ifndef __HART_H
#define __HART_H
#include "usart.h"
#include "data_type_def.h"
#define RTS_ON GPIO_PIN_RESET
#define RTS_OFF GPIO_PIN_SET
void hart_send(UART_HandleTypeDef *huart, uint8_t *data);
void hart_communicate(st_scom *scom);
#endif