AnalyzerExamples/HdmiCecAnalyzer/HdmiCecSimulationDataGenerator.cpp
void HdmiCecSimulationDataGenerator::GenStartSeq()
{
    if( mErrorType == ERR_NOSTARTSEQ )
    {
        mErrorType = ERR_NOERROR;
        return;
    }

    // The bus must be in high
    mCecSimulationData.TransitionIfNeeded( BIT_HIGH );

    // Timing values from CEC 1.3a section 5.2.1 "Start Bit Timing"
    mCecSimulationData.Transition(); // HIGH to LOW
    Advance( HdmiCec::Tim_Start_A );

    mCecSimulationData.Transition(); // LOW to HIGH
    Advance( HdmiCec::Tim_Start_B - HdmiCec::Tim_Start_A );
}
//
// Start sequence, block and bit generation
//

Start sequence, block and bit generation
Start sequence block and bit generation
void HdmiCecSimulationDataGenerator::GenStartSeq()
{
    if( mErrorType == ERR_NOSTARTSEQ )
    {
        mErrorType = ERR_NOERROR;
        return;
    }
    mCecSimulationData.TransitionIfNeeded( BIT_HIGH );
    mCecSimulationData.Transition(); 
    Advance( HdmiCec::Tim_Start_A );
    mCecSimulationData.Transition(); 
    Advance( HdmiCec::Tim_Start_B - HdmiCec::Tim_Start_A );
}
void HdmiCecSimulationDataGenerator :: GenStartSeq ( ) { if ( mErrorType == ERR_NOSTARTSEQ ) { mErrorType = ERR_NOERROR ; return ; } mCecSimulationData . TransitionIfNeeded ( BIT_HIGH ) ; mCecSimulationData . Transition ( ) ; Advance ( HdmiCec :: Tim_Start_A ) ; mCecSimulationData . Transition ( ) ; Advance ( HdmiCec :: Tim_Start_B - HdmiCec :: Tim_Start_A ) ; }
Start sequence, block and bit generation
Start sequence block and bit generation
// The bus must be in high
 // Timing values from CEC 1.3a section 5.2.1 "Start Bit Timing"
 // HIGH to LOW
 // LOW to HIGH
