📄 philips_dtv_ref4.h
字号:
/*
* Copyright (c) 1995 - 1999 by TriMedia Technologies.
*
* +------------------------------------------------------------------+
* | This software is furnished under a license and may only be used |
* | and copied in accordance with the terms and conditions of such |
* | a license and with the inclusion of this copyright notice. This |
* | software or any other copies of this software may not be provided|
* | or otherwise made available to any other person. The ownership |
* | and title of this software is not transferred. |
* | |
* | The information in this software is subject to change without |
* | any prior notice and should not be construed as a commitment by |
* | TriMedia Technologies. |
* | |
* | this code and information is provided "as is" without any |
* | warranty of any kind, either expressed or implied, including but |
* | not limited to the implied warranties of merchantability and/or |
* | fitness for any particular purpose. |
* +------------------------------------------------------------------+
*
* Module name : philips_dtv_ref4.h 1.11
*
* Last update : 19:01:56 - 00/11/09
*
*
*/
#ifndef _PHILIPS_DTV_REF4_H_
#define _PHILIPS_DTV_REF4_H_
#define DTV_REF4_IIC_EXPANDER_ADDRESS 0x70
#define DTV_REF4_IIC_EXPANDER_BK_MASK 0xc0
#define DTV_REF4_IIC_EXPANDER_BK0 0x40
#define DTV_REF4_IIC_EXPANDER_BK1 0x80
#define DTV_REF4_GPIO_BK_MASK 0x00003000
#define DTV_REF4_GPIO_BK0 0x00002000
#define DTV_REF4_GPIO_BK1 0x00001000
#define DTV_REF4_XIO_BK0 0x01
#define DTV_REF4_XIO_BK1 0x02
#define DTV_REF4_XIO_REG_BANK 0x02
#define DTV_REF4_XIO_SIO_BANK 0x02
#define DTV_REF4_XIO_FLASH_BANK 0x03
#define DTV_REF4_XIO_1394_BANK 0x02
#define DTV_REF4_IIC_DIRECTION_MASK 0x0000081c
#define DTV_REF4_IIC_DIRECTION_RTC 0x00000010
#define DTV_REF4_IIC_DIRECTION_BOOT 0x00000800
#define DTV_REF4_IIC_DIRECTION_NIM1 0x00000008
#define DTV_REF4_IIC_DIRECTION_NIM2 0x00000004
#define DTV_REF4_XIO_BASE 0xfc000000
#define DTV_REF4_XIO_REG_BASE (DTV_REF4_XIO_BASE + 0x000000)
#define DTV_REF4_XIO_FLASH_BASE (DTV_REF4_XIO_BASE + 0x000000)
#define DTV_REF4_XIO_SIO_BASE (DTV_REF4_XIO_BASE + 0x400000)
#define DTV_REF4_XIO_1394_BASE (DTV_REF4_XIO_BASE + 0x800000)
#define DTV_REF4_FLASH_SIZE 0x01000000
#define DTV_REF4_FLASH_SECTOR_SIZE 0x00004000
#define DTV_REF4_FLASH_SECTOR_NR (DTV_REF4_FLASH_SIZE / DTV_REF4_FLASH_SECTOR_SIZE)
#define DTV_REF4_FLASH_BANK_SIZE 0x00400000
#endif /* _PHILIPS_DTV_REF4_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -