-
stm32 内存分配管理
应用背景内存管理,是指软件运行时对计算机内存资源的分配和使用的技术。其最主要的目的是如
何高效,快速的分配,并且在适当的时候释放和回收内存资源。内存管理的实现方法有很多种,
他们其实最终都是要实现2 个函数:malloc 和free;malloc 函数用于内存申请,free 函数用于
内存释放。
关键技术当指针p 调用malloc 申请内存的时候,先判断p 要分配的内存块数(m),然后从第n 项开
始,向下查找,直到找到m 块连续的空内存块(即对应内存管理表项为0),然后将这m 个内
存管理表项的值都设置为m(标记被占用),最后,把最后的这个空内存块的地址返回指针p,
完成一次分配。注意,如果当内存不够的时候(找到最后也没找到连续的m 块空闲内存),则
返回NULL 给p,表示分配失败。
- 2022-02-10 14:18:07下载
- 积分:1
-
空中鼠标工程
MPU6050模块为主的整套用具和c,51,代码 可以用来开发遥控机器人 飞机 鼠标 航拍等
- 2022-04-28 17:07:40下载
- 积分:1
-
基于RFID的停车场管理系统
资源描述本程序是一个采用RFID的停车场管理程序,采用STC89C52为MCU,ST7920驱动的LCD12864,SD2200实时时钟芯片,HY502F的RFID模块。提供基本的刷卡扣费功能。
- 2022-03-04 15:04:19下载
- 积分:1
-
mpc860中断管理及其实例代码
mpc860中断管理及其实例代码-mpc860 interrupted management and its code examples
- 2022-05-08 21:38:22下载
- 积分:1
-
lt; 35 Watt Flowing Gas CO2 Laser Tube Kitgt; Made of carbon dioxide laser gener...
,自制二氧化碳激光发生器。-lt; 35 Watt Flowing Gas CO2 Laser Tube Kitgt; Made of carbon dioxide laser generator.
- 2022-01-22 11:49:55下载
- 积分:1
-
WIFI应用的智能家居的SDK开发包
应用背景
应用于开发智能家居和白色家电WIFI互联,完整的SDK 源碼,比如:空调,冰箱,以及电暖设备,LED照明,设计简单方便,为工程师开发节约时间。
关键技术
完整的SDK源码,可以快速移植在其他平台,工程师开发串行透明传输标准的API,全部OPEN SOURCE,应用的开发的成本低,效率高。
- 2022-12-29 20:50:05下载
- 积分:1
-
PLC控制日本安川伺服电机的源程序。控制方式为串口控制,按顺序发送相应指令。...
PLC控制日本安川伺服电机的源程序。控制方式为串口控制,按顺序发送相应指令。-PLC Yaskawa Japan servo motor control of the source. Control mode for the serial control, according to the order to send the corresponding commands.
- 2022-02-22 01:03:13下载
- 积分:1
-
它包含了基本的代码和定时器中断单片机ATMEL我…
It contains basic codes for timers and interrupts for microcontroller Atmel ATmega16
- 2022-01-25 16:26:35下载
- 积分:1
-
土豚的例子的源代码版本:4日期:2007
Aardvark Example Source Code Version: 4.00 Date: 2007-04-20
Source code which shows how to use the Aardvark I2C/SPI Host Adapter software libraries.
Examples are available in C, C#, Python, Visual Basic 6, Visual Basic .NET, and Aardvark XML batch script code and make use of the targets on the I2C/SPI Activity Board.
Explanatory notes and build instructions are included in the README.txt file.
-Aardvark Example Source Code Version: 4.00 Date: 2007-04-20
Source code which shows how to use the Aardvark I2C/SPI Host Adapter software libraries.
Examples are available in C, C#, Python, Visual Basic 6, Visual Basic .NET, and Aardvark XML batch script code and make use of the targets on the I2C/SPI Activity Board.
Explanatory notes and build instructions are included in the README.txt file.
- 2023-05-09 23:35:03下载
- 积分:1
-
FAT文件应用在在硬盘上的分析,感觉还是比较透彻。
FAT文件应用在在硬盘上的分析,感觉还是比较透彻。-FAT file on your hard drive used in the analysis, the feeling is quite thorough.
- 2022-01-21 19:06:34下载
- 积分:1