📄 otg_xvr_isp1301.h
字号:
/**
* Project Name : 2460 Verification
*
* Copyright 2005 by Samsung Electronics,Inc.
* All rights reserved.
*
* Project Description :
*
*/
/**
* File Name : otg_xvr_isp1301.h
*
* File Description :
* this file defines the otg transceiver, ISP1301 of Phillips
* and declares function prototypes needed
*
* Author : Haksoo Kim(Sue)
* Dept : AP
* Created Date : 2005/03/02
* Version : 0.9
*
* Revision History :
* (who) (when) (why)
* Haksoo Kim 2005/03/02 .....
*
*/
#ifndef __otgxvr_H__
#define __otgxvr_H__
#ifdef __cplusplus
extern "C"
{
#endif
#include "type.h"
//* IIC device address
#define OTG_XVR_ISP1301_ADDR 0x2C
//* register map
#define ISP1301_VENDOR_ID_LOW 0x00
#define ISP1301_VENDOR_ID_HIGH 0x01
#define ISP1301_PRODUCT_ID_LOW 0x02
#define ISP1301_PRODUCT_ID_HIGH 0x03
#define ISP1301_MODE_CTRL1_SET 0x04
#define ISP1301_MODE_CTRL1_CLR 0x05
#define ISP1301_OTG_CTRL_SET 0x06
#define ISP1301_OTG_CTRL_CLR 0x07
#define ISP1301_INT_SRC 0x08
//0x09
#define ISP1301_INT_LATCH_SET 0x0A
#define ISP1301_INT_LATCH_CLR 0x0B
#define ISP1301_INT_EN_LOW_SET 0x0C
#define ISP1301_INT_EN_LOW_CLR 0x0D
#define ISP1301_INT_EN_HIGH_SET 0x0E
#define ISP1301_INT_EN_HIGH_CLR 0x0F
#define ISP1301_OTG_STATUS 0x10
//0x11
#define ISP1301_MODE_CTRL2_SET 0x12
#define ISP1301_MODE_CTRL2_CLR 0x13
#define ISP1301_VERSION_ID_LOW 0x14
#define ISP1301_VERSION_ID_HIGH 0x15
#ifdef __cplusplus
}
#endif
#endif //__otgxvr_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -