omap3530/omap3530_drivers/i2c/omap3530_i2creg.h
changeset 0 6663340f3fc9
equal deleted inserted replaced
-1:000000000000 0:6663340f3fc9
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // omap3530/omap3530_drivers/i2c/omap3530_i2creg.h
       
    15 // I2C register interface - uses the I2C driver main interface
       
    16 // This file is part of the Beagle Base port
       
    17 //
       
    18 
       
    19 #ifndef OMAP3530_I2CREG_H_
       
    20 #define OMAP3530_I2CREG_H_
       
    21 
       
    22 #include <assp/omap3530_assp/omap3530_i2c.h> // for I2c::THandle
       
    23 namespace I2cReg
       
    24 {
       
    25 IMPORT_C TUint8 ReadB(I2c::THandle, TUint8 aAddr); // Synchronous read of a single byte at address aAddr
       
    26 IMPORT_C void WriteB(I2c::THandle, TUint8 aAddr, TUint8 aData); // Synchronous write of a single byte, aData, at address aAddr
       
    27 }
       
    28 
       
    29 #endif // !OMAP3530_I2CREG_H_