analyzers

package
v0.0.0-...-72cbd6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interval

type Interval struct {
	// contains filtered or unexported fields
}

type SPI

type SPI struct {
}

SPI can be used to analyze a digital signal for SPI transactions. For now only supports MODE 0, MSB first, 8 bits per transfer, enable line active low.

func (*SPI) Scan

func (*SPI) Scan(clock, enable, mosi, miso *saleae.DigitalFile) (txs []TxSPI, err error)

type TxSPI

type TxSPI struct {
	// a.k.a. MOSI.
	SDO []byte
	// a.k.a. MISO.
	SDI []byte
	// contains filtered or unexported fields
}

func (TxSPI) EndTime

func (t TxSPI) EndTime() float64

func (TxSPI) StartTime

func (t TxSPI) StartTime() float64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL