Classes | Namespaces | Functions | Variables
wg_eeprom.cpp File Reference
#include "ethercat_hardware/wg_eeprom.h"
#include "ros/ros.h"
#include <boost/thread.hpp>
Include dependency graph for wg_eeprom.cpp:

Go to the source code of this file.

Classes

struct  ethercat_hardware::EepromStatusReg
struct  ethercat_hardware::WG0XSpiEepromCmd

Namespaces

namespace  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_

Function Documentation

struct @59 __attribute__::__attribute__ ( (__packed__)  )
void __attribute__::build_arbitrary ( unsigned  length)

Definition at line 110 of file wg_eeprom.cpp.

void __attribute__::build_read ( unsigned  page)

Definition at line 98 of file wg_eeprom.cpp.

void __attribute__::build_write ( unsigned  page)

Definition at line 104 of file wg_eeprom.cpp.


Variable Documentation

union { ... } __attribute__
uint8_t busy_

Definition at line 59 of file wg_eeprom.cpp.

uint8_t command_

Definition at line 88 of file wg_eeprom.cpp.

uint8_t compare_

Definition at line 102 of file wg_eeprom.cpp.

uint8_t eeprom_size_

Definition at line 101 of file wg_eeprom.cpp.

uint8_t operation_

Definition at line 57 of file wg_eeprom.cpp.

uint16_t page_

Definition at line 85 of file wg_eeprom.cpp.

uint8_t page_size_

Definition at line 99 of file wg_eeprom.cpp.

uint8_t raw_

Definition at line 100 of file wg_eeprom.cpp.

uint8_t ready_

Definition at line 103 of file wg_eeprom.cpp.

const unsigned SPI_ARBITRARY_OP = 3 [static]

Definition at line 119 of file wg_eeprom.cpp.

const unsigned SPI_BUFFER_ADDR = 0xF400 [static]

Definition at line 122 of file wg_eeprom.cpp.

const unsigned SPI_COMMAND_ADDR = 0x0230 [static]

Definition at line 121 of file wg_eeprom.cpp.

const unsigned SPI_READ_OP = 0 [static]

Definition at line 117 of file wg_eeprom.cpp.

const unsigned SPI_WRITE_OP = 1 [static]

Definition at line 118 of file wg_eeprom.cpp.

uint8_t start_

Definition at line 58 of file wg_eeprom.cpp.

uint8_t unused2_

Definition at line 60 of file wg_eeprom.cpp.

uint8_t write_protect_

Definition at line 100 of file wg_eeprom.cpp.



ethercat_hardware
Author(s): Rob Wheeler , Derek King
autogenerated on Fri Aug 28 2015 12:09:44