笔记--- Writing Code for ROM
来源:互联网 发布:高德地图离线js api 编辑:程序博客网 时间:2024/04/29 12:57
Initializing the system
One of the main considerations with application code in ROM is the way in which the application initializes itself and starts executing. If there is an operating system present, this does not cause a problem because the application is entered automatically through the main() function.
No automatic initialization takes place on RESET, so the application entry point must perform some initialization before it can call any C code.
Typically, the initialization code should carry out some or all of the following tasks:
• defining the entry point
• setting up exception vectors
• initializing the memory system
• initializing the stack pointer registers
• initializing any critical I/O devices
• initializing any RAM variables required by the interrupt system
• enabling interrupts
• changing processor mode if necessary
• changing processor state if necessary
• initializing memory required by C
• entering C code.
- 笔记--- Writing Code for ROM
- Writing Efficient C Code for Embedded Systems
- Tips for writing efficient Python code
- Writing code is writing
- Writing Mobile Code : Essential Software Engineering for Building Mobile Applications
- Guidelines for Writing Secure Code(安全代码编写准则)
- Writing Code Suitable for Implementation with Conditional Moves
- 《Writing clean code》读书笔记
- Writing Solid Code
- Writing clean code
- Writing Exception Code
- Writing Clear Code
- Writing Cache-friendly Code
- Writing clean code 读书笔记
- Writing Code(DP)
- Codeforces544C:Writing Code
- Writing Clear Code
- 《Writing Clear Code---- Microsoft Techniques for Developing Bug-free C Programs 》摘录
- Windows客户端的JProfiler远程监控Linux上的Glassfish ( by quqi99)
- java泛型详解
- SQL SERVER 2000 "MMC无法创建管理单元
- 几个经典的css技巧
- chromium OS编译过程
- 笔记--- Writing Code for ROM
- RL-RTX中的Event、mailbox、mutex和semaphore
- 醒目的引号
- 含100万条记录的table如何建立索引?
- 快捷键大全
- 【C/C++语言入门篇】-- 深入函数
- AT91初始化代码手册中文翻译版
- java动态调用类
- 如何垂直居中对齐CSS