Update contrib.
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
22 const TInt KIicPslNumOfChannels = 3; // Arbitrary value - represents the number of channels supported
24 const TUint KIicPslInterruptsAll = 0xFF; // Arbitrary value, for template
25 const TUint KIicPslRxInterrupt = 0x1; // Arbitrary value, for template
26 const TUint KIicPslTxInterrupt = 0x2; // Arbitrary value, for template
28 const TInt KTimeoutValue = 5; // guard-timer timeout value (in ms)
30 // Array of pointers to the channels that are created by the PSL.
31 // The array is used to register these channels with the IIC Bus Controller
32 extern DIicBusChannel* ChannelPtrArray[KIicPslNumOfChannels];
35 // A bit-field to store the current mode of operation
36 struct TIicOperationType
43 ETransmitReceive = 0x03
48 TUint8 iIsTransmitting : 1;
49 TUint8 iIsReceiving : 1;
60 #endif /*__IIC_PSL_H__*/