首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 医疗电子 > 对于MPLAB C18 C编译器的动态内存分配

对于MPLAB C18 C编译器的动态内存分配

资料介绍
Dynamic memory allocation is a nice functionality that
is provided with virtually all PC-based compilers. How-
ever, not all microcontroller compilers have such capa-
bility, most likely due to the lack of a sophisticated
operating system with memory management. Although
most applications are static in nature, there are cases
where a need for dynamic allocation of memory
resources exists. Examples include any number of net-
work protocols that have a dynamically specified
nature. This application note presents a simple and effi-
cient method for dynamic memory allocation without
the need of an operating system.
AN914
Dynamic Memory Allocation for the MPLAB C18 C Compiler

Author: Ross M. Fosler FIGURE 1: SIMPLE HEAP EXAMPLE
Microchip Technology Incorporated Allocation Bit Segment
Length/Reference

INTRODUCTION
Segment 1
Dynamic memory allocation is a nice functionality that
is provided with virtually all PC-based compilers. How-
ever, not all microcontroller compilers have such capa-
bility, most likely due to the lack of a
对于MPLAB C18 C编译器的动态内存分配
本地下载

评论