#include <wg0x.h>
Public Member Functions | |
void | build_arbitrary (unsigned length) |
void | build_read (unsigned page) |
void | build_write (unsigned page) |
Public Attributes | |
union { | |
struct { | |
uint8_t busy_:1 | |
uint8_t operation_:4 | |
uint8_t start_:1 | |
uint8_t unused2_:2 | |
} __packed__ | |
uint8_t command_ | |
}; | |
uint16_t | page_ |
Static Public Attributes | |
static const unsigned | SPI_ARBITRARY_OP = 3 |
static const unsigned | SPI_BUFFER_ADDR = 0xF400 |
static const unsigned | SPI_COMMAND_ADDR = 0x0230 |
static const unsigned | SPI_READ_OP = 0 |
static const unsigned | SPI_WRITE_OP = 1 |
Definition at line 77 of file wg0x.h.
void WG0XSpiEepromCmd::build_arbitrary | ( | unsigned | length | ) | [inline] |
union { ... } |
struct { ... } WG0XSpiEepromCmd::__packed__ |
uint8_t WG0XSpiEepromCmd::busy_ |
uint8_t WG0XSpiEepromCmd::command_ |
uint8_t WG0XSpiEepromCmd::operation_ |
uint16_t WG0XSpiEepromCmd::page_ |
const unsigned WG0XSpiEepromCmd::SPI_ARBITRARY_OP = 3 [static] |
const unsigned WG0XSpiEepromCmd::SPI_BUFFER_ADDR = 0xF400 [static] |
const unsigned WG0XSpiEepromCmd::SPI_COMMAND_ADDR = 0x0230 [static] |
const unsigned WG0XSpiEepromCmd::SPI_READ_OP = 0 [static] |
const unsigned WG0XSpiEepromCmd::SPI_WRITE_OP = 1 [static] |
uint8_t WG0XSpiEepromCmd::start_ |
uint8_t WG0XSpiEepromCmd::unused2_ |