Documentation ¶
Index ¶
- func DumpPLD() error
- func FindProgrammerRCRA() (rcra uintptr, err error)
- func GetSelectedSPI() (spinum uint, err error)
- func SelectSPI(spinum uint) (err error)
- type Command
- type Programmer
- func (p *Programmer) BiosBase() uint32
- func (p *Programmer) BiosImageSize() uint32
- func (p *Programmer) BiosLimit() uint32
- func (p *Programmer) CheckErased(base, size uint32, c chan float32) (erased bool, err error)
- func (p *Programmer) Close() (err error)
- func (p *Programmer) CurrentSPINum() uint
- func (p *Programmer) EraseFlash(addr, size uint32, c chan float32) (err error)
- func (p *Programmer) Open(spinum uint) (err error)
- func (p *Programmer) ReadAt(b []byte, off int64, c chan float32) (n int, err error)
- func (p *Programmer) TotalFlashSize() uint32
- func (p *Programmer) WriteAt(b []byte, off int64, c chan float32) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindProgrammerRCRA ¶
func GetSelectedSPI ¶
Types ¶
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) TotalFlashSize ¶
func (p *Programmer) TotalFlashSize() uint32
Click to show internal directories.
Click to hide internal directories.