samna.unifirm.modules.events#

Submodules#

Module content#

class samna.unifirm.modules.events.DroppedEventsNum#

Bases: pybind11_object

The number of events dropped by the IO module.

from_json(self: samna.unifirm.modules.events.DroppedEventsNum, arg0: str) None#
property num#

The number of events dropped by the IO module.

to_json(self: samna.unifirm.modules.events.DroppedEventsNum) str#
class samna.unifirm.modules.events.EdgeSync#

Bases: pybind11_object

EdgeSync events are used for EdgeDetectionModule to notify there is a rising or falling edge on a timestamp.

property edge_type#

Indicate either a rising or a falling edge.

from_json(self: samna.unifirm.modules.events.EdgeSync, arg0: str) None#
property timestamp#

The timestamp of this edge.

to_json(self: samna.unifirm.modules.events.EdgeSync) str#
class samna.unifirm.modules.events.EdgeType#

Bases: pybind11_object

Members:

FallingEdge

RisingEdge

property name#
class samna.unifirm.modules.events.WriteModuleConfig#

Bases: pybind11_object

Event to send a configuration packet to a unifirm module.

property address#

Specifies the address of the configuration.

from_json(self: samna.unifirm.modules.events.WriteModuleConfig, arg0: str) None#
to_json(self: samna.unifirm.modules.events.WriteModuleConfig) str#
property value#

Specifies the value of the configuration.