williamr@4: // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@4: // All rights reserved. williamr@4: // This component and the accompanying materials are made available williamr@4: // under the terms of the License "Eclipse Public License v1.0" williamr@4: // which accompanies this distribution, and is available williamr@4: // at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@4: // williamr@4: // Initial Contributors: williamr@4: // Nokia Corporation - initial contribution. williamr@4: // williamr@4: // Contributors: williamr@4: // williamr@4: // Description: williamr@4: // omap3530/omap3530_drivers/i2c/omap3530_i2creg.h williamr@4: // I2C register interface - uses the I2C driver main interface williamr@4: // This file is part of the Beagle Base port williamr@4: // williamr@4: williamr@4: #ifndef OMAP3530_I2CREG_H_ williamr@4: #define OMAP3530_I2CREG_H_ williamr@4: williamr@4: #include // for I2c::THandle williamr@4: namespace I2cReg williamr@4: { williamr@4: IMPORT_C TUint8 ReadB(I2c::THandle, TUint8 aAddr); // Synchronous read of a single byte at address aAddr williamr@4: IMPORT_C void WriteB(I2c::THandle, TUint8 aAddr, TUint8 aData); // Synchronous write of a single byte, aData, at address aAddr williamr@4: } williamr@4: williamr@4: #endif // !OMAP3530_I2CREG_H_