samna.speck2fBoards.encoder#
Submodules#
Module content#
- samna.speck2fBoards.encoder.decode_input_interface_event(arg0: int) samna.speck2f.event.Spike | samna.speck2f.event.DvsEvent | samna.speck2f.event.KillSensorPixel | samna.speck2f.event.ResetSensorPixel | samna.speck2f.event.OutputModeSel | samna.speck2f.event.AverageSel | samna.speck2f.event.AsiRequest | samna.speck2f.event.ReadoutRequest | samna.speck2f.event.ScanChainValue | samna.speck2f.event.WriteNeuronValue | samna.speck2f.event.ReadNeuronValue | samna.speck2f.event.WriteWeightValue | samna.speck2f.event.ReadWeightValue | samna.speck2f.event.WriteBiasValue | samna.speck2f.event.ReadBiasValue | samna.speck2f.event.WriteRegisterValue | samna.speck2f.event.ReadRegisterValue | samna.speck2f.event.WriteFilterValue | samna.speck2f.event.ReadFilterValue | samna.speck2f.event.WriteSramValue | samna.speck2f.event.ReadSramValue | samna.speck2f.event.IdCodeRequest | samna.speck2f.event.FlashRead | samna.speck2f.event.FlashWrite | samna.speck2f.event.FlashErase | samna.speck2f.event.FlashSpiRaw | samna.speck2f.event.FlashWriteEnable | samna.speck2f.event.FlashQueryStatus #
Decode input interface event.
- Parameters:
rawEvent (int) – The input interface event.
- Returns:
The decoded input interface event.
- samna.speck2fBoards.encoder.decode_output_serial_interface_events(arg0: int) samna.speck2f.event.Spike | samna.speck2f.event.DvsEvent | samna.speck2f.event.InputInterfaceEvent | samna.speck2f.event.NeuronValue | samna.speck2f.event.BiasValue | samna.speck2f.event.WeightValue | samna.speck2f.event.RegisterValue | samna.speck2f.event.ReadoutValue | samna.speck2f.event.FilterValue | samna.speck2f.event.SramValue | samna.speck2f.event.FilterDvsEvent | samna.speck2f.event.FilterValueCurrent | samna.speck2f.event.FilterValuePrevious | samna.speck2f.event.ScanChainValue | samna.speck2f.event.IdCode | samna.speck2f.event.FlashValue | samna.speck2f.event.FlashSpiRaw | samna.speck2f.event.FlashStatus | samna.speck2f.event.ReadoutPinValue | samna.unifirm.modules.events.DroppedEventsNum | None #
Decode output serial interface event.
- Parameters:
rawEvent (int) – The output serial interface event.
readoutDecodingEnable (bool) – Is readout output decoding enabled
- Returns:
The decoded output serial interface event.