biosupdate

package
v1.13.5 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpPLD

func DumpPLD() error

func FindProgrammerRCRA

func FindProgrammerRCRA() (rcra uintptr, err error)

func GetSelectedSPI

func GetSelectedSPI() (spinum uint, err error)

func SelectSPI

func SelectSPI(spinum uint) (err error)

Types

type Command

type Command struct{}

func (Command) Apropos

func (Command) Apropos() lang.Alt

func (Command) Main

func (Command) Main(args ...string) (err error)

func (Command) Man

func (Command) Man() lang.Alt

func (Command) String

func (Command) String() string

func (Command) Usage

func (Command) Usage() string

type Programmer

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

func (*Programmer) BiosBase

func (p *Programmer) BiosBase() uint32

func (*Programmer) BiosImageSize

func (p *Programmer) BiosImageSize() uint32

func (*Programmer) BiosLimit

func (p *Programmer) BiosLimit() uint32

func (*Programmer) CheckErased

func (p *Programmer) CheckErased(base, size uint32, c chan float32) (erased bool, err error)

func (*Programmer) Close

func (p *Programmer) Close() (err error)

func (*Programmer) CurrentSPINum

func (p *Programmer) CurrentSPINum() uint

func (*Programmer) EraseFlash

func (p *Programmer) EraseFlash(addr, size uint32, c chan float32) (err error)

func (*Programmer) Open

func (p *Programmer) Open(spinum uint) (err error)

func (*Programmer) ReadAt

func (p *Programmer) ReadAt(b []byte, off int64, c chan float32) (n int, err error)

func (*Programmer) TotalFlashSize

func (p *Programmer) TotalFlashSize() uint32

func (*Programmer) WriteAt

func (p *Programmer) WriteAt(b []byte, off int64, c chan float32) (n int, err error)

Jump to

Keyboard shortcuts

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