Oracle Java Wireless Client

com.oracle.deviceaccess.mmio
Interface RawInt

All Superinterfaces:
RawMemory

public interface RawInt
extends RawMemory

The 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.


Method Summary
 int get()
          Gets the int value at the memory area associated with this object.
 void set(int value)
          Sets the int value at the memory area associated with this object.
 
Methods inherited from interface com.oracle.deviceaccess.mmio.RawMemory
getName
 

Method Detail

set

void set(int value)
         throws PeripheralNotAvailableException
Sets the int value at the memory area associated with this object.

Parameters:
value - int data to set.
Throws:
PeripheralNotAvailableException - if the peripheral is not currently available (has been released).

get

int get()
        throws PeripheralNotAvailableException
Gets the int value at the memory area associated with this object.

Returns:
the int value.
Throws:
PeripheralNotAvailableException - if the peripheral is not currently available (has been released).

Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.