|
Rcuxx::U2F Class Reference |
Public Member Functions | |
~U2F () | |
std::string | ErrorString (unsigned int code) |
virtual void | SetDebug (int id, int lvl) |
virtual unsigned int | ExecCommand (unsigned int cmd) |
virtual unsigned int | ReadMemory (unsigned int addr, unsigned int offset, unsigned int &size, unsigned int *data) |
virtual unsigned int | WriteMemory (unsigned int addr, unsigned int offset, unsigned int &size, unsigned int *data) |
virtual unsigned int | ReadDataMemory (unsigned int lbase, unsigned int hbase, unsigned int offset, unsigned int &size, unsigned int *data) |
virtual unsigned int | WriteDataMemory (unsigned int lbase, unsigned int hbase, unsigned int offset, unsigned int &size, unsigned int *data) |
Protected Member Functions | |
U2F () | |
U2F (const U2F &other) | |
U2F (const Url &node, bool debug=false) | |
void | SetupRegisters () |
Protected Attributes | |
int | fHandle |
Rcuxx::U2F::~U2F | ( | ) |
Destructor.
Rcuxx::U2F::U2F | ( | ) | [protected] |
Default ctor.
Rcuxx::U2F::U2F | ( | const U2F & | other | ) | [protected] |
Copy ctor.
Rcuxx::U2F::U2F | ( | const Url & | node, | |
bool | debug = false | |||
) | [protected] |
Create the register interface tab.
std::string Rcuxx::U2F::ErrorString | ( | unsigned int | code | ) | [virtual] |
Get an error string corresponding to an error code.
code | The error code |
Reimplemented from Rcuxx::Rcu.
virtual void Rcuxx::U2F::SetDebug | ( | int | id, | |
int | lvl | |||
) | [virtual] |
virtual unsigned int Rcuxx::U2F::ExecCommand | ( | unsigned int | cmd | ) | [virtual] |
Execute a command.
cmd | Command to execute |
Implements Rcuxx::Rcu.
virtual unsigned int Rcuxx::U2F::ReadMemory | ( | unsigned int | addr, | |
unsigned int | offset, | |||
unsigned int & | size, | |||
unsigned int * | data | |||
) | [virtual] |
Read a memory block.
addr | Base address | |
offset | Where to start reading | |
size | How many words to read. | |
data | Array of data to read into |
Implements Rcuxx::Rcu.
virtual unsigned int Rcuxx::U2F::WriteMemory | ( | unsigned int | addr, | |
unsigned int | offset, | |||
unsigned int & | size, | |||
unsigned int * | data | |||
) | [virtual] |
Write to a memory block.
addr | Base address | |
offset | Where to start writing | |
size | How many words to write | |
data | Array of data to write into |
Implements Rcuxx::Rcu.
virtual unsigned int Rcuxx::U2F::ReadDataMemory | ( | unsigned int | lbase, | |
unsigned int | hbase, | |||
unsigned int | offset, | |||
unsigned int & | size, | |||
unsigned int * | data | |||
) | [virtual] |
Read a data memory block.
lbase | Base address for low bits | |
hbase | Base address for high bits | |
offset | Where to start reading | |
size | How many words to read. | |
data | Array of data to read into |
Reimplemented from Rcuxx::Rcu.
virtual unsigned int Rcuxx::U2F::WriteDataMemory | ( | unsigned int | lbase, | |
unsigned int | hbase, | |||
unsigned int | offset, | |||
unsigned int & | size, | |||
unsigned int * | data | |||
) | [virtual] |
Write a data memory block.
lbase | Base address for low bits | |
hbase | Base address for high bits | |
offset | Where to start writing | |
size | How many words to write | |
data | Array of data to write |
Reimplemented from Rcuxx::Rcu.
void Rcuxx::U2F::SetupRegisters | ( | ) | [protected, virtual] |
int Rcuxx::U2F::fHandle [protected] |
Handle to U2F.
Top of page | Last update Wed Jun 4 00:47:52 2008 |
Copyright © 2004 Christian Holm | Created by DoxyGen 1.5.6 |