1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/assp/omap3530_assp/omap3530_i2creg.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,29 @@
1.4 +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// omap3530/omap3530_drivers/i2c/omap3530_i2creg.h
1.18 +// I2C register interface - uses the I2C driver main interface
1.19 +// This file is part of the Beagle Base port
1.20 +//
1.21 +
1.22 +#ifndef OMAP3530_I2CREG_H_
1.23 +#define OMAP3530_I2CREG_H_
1.24 +
1.25 +#include <assp/omap3530_assp/omap3530_i2c.h> // for I2c::THandle
1.26 +namespace I2cReg
1.27 +{
1.28 +IMPORT_C TUint8 ReadB(I2c::THandle, TUint8 aAddr); // Synchronous read of a single byte at address aAddr
1.29 +IMPORT_C void WriteB(I2c::THandle, TUint8 aAddr, TUint8 aData); // Synchronous write of a single byte, aData, at address aAddr
1.30 +}
1.31 +
1.32 +#endif // !OMAP3530_I2CREG_H_