|
Rcuxx::RcuRMEM Struct Reference |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| RcuRMEM (Rcu &rcu, size_t base, size_t n, unsigned int mask) | |
| unsigned int | FecRead (unsigned int addr, unsigned int &data, unsigned int off=0) |
| unsigned int | FecWrite (unsigned int addr, unsigned int data, unsigned int off=0) |
| unsigned int | FecCommand (unsigned int addr, unsigned int off=0) |
| Rcuxx::RcuRMEM::RcuRMEM | ( | Rcu & | rcu, | |
| size_t | base, | |||
| size_t | n, | |||
| unsigned int | mask | |||
| ) | [inline] |
Constructor.
| rcu | Reference to low-level interface | |
| base | Base address | |
| n | Number of words |
| unsigned int Rcuxx::RcuRMEM::FecRead | ( | unsigned int | addr, | |
| unsigned int & | data, | |||
| unsigned int | off = 0 | |||
| ) | [inline] |
Read ALTRO bus register.
| addr | Full address of read register | |
| data | Data read | |
| off | Offset in RMEM |
References Rcuxx::RcuMemory::fData, Rcuxx::RcuMemory::fRcu, Rcuxx::Rcu::Layout(), and Rcuxx::RcuMemory::Update().
Referenced by Rcuxx::AltroRegister::Read().
| unsigned int Rcuxx::RcuRMEM::FecWrite | ( | unsigned int | addr, | |
| unsigned int | data, | |||
| unsigned int | off = 0 | |||
| ) | [inline] |
Write ALTRO bus register.
| addr | Full address of read register | |
| data | Data written | |
| off | Offset in RMEM |
References Rcuxx::RcuMemory::fData, Rcuxx::RcuMemory::fRcu, Rcuxx::Rcu::kDataMismatch, Rcuxx::Rcu::Layout(), and Rcuxx::RcuMemory::Update().
Referenced by Rcuxx::AltroRegister::Write().
| unsigned int Rcuxx::RcuRMEM::FecCommand | ( | unsigned int | addr, | |
| unsigned int | off = 0 | |||
| ) | [inline] |
ALTRO bus command.
| addr | Full address of command | |
| off | Offset in RMEM |
References Rcuxx::RcuMemory::fRcu, Rcuxx::Rcu::Layout(), and Rcuxx::RcuMemory::Update().
Referenced by Rcuxx::AltroCommand::Commit().
| Top of page | Last update Wed Jun 4 00:51:52 2008 |
| Copyright © 2004 Christian Holm | Created by DoxyGen 1.5.6 |