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

📄 readme.txt

📁 ARM 嵌入式系统软件开发 入门的最好例子
💻 TXT
字号:
This directory contains files to perform initialization for cached cores.

The core-specific files, for example 940T.s, contain code to perform 
initialization required to enable the caches for the core. 

The operation of the caches are controlled though either a Memory Protection 
Unit (MPU) or a Memory Management Unit (MMU) - a description of the target 
memory is applied to the MPU/MMU, and in these examples the target memory map 
is that of the ARM Integrator board.

Please note that the example code to initialize MMUs is intentionally simplistic.

In addition to the cache initialization code, the file CMclocks.s can be used 
to set the core and bus clock frequency of an Integrator Core Module. 

Please note that no checks are made to ensure sensible values are chosen.

The functions provided are:
 Clock_Speed (in CMclocks.s)
 Cache_Init  (in the core-specific files e.g. 940T.s).


To call these functions from your assembler application add the lines:

    IMPORT Clock_Speed
    IMPORT Cache_Init

    BL Clock_Speed
    BL Cache_Init


To call these functions from your C application add the lines:

    extern void Clock_Speed(void);
    extern void Cache_Init(void);

    Clock_Speed();
    Cache_Init();


⌨️ 快捷键说明

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