⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cm.h

📁 ADS1.2 samples
💻 H
字号:
/******************************************************************************
**                                                                           **
**  Copyright (c) 2002 ARM Limited                                           **
**  All rights reserved                                                      **
**                                                                           **
******************************************************************************/

#ifndef __CMDEF
#define __CMDEF

/*****************************************************************************/
/* CM Structure maps to Integrator Core Module register offsets              */
/* Structure is instantiated in CM.c and placed by scatter file              */
/*****************************************************************************/

struct cm
{ 
  volatile unsigned id;             // @0x00
  volatile unsigned proc;           // @0x04
  volatile unsigned osc;            // @0x08
  volatile unsigned ctrl;           // @0x0C
  volatile unsigned stat;           // @0x10
  volatile unsigned lock;           // @0x14
  volatile unsigned lmbuscnt;       // @0x18
  volatile unsigned auxosc;         // @0x1C
  volatile unsigned sdram;          // @0x20
  volatile unsigned init;           // @0x24
  volatile unsigned refct;          // @0x28
  volatile unsigned unused1;        // @0x2C
  volatile unsigned flags;          // @0x30
  volatile unsigned flagsc;         // @0x34
  volatile unsigned nvflags;        // @0x38
  volatile unsigned nvflagsc;       // @0x3C
  volatile unsigned irq_stat;       // @0x40
  volatile unsigned irq_rstat;      // @0x44
  volatile unsigned irq_enset;      // @0x48
  volatile unsigned irq_enclr;      // @0x4c
  volatile unsigned soft_intset;    // @0x50
  volatile unsigned soft_intclr;    // @0x54
  volatile unsigned space_1;        // @0x58
  volatile unsigned space_2;        // @0x5C
  volatile unsigned fiq_stat;       // @0x60
  volatile unsigned fiq_rstat;      // @0x64
  volatile unsigned fiq_enset;      // @0x68
  volatile unsigned fiq_enclr;      // @0x6C
};

#endif

⌨️ 快捷键说明

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