public interface RawInt extends RawMemory
RawInt
interface provides methods for setting and getting the value of a register or memory area holding
a int
value. A RawInt
instance can be obtained from a MMIODevice
instance.int get() throws java.io.IOException, PeripheralNotAvailableException
int
value at the memory area associated with this object.int
value.java.io.IOException
- if the associated memory area is not readable.PeripheralNotAvailableException
- if the peripheral is not currently available (has been released).void set(int value) throws java.io.IOException, PeripheralNotAvailableException
int
value at the memory area associated with this object.value
- int
data to set.java.io.IOException
- if the associated memory area is not writable.PeripheralNotAvailableException
- if the peripheral is not currently available (has been released).Copyright (c) 1990, 2013, Oracle and/or its affiliates. All rights reserved.