| | |
| | | #include "define_all.h" |
| | | #include "system_general_para.h" |
| | | |
| | | #define UC_SEND_NORMAL(__DATA__,__SIZE__) UARTx_SendData_Normal(UART4,__DATA__,__SIZE__) |
| | | #define UC_SEND_NORMAL(__DATA__,__SIZE__) UARTx_SendData_Normal(UP_COMM_UARTX,__DATA__,__SIZE__) |
| | | |
| | | |
| | | |
| | |
| | | typedef struct |
| | | { |
| | | /*ÕâÑùÅÅÐòÊÇΪÁË×Ö½Ú¶ÔÆë£¬buffÊý¾ÝÒª4µÄ±¶ÊýÅäºÏ__attribute__ ((aligned (4)))ʹÓÃ*/ |
| | | UC_RECV_DATA_UNION_T uc_recv_buf_union; |
| | | uint16_t uc_recv_length; |
| | | UC_RECV_DATA_UNION_T uc_recv_buf_union; |
| | | FlagStatus uc_recv_flag; |
| | | } UC_RECV_PARA_T; |
| | | |
| | |
| | | // extern UC_PROTOCOL_HEAD_T uc_protocol_head_g; |
| | | |
| | | |
| | | |
| | | void up_comm_uart_enable(void); |
| | | void upperComPro(void); |
| | | #endif |