Oracle Java Wireless Client

com.oracle.deviceaccess.mmio
Interface RawByte

All Superinterfaces:
RawMemory

public interface RawByte
extends RawMemory

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


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

Method Detail

set

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

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

get

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

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