123456789101112131415161718192021222324252627282930313233343536 |
- /*******************************************************************************
- *
- * scheduler
- * Soft version: switch V1.00
- * File Name: uart2.h
- * Author : zzw (zhangzw_3@163.com)
- * creation date: 2024-01-17
- * module description: time2 1ms
- * Copyright (C) reserve
- *
- ********************************************************************************/
- #if !defined(__UART2_H__)
- #define __UART2_H__
- #define A_HLW P5_5 //A
- #define B_HLW P5_4 //B
- void uart2_gpio_init();
- void uart2_init(void);
- void UART2_send(unsigned char c);
- void UART2_send_buf(char *s);
- void Start_Send_UartData(unsigned char len);
- void uart_send (unsigned char *buf, unsigned char len);
- void open_first_passageway(void);
- void open_second_passageway(void);
- void open_third_passageway(void);
- void close_all_passageway(void);
- #endif
- /* EOF */
|