Documentation
¶
Index ¶
- Variables
- type DfuStatus
- type StDfu
- func (stDfu *StDfu) Abort() error
- func (stDfu *StDfu) Close()
- func (stDfu *StDfu) ClrStatus() error
- func (stDfu *StDfu) Detach() error
- func (stDfu *StDfu) Dnload(blockNumber int, buffer []byte) error
- func (stDfu *StDfu) GetState() (State, error)
- func (stDfu *StDfu) GetStatus() (DfuStatus, error)
- func (stDfu *StDfu) GetStringDescriptor(index int) (string, error)
- func (stDfu *StDfu) SelectCurrentConfiguration(configIdx, interfaceIdx, altSetIdx int) error
- func (stDfu *StDfu) Upload(blockNumber int, buffer []byte) error
- type State
- type Status
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDevNotFound = fmt.Errorf("No devices found")
View Source
var ErrMultipleDevs = fmt.Errorf("Multiple devices found")
Functions ¶
This section is empty.
Types ¶
type StDfu ¶
type StDfu struct {
// contains filtered or unexported fields
}
func (*StDfu) GetStringDescriptor ¶
func (*StDfu) SelectCurrentConfiguration ¶
Click to show internal directories.
Click to hide internal directories.