samna.afe2.event#

Submodules#

Module content#

class samna.afe2.event.ReadRegisterValue#

Bases: pybind11_object

Read register value of AFE2.

property address#

The register address to read from.

from_json(self: samna.afe2.event.ReadRegisterValue, arg0: str) None#
to_json(self: samna.afe2.event.ReadRegisterValue) str#
class samna.afe2.event.ReadVersion#

Bases: pybind11_object

Read the fixed version of AFE2.

class samna.afe2.event.RegisterValue#

Bases: pybind11_object

The response event of ReadRegisterValue event.

property address#

The reading address, it equals to the address in corresponding ReadRegisterValue.

property data#

The register value that read.

from_json(self: samna.afe2.event.RegisterValue, arg0: str) None#
to_json(self: samna.afe2.event.RegisterValue) str#
class samna.afe2.event.Spike#

Bases: pybind11_object

Spikes are events that can be produced by AFE2.

property channel#

The input channel of the spike event.

from_json(self: samna.afe2.event.Spike, arg0: str) None#
property timestamp#

When receiving a Spike event from AFE2 the timestamp will be populated with the time at which the event leave the AFE2.

to_json(self: samna.afe2.event.Spike) str#
class samna.afe2.event.Version#

Bases: pybind11_object

The response event of ReadVersion.

from_json(self: samna.afe2.event.Version, arg0: str) None#
property major#

Major part of xylo version which is fixed at 1.

property minor#

Minor part of xylo version which is fixed at 0.

to_json(self: samna.afe2.event.Version) str#
class samna.afe2.event.WriteRegisterValue#

Bases: pybind11_object

Write register value of AFE2.

property address#

Target register address.

property data#

The new register value to write.

from_json(self: samna.afe2.event.WriteRegisterValue, arg0: str) None#
to_json(self: samna.afe2.event.WriteRegisterValue) str#