Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ethercat_hardware::WG0XSpiEepromCmd Struct Reference

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
 

Detailed Description

Definition at line 78 of file wg_eeprom.cpp.

Member Function Documentation

◆ build_arbitrary()

void ethercat_hardware::WG0XSpiEepromCmd::build_arbitrary ( unsigned  length)
inline

Definition at line 137 of file wg_eeprom.cpp.

◆ build_read()

void ethercat_hardware::WG0XSpiEepromCmd::build_read ( unsigned  page)
inline

Definition at line 125 of file wg_eeprom.cpp.

◆ build_write()

void ethercat_hardware::WG0XSpiEepromCmd::build_write ( unsigned  page)
inline

Definition at line 131 of file wg_eeprom.cpp.

Member Data Documentation

◆ __attribute__

union { ... } ethercat_hardware::WG0XSpiEepromCmd::__attribute__

◆ busy_

uint8_t ethercat_hardware::WG0XSpiEepromCmd::busy_

Definition at line 120 of file wg_eeprom.cpp.

◆ command_

uint8_t ethercat_hardware::WG0XSpiEepromCmd::command_

Definition at line 115 of file wg_eeprom.cpp.

◆ operation_

uint8_t ethercat_hardware::WG0XSpiEepromCmd::operation_

Definition at line 118 of file wg_eeprom.cpp.

◆ page_

uint16_t ethercat_hardware::WG0XSpiEepromCmd::page_

Definition at line 112 of file wg_eeprom.cpp.

◆ SPI_ARBITRARY_OP

const unsigned ethercat_hardware::WG0XSpiEepromCmd::SPI_ARBITRARY_OP = 3
static

Definition at line 146 of file wg_eeprom.cpp.

◆ SPI_BUFFER_ADDR

const unsigned ethercat_hardware::WG0XSpiEepromCmd::SPI_BUFFER_ADDR = 0xF400
static

Definition at line 149 of file wg_eeprom.cpp.

◆ SPI_COMMAND_ADDR

const unsigned ethercat_hardware::WG0XSpiEepromCmd::SPI_COMMAND_ADDR = 0x0230
static

Definition at line 148 of file wg_eeprom.cpp.

◆ SPI_READ_OP

const unsigned ethercat_hardware::WG0XSpiEepromCmd::SPI_READ_OP = 0
static

Definition at line 144 of file wg_eeprom.cpp.

◆ SPI_WRITE_OP

const unsigned ethercat_hardware::WG0XSpiEepromCmd::SPI_WRITE_OP = 1
static

Definition at line 145 of file wg_eeprom.cpp.

◆ start_

uint8_t ethercat_hardware::WG0XSpiEepromCmd::start_

Definition at line 119 of file wg_eeprom.cpp.

◆ unused2_

uint8_t ethercat_hardware::WG0XSpiEepromCmd::unused2_

Definition at line 121 of file wg_eeprom.cpp.


The documentation for this struct was generated from the following file:


ethercat_hardware
Author(s): Rob Wheeler , Derek King
autogenerated on Thu Sep 26 2024 02:44:05