Update SPI master pin handling: added dynamic pin configuration for McSPI3 (needed if want to use multiple device on this interface. Now following number of Slave devices is available: McSPI1: 4, McSPI2: 2, McSPI3: 6 (2 per each pin configuration), McSPI4: 1. Only McSPI3 and McSPI4 are available now -there are issues with McSPI1 & 2 due to register access (something wrong with mapping? There is Fault Category: Exception Fault Reason: 10000000
/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/
#ifndef __BEAGLEVARIANT_SOUND_H__
#define __BEAGLEVARIANT_SOUND_H__
#include "shared_sound.h"
class DDriverBeagleSoundScPddFactory : public DPhysicalDevice
{
public:
DDriverBeagleSoundScPddFactory();
TInt Install();
void GetCaps(TDes8 &aDes) const;
TInt Create(DBase*& aChannel, TInt aUnit, const TDesC8* anInfo, const TVersion &aVer);
TInt Validate(TInt aUnit, const TDesC8* anInfo, const TVersion &aVer);
public:
/** The DFC queue to be used by both the LDD and the PDD to serialise access to the PDD */
TDfcQue* iDfcQ;
};
#endif