libClearCore/src/DigitalInOutAnalogOut.cpp
void DigitalInOutAnalogOut::Initialize(ClearCorePins clearCorePin) {
    // Perform any digital input/output initializing
    DacInitialize();
    DigitalInOut::Initialize(clearCorePin);
    // Mode is now set to INPUT_DIGITAL

    // Initialize the PMUX for analog output, but don't enable the MUX
    PMUX_SELECTION(m_inputPort, m_inputDataBit, PER_ANALOG);   // (-) DAC output
    PMUX_SELECTION(m_analogPort, m_analogDataBit, PER_ANALOG); // (+) DAC output
}
/**
    Get the DAC and the DigitalInOut ready to go, and get into digital
    input mode.
**/
Get the DAC and the DigitalInOut ready to go, and get into digital
input mode.
Get the DAC and the DigitalInOut ready to go and get into digital input mode .
void DigitalInOutAnalogOut::Initialize(ClearCorePins clearCorePin) {
    DacInitialize();
    DigitalInOut::Initialize(clearCorePin);
    PMUX_SELECTION(m_inputPort, m_inputDataBit, PER_ANALOG);   
    PMUX_SELECTION(m_analogPort, m_analogDataBit, PER_ANALOG); 
}
void DigitalInOutAnalogOut :: Initialize ( ClearCorePins clearCorePin ) { DacInitialize ( ) ; DigitalInOut :: Initialize ( clearCorePin ) ; PMUX_SELECTION ( m_inputPort , m_inputDataBit , PER_ANALOG ) ; PMUX_SELECTION ( m_analogPort , m_analogDataBit , PER_ANALOG ) ; }
Get the DAC and the DigitalInOut ready to go, and get into digital
input mode.
Get the DAC and the DigitalInOut ready to go and get into digital input mode .
// Perform any digital input/output initializing // Mode is now set to INPUT_DIGITAL // Initialize the PMUX for analog output, but don't enable the MUX // (-) DAC output // (+) DAC output