Versions in this module Expand all Collapse all v0 v0.0.2 Aug 4, 2024 Changes in this version + type CommandObj struct + func AttachSpiFlash() *CommandObj + func ChangeBaudRate(newBaudrate uint32, oldBaudrate uint32) *CommandObj + func Sync() *CommandObj + func (c *CommandObj) Bytes() []byte + func (c *CommandObj) Checksum(data []byte) *CommandObj + func (c *CommandObj) Opcode() string + func (c *CommandObj) OpcodeToByte() byte + type FlashCommandObj struct + var Flash FlashCommandObj + func (FlashCommandObj) Begin(eraseSize uint32, numBlocks uint32, blockSize uint32, offset uint32) *CommandObj + func (FlashCommandObj) BeginDeflate(eraseSize uint32, numBlocks uint32, blockSize uint32, offset uint32) *CommandObj + func (FlashCommandObj) Data(data []byte, sequence uint32) *CommandObj + func (FlashCommandObj) DataDeflate(data []byte, sequence uint32) *CommandObj + func (FlashCommandObj) End(reboot bool) *CommandObj + type NumberObj struct + var Number NumberObj + func (NumberObj) Uint16(data uint16) []byte + func (NumberObj) Uint32(data uint32) []byte + type ReadCommandObj struct + var Read ReadCommandObj + func (ReadCommandObj) Flash(offset uint32, size uint32) *CommandObj + func (ReadCommandObj) Register(register uint32) *CommandObj