XWOS API  4.0
XWOS C/C++ API参考手册
载入中...
搜索中...
未找到
uart.h
浏览该文件的文档.
1
21#ifndef __xwem_vm_lua_xwlua_xwds_uart_h__
22#define __xwem_vm_lua_xwlua_xwds_uart_h__
23
24#include <xwos/standard.h>
26#include "xwem/vm/lua/src/lauxlib.h"
27
37struct xwlua_uart {
38 struct xwds_uartc * uartc;
40};
41
48void xwlua_uart_register(lua_State * L, const char * name, struct xwds_uartc * uartc);
49
55void xwlua_uart_unregister(lua_State * L, const char * name);
56
61#endif /* xwem/vm/lua/xwlua/xwds/uart.h */
void xwlua_uart_register(lua_State *L, const char *name, struct xwds_uartc *uartc)
注册UART控制器对象
void xwlua_uart_unregister(lua_State *L, const char *name)
删除UART控制器对象
unsigned long xwsq_t
Definition type.h:445
UART控制器
Definition controller.h:193
XWLUA UART控制器对象
Definition uart.h:37
xwsq_t tik
Definition uart.h:39
struct xwds_uartc * uartc
Definition uart.h:38
玄武设备栈:UART控制器
XWOS的标准头文件