cslr_ectl.h

来自「ti的TMS320C64XEMAC应用源代码」· C头文件 代码 · 共 51 行

H
51
字号
#ifndef _CSLR_ECTL_1_08_H_
#define _CSLR_ECTL_1_08_H_
/*********************************************************************
 * Copyright (C) 2003-2004 Texas Instruments Incorporated.
 * All Rights Reserved
 *********************************************************************/
 /** \file cslr_ectl_1_08.h
 *
 * \brief This file contains the Register Desciptions for ECTL
 *
 *********************************************************************/

#include <cslr.h>

#include <tistdtypes.h>

/**************************************************************************\
* Register Overlay Structure
\**************************************************************************/
typedef struct  {
    volatile Uint8 RSVD0[4];
    volatile Uint32 EWCTL;
    volatile Uint32 EWINTTCNT;
} CSL_EctlRegs;

/**************************************************************************\
* Field Definition Macros
\**************************************************************************/

/* EWCTL */

#define CSL_ECTL_EWCTL_INTEN_MASK       (0x00000001u)
#define CSL_ECTL_EWCTL_INTEN_SHIFT      (0x00000000u)
#define CSL_ECTL_EWCTL_INTEN_RESETVAL   (0x00000000u)

/*----INTEN Tokens----*/
#define CSL_ECTL_EWCTL_INTEN_DISABLE    (0x00000000u)
#define CSL_ECTL_EWCTL_INTEN_ENABLE     (0x00000001u)

#define CSL_ECTL_EWCTL_RESETVAL         (0x00000000u)

/* EWINTTCNT */

#define CSL_ECTL_EWINTTCNT_EWINTTCNT_MASK (0x0001FFFFu)
#define CSL_ECTL_EWINTTCNT_EWINTTCNT_SHIFT (0x00000000u)
#define CSL_ECTL_EWINTTCNT_EWINTTCNT_RESETVAL (0x00000000u)

#define CSL_ECTL_EWINTTCNT_RESETVAL     (0x00000000u)

#endif

⌨️ 快捷键说明

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