reven.api.Device(object) class documentationreven.api
(View In Hierarchy)
A hardware device with port and memory ranges.
| Class | PortRange | A range of continuous ports. |
| Method | __init__ | Initialize a Device instance from a low-level object. Not meant to be called directly. |
| Method | name | Property: The device name. |
| Method | description | Property: Description of the device |
| Method | ports | Property: The device ports. @return: A list of Device.PortRange. |
| Method | mapping | Property: The device memory mapping. |
| Method | __repr__ | Undocumented |
| Method | _rvn | Undocumented |
Initialize a Device instance from a low-level object. Not meant to be called directly.
Use Project.devices
instead.
| Parameters | project | A Project instance. |
| rvn_device | A reven_api.device instance. |