cifdef.h

来自「本程序为ST公司开发的源代码」· C头文件 代码 · 共 41 行

H
41
字号
/**************************************************
 *
 *
 * CVS ID:   $Id: cifdef.h,v 1.1 2006/01/31 18:50:14 belardi Exp $
 * Author:   Maurizio Marcucci [MM] - STM
 * Date:     $Date: 2006/01/31 18:50:14 $
 * Revision: $Revision: 1.1 $
 * 
 * Description:
 * 
 *   Accordo+ Hardware registers definition
 *
 ***************************************************
 * 
 * COPYRIGHT (C) ST Microelectronics  2005
 *            All Rights Reserved
 *
 ***************************************************/
// CIF_CONF

typedef struct
{
 UInt rd_en        :1;   // Bit 0
 UInt rd_burst_len :2;   // Bit 1-2
 UInt rd_fifo_rst  :1;   // Bit 3
 UInt rd_fifo_cnt  :5;   // Bit 4-8
 UInt wr_en        :1;   // Bit 9
 UInt wr_burst_len :2;   // Bit 10-11
 UInt wr_fifo_rst  :1;   // Bit 12
 UInt wr_fifo_cnt  :5;   // Bit 13-17
 UInt src          :1;   // Bit 18
 UInt              :13;  // Bit 11
} CIF_CONF_STRUCT;


typedef union
{
 CIF_CONF_STRUCT field;
 uint32 all;
} CIF_CONF_UNION;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?