Public Member Functions | |
void | build_arbitrary (unsigned length) |
void | build_read (unsigned page) |
void | build_write (unsigned page) |
Public Attributes | |
union { | |
uint8_t command_ | |
} | __attribute__ |
uint16_t | page_ |
uint8_t | busy_:1 |
uint8_t | operation_:4 |
uint8_t | start_:1 |
uint8_t | unused2_:2 |
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 42 of file wg_eeprom.cpp.
void ethercat_hardware::WG0XSpiEepromCmd::build_arbitrary | ( | unsigned | length | ) | [inline] |
Definition at line 69 of file wg_eeprom.cpp.
void ethercat_hardware::WG0XSpiEepromCmd::build_read | ( | unsigned | page | ) | [inline] |
Definition at line 57 of file wg_eeprom.cpp.
void ethercat_hardware::WG0XSpiEepromCmd::build_write | ( | unsigned | page | ) | [inline] |
Definition at line 63 of file wg_eeprom.cpp.
union { ... } ethercat_hardware::WG0XSpiEepromCmd::__attribute__ |
Definition at line 52 of file wg_eeprom.cpp.
Definition at line 47 of file wg_eeprom.cpp.
Definition at line 50 of file wg_eeprom.cpp.
Definition at line 44 of file wg_eeprom.cpp.
const unsigned ethercat_hardware::WG0XSpiEepromCmd::SPI_ARBITRARY_OP = 3 [static] |
Definition at line 78 of file wg_eeprom.cpp.
const unsigned ethercat_hardware::WG0XSpiEepromCmd::SPI_BUFFER_ADDR = 0xF400 [static] |
Definition at line 81 of file wg_eeprom.cpp.
const unsigned ethercat_hardware::WG0XSpiEepromCmd::SPI_COMMAND_ADDR = 0x0230 [static] |
Definition at line 80 of file wg_eeprom.cpp.
const unsigned ethercat_hardware::WG0XSpiEepromCmd::SPI_READ_OP = 0 [static] |
Definition at line 76 of file wg_eeprom.cpp.
const unsigned ethercat_hardware::WG0XSpiEepromCmd::SPI_WRITE_OP = 1 [static] |
Definition at line 77 of file wg_eeprom.cpp.
Definition at line 51 of file wg_eeprom.cpp.
Definition at line 53 of file wg_eeprom.cpp.