#include "ethercat_hardware/wg_eeprom.h"
#include "ros/ros.h"
#include <boost/static_assert.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread.hpp>
Go to the source code of this file.
Classes | |
struct | ethercat_hardware::EepromStatusReg |
struct | ethercat_hardware::WG0XSpiEepromCmd |
Namespaces | |
ethercat_hardware | |
Functions | |
struct ethercat_hardware::MotorHeatingModelParameters | ethercat_hardware::__attribute__ ((__packed__)) |
struct { | |
uint8_t compare_: 1 | |
uint8_t eeprom_size_: 4 | |
uint8_t page_size_: 1 | |
uint8_t ready_: 1 | |
uint8_t write_protect_: 1 | |
} | __attribute__ ((__packed__)) |
void | build_arbitrary (unsigned length) |
void | build_read (unsigned page) |
void | build_write (unsigned page) |
Variables | |
union { | |
uint8_t command_ | |
} | __attribute__ |
uint8_t | busy_ |
uint8_t | compare_ |
uint8_t | eeprom_size_ |
uint8_t | operation_ |
uint16_t | page_ |
uint8_t | page_size_ |
uint8_t | raw_ |
uint8_t | ready_ |
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 |
uint8_t | start_ |
uint8_t | unused2_ |
uint8_t | write_protect_ |
struct @59 __attribute__::__attribute__ | ( | (__packed__) | ) |
void __attribute__::build_arbitrary | ( | unsigned | length | ) |
Definition at line 59 of file wg_eeprom.cpp.
void __attribute__::build_read | ( | unsigned | page | ) |
Definition at line 47 of file wg_eeprom.cpp.
void __attribute__::build_write | ( | unsigned | page | ) |
Definition at line 53 of file wg_eeprom.cpp.
union { ... } __attribute__ |
uint8_t busy_ |
Definition at line 118 of file wg_eeprom.cpp.
uint8_t command_ |
Definition at line 37 of file wg_eeprom.cpp.
uint8_t compare_ |
Definition at line 129 of file wg_eeprom.cpp.
uint8_t eeprom_size_ |
Definition at line 128 of file wg_eeprom.cpp.
uint8_t operation_ |
Definition at line 116 of file wg_eeprom.cpp.
uint16_t page_ |
Definition at line 34 of file wg_eeprom.cpp.
uint8_t page_size_ |
Definition at line 126 of file wg_eeprom.cpp.
uint8_t raw_ |
Definition at line 42 of file wg_eeprom.cpp.
uint8_t ready_ |
Definition at line 130 of file wg_eeprom.cpp.
|
static |
Definition at line 68 of file wg_eeprom.cpp.
|
static |
Definition at line 71 of file wg_eeprom.cpp.
|
static |
Definition at line 70 of file wg_eeprom.cpp.
|
static |
Definition at line 66 of file wg_eeprom.cpp.
|
static |
Definition at line 67 of file wg_eeprom.cpp.
uint8_t start_ |
Definition at line 117 of file wg_eeprom.cpp.
uint8_t unused2_ |
Definition at line 119 of file wg_eeprom.cpp.
uint8_t write_protect_ |
Definition at line 127 of file wg_eeprom.cpp.