]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/IndustryStandard/SmBus.h
Change BDS to get the default logo picture by default bmp logo guid.
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / SmBus.h
1 /** @file
2 This file declares the SMBus definitions defined in SmBus Specifciation
3 V2.0.
4
5 Copyright (c) 2007, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 @par Revision Reference:
15 These definitions are defined in System Management Bus (SmBus) Specification V2.0.
16
17 **/
18
19 #ifndef _SMBUS_H_
20 #define _SMBUS_H_
21
22 //
23 // Smbus Device Address, Smbus Device Command, Smbus Operations
24 //
25 typedef struct {
26 UINTN SmbusDeviceAddress : 7;
27 } EFI_SMBUS_DEVICE_ADDRESS;
28
29 typedef UINTN EFI_SMBUS_DEVICE_COMMAND;
30
31 typedef enum _EFI_SMBUS_OPERATION
32 {
33 EfiSmbusQuickRead,
34 EfiSmbusQuickWrite,
35 EfiSmbusReceiveByte,
36 EfiSmbusSendByte,
37 EfiSmbusReadByte,
38 EfiSmbusWriteByte,
39 EfiSmbusReadWord,
40 EfiSmbusWriteWord,
41 EfiSmbusReadBlock,
42 EfiSmbusWriteBlock,
43 EfiSmbusProcessCall,
44 EfiSmbusBWBRProcessCall
45 } EFI_SMBUS_OPERATION;
46
47 #endif
48