?? sys_out.c
字號:
#include "syslib.h"/*===========================================================================* * sys_out * *===========================================================================*/PUBLIC int sys_out(port, value, type)int port; /* port address to write to */unsigned long value; /* value to write */int type; /* byte, word, long */{ message m_io; m_io.DIO_TYPE = type; m_io.DIO_REQUEST = DIO_OUTPUT; m_io.DIO_PORT = port; m_io.DIO_VALUE = value; return _taskcall(SYSTASK, SYS_DEVIO, &m_io);}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -