2020-12-05 11:57:10 +08:00
|
|
|
/*
|
2021-03-14 15:33:55 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2020-12-05 11:57:10 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2020-10-24 thread-liu first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __DRV_RS485_H__
|
|
|
|
#define __DRV_RS485_H__
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define RS485_SEND_MODE 0
|
|
|
|
#define RS485_RECV_MODE 1
|
2021-03-14 15:33:55 +08:00
|
|
|
|
2020-12-05 11:57:10 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* drv_rs485.h */
|