Package org.deepjava.flink.subdevices
Class FlinkInfo
- java.lang.Object
-
- org.deepjava.flink.subdevices.FlinkInfo
-
- All Implemented Interfaces:
FlinkDefinitions
public class FlinkInfo extends Object implements FlinkDefinitions
The flink info subdevice is used the deliver a description string for a flink device together with the total amount of used memory.- Author:
- Urs Graf
-
-
Field Summary
Fields Modifier and Type Field Description FlinkSubDevice
dev
Handle to the subdevice within our flink device-
Fields inherited from interface org.deepjava.flink.core.FlinkDefinitions
ANALOG_INPUT_INTERFACE_ID, ANALOG_OUTPUT_INTERFACE_ID, CHANNEL_OFFSET, COUNTER_INTERFACE_ID, GPIO_INTERFACE_ID, HEADER_SIZE, INFO_DEVICE_ID, INFO_DEVICE_SIZE, INTERFACE_TYPE_MASK, MOD_CONF_OFFSET, MOD_STATUS_OFFSET, PPWA_INTERFACE_ID, PWM_INTERFACE_ID, REGISTER_WIDTH, REGISTER_WIDTH_BIT, SIZE_OFFSET, SUBHEADER_SIZE, TOTAL_HEADER_SIZE, TYPE_OFFSET, UART_INTERFACE_ID, UNIQUE_ID_OFFSET, WD_INTERFACE_ID
-
-
Constructor Summary
Constructors Constructor Description FlinkInfo(FlinkSubDevice dev)
Creates a info subdevice.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char[]
getDescription()
A info device holds a description string which can describe a flink device.int
getMemLength()
Returns the total amount of memory mapped onto the AXI bus.
-
-
-
Field Detail
-
dev
public FlinkSubDevice dev
Handle to the subdevice within our flink device
-
-
Constructor Detail
-
FlinkInfo
public FlinkInfo(FlinkSubDevice dev)
Creates a info subdevice.- Parameters:
dev
- handle to the subdevice
-
-
Method Detail
-
getMemLength
public int getMemLength()
Returns the total amount of memory mapped onto the AXI bus. This memory covers the memory blocks of all subdevices within a flink device.- Returns:
- total memory size in bytes
-
getDescription
public char[] getDescription()
A info device holds a description string which can describe a flink device.- Returns:
- description string
-
-