Classes | Namespaces | Functions | Variables
wg_eeprom.cpp File Reference
#include "ethercat_hardware/wg_eeprom.h"
#include "ros/ros.h"
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 108 of file wg_eeprom.cpp.

void __attribute__::build_read ( unsigned  page)

Definition at line 96 of file wg_eeprom.cpp.

void __attribute__::build_write ( unsigned  page)

Definition at line 102 of file wg_eeprom.cpp.


Variable Documentation

union { ... } __attribute__
uint8_t busy_

Definition at line 57 of file wg_eeprom.cpp.

uint8_t command_

Definition at line 86 of file wg_eeprom.cpp.

uint8_t compare_

Definition at line 100 of file wg_eeprom.cpp.

uint8_t eeprom_size_

Definition at line 99 of file wg_eeprom.cpp.

uint8_t operation_

Definition at line 55 of file wg_eeprom.cpp.

uint16_t page_

Definition at line 83 of file wg_eeprom.cpp.

uint8_t page_size_

Definition at line 97 of file wg_eeprom.cpp.

uint8_t raw_

Definition at line 98 of file wg_eeprom.cpp.

uint8_t ready_

Definition at line 101 of file wg_eeprom.cpp.

const unsigned SPI_ARBITRARY_OP = 3 [static]

Definition at line 117 of file wg_eeprom.cpp.

const unsigned SPI_BUFFER_ADDR = 0xF400 [static]

Definition at line 120 of file wg_eeprom.cpp.

const unsigned SPI_COMMAND_ADDR = 0x0230 [static]

Definition at line 119 of file wg_eeprom.cpp.

const unsigned SPI_READ_OP = 0 [static]

Definition at line 115 of file wg_eeprom.cpp.

const unsigned SPI_WRITE_OP = 1 [static]

Definition at line 116 of file wg_eeprom.cpp.

uint8_t start_

Definition at line 56 of file wg_eeprom.cpp.

uint8_t unused2_

Definition at line 58 of file wg_eeprom.cpp.

uint8_t write_protect_

Definition at line 98 of file wg_eeprom.cpp.



ethercat_hardware
Author(s): Rob Wheeler (email: wheeler@willowgarage.com), Maintained by Derek King (email: dking@willowgarage.com)
autogenerated on Thu Apr 24 2014 15:43:45