📄 serial_au1000_api.h
字号:
#ifndef SERIAL_AU1000_API_H
#define SERIAL_AU1000_API_H
/************************************************************************
* Include files
************************************************************************/
#include <sysdefs.h>
/************************************************************************
* Definitions
*************************************************************************/
/************************************************************************
* Public functions
************************************************************************/
/************************************************************************
*
* SERIAL_AU1000_install
* Description :
* -------------
*
* Installs the serial device drivers services in
* the IO system at the reserved device slot, found in the
* 'sys_dev.h' file, which defines all major device numbers.
*
* Note:
* This service is the only public declared interface function; all
* provided device driver services are static declared, but this
* function installs the function pointers in the io-system to
* enable the provided public driver services.
*
* Parameters :
* ------------
*
* -
*
*
* Return values :
* ---------------
*
* 'OK'(=0)
* 'ERROR_IO_ILLEGAL_MAJOR': Illegal major device number
* 'ERROR_IO_NO_SPACE': Device slot already allocated
*
************************************************************************/
INT32 SERIAL_AU1000_install( void );
#endif /* #ifndef SERIAL_TI16550_API_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -