My Project  v0.0.16
Public Types | Public Member Functions | Private Member Functions | List of all members
TTCNode Class Reference

Derived class to for the TTC control block. More...

#include <TTCNode.hpp>

Inheritance diagram for TTCNode:
Inheritance graph
[legend]
Collaboration diagram for TTCNode:
Collaboration graph
[legend]

Public Types

Public Member Functions

Private Member Functions

Detailed Description

Derived class to for the TTC control block.

** Signals and resets Here are reset all those signals which have to be synchronous with the ttc. For this reason ~algo_rst~ belongs to TTC and not to the CSR (as other clock40 async resets)

** Frequency measurement Managed within: ~ttc.ttc_freq~ Meaning of subnodes

Author
Alessandro Thea
Date
August 2013

Member Enumeration Documentation

◆ FreqClockChannel

enum FreqClockChannel
Enumerator
Clock40 
RefClock 
TxClock 
RxClock 

Constructor & Destructor Documentation

◆ TTCNode()

TTCNode ( const uhal::Node&  aNode)

◆ ~TTCNode()

~TTCNode ( )
virtual

Member Function Documentation

◆ captureBGOs()

std::vector<uint64_t> captureBGOs ( bool  aMaskBC0 = false,
double  aWaitSec = 1 
) const

capture the incoming BGOs

◆ captureBGOs_old()

std::vector<uint64_t> captureBGOs_old ( bool  aMaskBC0 = false,
double  aWaitSec = 1.1 
) const

capture the incoming BGOs

◆ captureData()

void captureData ( double  wait = 1.) const

run buffers

◆ clear()

void clear ( ) const

Clears the counters.

◆ enable()

void enable ( bool  aEnable = true) const

Enable the TTC block.

◆ freqClk40()

double freqClk40 ( double  aWait = 1.1) const

freq 40 reading

◆ generateInternalBC0()

void generateInternalBC0 ( bool  aEnable = true) const

Enable internal BC0s.

◆ measureClockFreq()

double measureClockFreq ( FreqClockChannel  aFreqChan,
double  aWait = 1.1 
) const

measurement of clock frequencies

◆ report()

boost::unordered_map<std::string, std::string> report ( ) const

◆ resetClk40()

void resetClk40 ( bool  aReset) const

reset clock40

◆ sendBGo()

void sendBGo ( uint32_t  aCode) const

Send BGo.

◆ sendBTest()

void sendBTest ( ) const

Send test Bgo (Btest)

◆ UHAL_DERIVEDNODE()

UHAL_DERIVEDNODE (   TTCNode) const
private

◆ waitBC0Lock()

void waitBC0Lock ( ) const

wait for BC0Lock


The documentation for this class was generated from the following files: