|
|
@ -25,7 +25,8 @@
|
|
|
|
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
|
|
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
|
|
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
* --------------------------------------------------------------------------- */
|
|
|
|
* --------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/*代码是一个虚拟串口头文件,用于定义虚拟串口的初始化、反初始化和获取串口类型等函数。在这个头文件中,还定义了一个名为LOS_VIRSERIAL_CB的结构体,
|
|
|
|
|
|
|
|
用于表示虚拟串口的控制、配置或状态管理。此外,代码中还包含了一些条件编译的指令,用于根据配置情况包含相应的头文件或功能实现*/
|
|
|
|
#ifndef _VIRTUAL_SERIAL_H
|
|
|
|
#ifndef _VIRTUAL_SERIAL_H
|
|
|
|
#define _VIRTUAL_SERIAL_H
|
|
|
|
#define _VIRTUAL_SERIAL_H
|
|
|
|
|
|
|
|
|
|
|
|