Oracle Java Wireless Client

com.oracle.deviceaccess.mmio
Interface RawShort

All Superinterfaces:
RawMemory

public interface RawShort
extends RawMemory

The RawShort interface provides methods for setting and getting the value of a register or memory area holding a short value. A RawShort instance can be obtained from a MMIODevice instance.


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

Method Detail

set

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

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

get

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

Returns:
the short 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.