Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUSBOpenFailed = errors.New("failed claiming USB resources") ErrDeviceConfigFailed = errors.New("failed configuring device") ErrUnsupportedVersion = errors.New("unsupported FPGA version") ErrSettingInactivityTimer = errors.New("failed setting inactivity timer") ErrReadingDeviceAddress = errors.New("failed reading device address") )
errors
Functions ¶
This section is empty.
Types ¶
type OpenerFunc ¶
OpenerFunc predicate specifies whether to open the device with the given vendor and product identifiers.
type Screamer ¶
type Screamer struct {
// contains filtered or unexported fields
}
Screamer encapsulates device's USB resources.
func OpenScreamers ¶
OpenScreamers enumerates and opens all PCIe screamer devices on the system. Caller should Close() all returned Screamers.
func (*Screamer) FilterConfigSpaceTlps ¶
Enables filtering of TLPs addressing configuration space.
func (*Screamer) ReceiveConfigSpaceTlps ¶
Disables filtering of TLPs addressing configuration space.
type TLPController ¶
type TLPController struct {
// contains filtered or unexported fields
}
TLPController sends and receives TLP packets. Implements io.ReadWriter.
func NewTLPController ¶
func NewTLPController(d *Screamer) *TLPController
NewTLPController builds a new TLPController which may be used to send and receive TLP packets. Caller should not use TLPController after calling d.Close().
Click to show internal directories.
Click to hide internal directories.