$search

WG0XSpiEepromCmd Struct Reference

#include <wg0x.h>

List of all members.

Public Member Functions

void build_arbitrary (unsigned length)
void build_read (unsigned page)
void build_write (unsigned page)

Public Attributes

union {
   struct {
      uint8_t   busy_:1
      uint8_t   operation_:4
      uint8_t   start_:1
      uint8_t   unused2_:2
   }   __packed__
   uint8_t   command_
}; 
uint16_t page_

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 79 of file wg0x.h.


Member Function Documentation

void WG0XSpiEepromCmd::build_arbitrary ( unsigned  length  )  [inline]

Definition at line 106 of file wg0x.h.

void WG0XSpiEepromCmd::build_read ( unsigned  page  )  [inline]

Definition at line 94 of file wg0x.h.

void WG0XSpiEepromCmd::build_write ( unsigned  page  )  [inline]

Definition at line 100 of file wg0x.h.


Member Data Documentation

union { ... }

Definition at line 89 of file wg0x.h.

Definition at line 84 of file wg0x.h.

Definition at line 87 of file wg0x.h.

Definition at line 81 of file wg0x.h.

const unsigned WG0XSpiEepromCmd::SPI_ARBITRARY_OP = 3 [static]

Definition at line 115 of file wg0x.h.

const unsigned WG0XSpiEepromCmd::SPI_BUFFER_ADDR = 0xF400 [static]

Definition at line 118 of file wg0x.h.

const unsigned WG0XSpiEepromCmd::SPI_COMMAND_ADDR = 0x0230 [static]

Definition at line 117 of file wg0x.h.

const unsigned WG0XSpiEepromCmd::SPI_READ_OP = 0 [static]

Definition at line 113 of file wg0x.h.

const unsigned WG0XSpiEepromCmd::SPI_WRITE_OP = 1 [static]

Definition at line 114 of file wg0x.h.

Definition at line 88 of file wg0x.h.

Definition at line 90 of file wg0x.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


ethercat_hardware
Author(s): Rob Wheeler (email: wheeler@willowgarage.com), Maintained by Derek King (email: dking@willowgarage.com)
autogenerated on Fri Mar 1 16:52:18 2013