Add Api annotation to some API classes.
[SquirrelJME.git] / modules / dio-mmio / src / main / java / jdk / dio / mmio / RawRegister.java
blob62dae076e1b15f2db1dd3def987657df2d9cc61d
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package jdk.dio.mmio;
12 import java.io.IOException;
13 import jdk.dio.ClosedDeviceException;
14 import jdk.dio.UnavailableDeviceException;
16 @SuppressWarnings("DuplicateThrows")
17 public interface RawRegister<T extends Number>
18 extends RawMemory
20 void and(T __v)
21 throws ClosedDeviceException, IOException, UnavailableDeviceException;
23 void clearBit(int __dx)
24 throws ClosedDeviceException, IOException, UnavailableDeviceException;
26 void clearBits(T __mask)
27 throws ClosedDeviceException, IOException, UnavailableDeviceException;
29 T get()
30 throws ClosedDeviceException, IOException, UnavailableDeviceException;
32 Class<T> getType();
34 boolean isBitSet(int __dx)
35 throws ClosedDeviceException, IOException, UnavailableDeviceException;
37 void or(T __v)
38 throws ClosedDeviceException, IOException, UnavailableDeviceException;
40 void set(T __v)
41 throws ClosedDeviceException, IOException, UnavailableDeviceException;
43 void setBit(int __dx)
44 throws ClosedDeviceException, IOException, UnavailableDeviceException;
46 void setBits(T __mask)
47 throws ClosedDeviceException, IOException, UnavailableDeviceException;
49 void xor(T __v)
50 throws ClosedDeviceException, IOException, UnavailableDeviceException;