public static final class MMIODeviceConfig.RawBlockConfig extends MMIODeviceConfig.RawMemoryConfig
RawBlockConfig class encapsulates the configuration parameters of a memory block.| Constructor and Description |
|---|
MMIODeviceConfig.RawBlockConfig(int offset,
java.lang.String name,
int size)
Constructs a new
RawBlockConfig with the provided parameters. |
| Modifier and Type | Method and Description |
|---|---|
int |
getSize()
Gets the configured size in bytes of the memory block.
|
getName, getOffsetpublic MMIODeviceConfig.RawBlockConfig(int offset,
java.lang.String name,
int size)
RawBlockConfig with the provided parameters.offset - the offset of the register from the base address (a positive or null integer).name - the name for the register.size - the size in bytes of the memory block (a positive integer).java.lang.IllegalArgumentException - if any of the following is true:
offset is lesser than 0;size is lesser than or equal to 0.java.lang.NullPointerException - if name is null.Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.