ioport.java

来自「Java Op Processor java vhdl processor」· Java 代码 · 共 36 行

JAVA
36
字号
package embsys;/*** <code>IOPort</code> allows low-level access to I/O ports.* <p>* This class contains only static methods and is not intended to be* instanziated. Port numbers and meaning of values are device depended.* * * * */public class IOPort {	private IOPort() {}	/**	* Read a value from an input port.	* @param address The address of the input port (device dependend).	* @return The value of the input port (device dependend).	*/	public final static int read(int address) {		return 0;	}	/**	* Write a value to an output port.	* @param value The data to be written.	* @param address The address of the output port (device dependend).	*/	public final static void write(int value, int address) {	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?