GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (c) XMEDIA. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _GPIO_I2C_H
|
||||
#define _GPIO_I2C_H
|
||||
|
||||
|
||||
#define GPIO_I2C_READ 0x01
|
||||
#define GPIO_I2C_WRITE 0x03
|
||||
typedef unsigned char byte;
|
||||
|
||||
unsigned char gpio_i2c_read(unsigned char devaddress, unsigned char address);
|
||||
void gpio_i2c_write(unsigned char devaddress, unsigned char address, unsigned char value);
|
||||
byte siiReadSegmentBlockEDID(byte SlaveAddr, byte Segment, byte Offset, byte *Buffer, byte Length);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user