-
数据手册文档
说明: 单片机编程数据手册文档,适合单片机编程应用,值得读阅(MCU programming data manual document, suitable for MCU programming applications, is worth reading)
- 2020-06-21 20:20:01下载
- 积分:1
-
读者写者问题
说明: 1、定义一个数据缓存buffer及用于实现同步互斥的信号量。
2、定义一个读者函数:
?当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。
?当有其他读者在占用buffer时,读者可对buffer进行读取操作。
?当buffer中有数据时,则从其中读取一个数据,并显示然后退出。
?当buffer中没有数据时,应等待,直到buffer中有数据可读。
3、定义一个写者函数
?当有读者在占用buffer时,写者应该等待,直到所有的读者都退出为止。
?当有其他写者占用buffer时,该写者应该等待,直到占用buffer的写者退出为止。
?当buffer有空闲时,写者应该在buffer中写入一个数据并退出。
?当buffer满时,写者应该等待,直到buffer有空闲为止。
4、定义主函数,在其中可以任意创建读者与写者。
可根据用户输入创建读者或写者进程(线程)。(1. Define a data buffer and semaphores for synchronization and mutual exclusion.
2. Define a reader function:
When a writer is occupying the buffer, the reader should wait until the writer no longer uses the buffer.
When other readers occupy the buffer, they can read the buffer.
When there is data in the buffer, read a data from it, display and exit.
When there is no data in the buffer, wait until the data in the buffer is readable.
3. Define a writer function
When a reader is occupying the buffer, the writer should wait until all readers quit.
When other writers occupy the buffer, the writer should wait until the writer who occupies the buffer exits.)
- 2019-12-27 18:49:46下载
- 积分:1
-
分支界限
用分支界限法完成的算法程序课的作业,可作参考(The assignment of the algorithmic program course completed by the branch-and-bound method can be used as a reference.)
- 2020-06-22 01:40:02下载
- 积分:1
-
mega drive
说明: programming MEGA DRIVE by C language
- 2020-01-29 11:00:53下载
- 积分:1
-
FFS_0-9
说明: file system of uefi bios firmware
- 2019-03-04 16:08:04下载
- 积分:1
-
Programita
格局分析, 点格局分析,一款用于植物的分布状态的计算的软件!(Pattern analysis, point pattern analysis, a software for calculating the distribution of plants!)
- 2021-01-11 15:48:50下载
- 积分:1
-
ISD4004 51单片机驱动程序
本设计是基于单片设计的一个能实现语音存储和回放功能的系统,利用宏晶公司生产的STC90系列单片机作为主控制器,使用具有录音和放音功能的ISD4004语音芯片,能够显示32个字符的LCD1602显示器件和能对音频进行无失真的放大的TDA2822M差分放大器设计而成的。首先我们利用STC90C516RD+单片机的优越的控制性能来控制ISD4004语音芯片,通过单片机向语音芯片发送指令来完成ISD4004芯片的录音和放功能,用LCD1602来显示单片机对ISD4004的操作状态,使用TDA2822M将ISD4004芯片输出的音频进行无失真的放大的思路来进行语音存储和回放系统设计的,用Circuit Design Suite 10.0(Multisim)软件来绘制该系统的电路,用Keil uVision5软件来编写硬件程序。电路图和程序都完成后使用万用洞洞板依据电路图来焊接实物电路,实物完成后载入芯片程序直接进行实物调试,使用实物调试更容易找出问题和系统设计的缺陷,出现问题时可以通过模块化思想轻松查找到故障原因,并进行修复故障。ISD4004芯片录音时基于多电平存储技术实现的没有传统的数字录音过程中A/D转换带来的量化噪音和变色的金属音色。该系统录取的声音播放出来后和原音的音色、音调保持一致不失真。(This design is based on the single chip design of a voice storage and playback system, using STC90 series MCU produced by Hongjing Company as the main controller, using ISD4004 voice chip with recording and playback function, can display 32 characters LCD 1602 display device and can amplify audio without distortion. TDA2822M differential amplifier is designed. Firstly, we use the superior control performance of STC90C516RD + MCU to control the ISD4004 voice chip, send instructions to the voice chip through MCU to complete the recording and playback function of ISD4004 chip, use LCD1602 to display the operation status of MCU to)
- 2018-12-10 23:02:25下载
- 积分:1
-
等距线参考文献
说明: 利用matlab的gui设计的带有输入和输出功能的界面图形,实现等距线可视性很强,自己独立编写的数据和图形,学习非常值得(Using GUI of MATLAB to design interface graphics with input and output functions, realizing the visibility of isometric line is very strong, the data and graphics written independently by oneself are very worthwhile to learn.)
- 2020-06-19 18:20:01下载
- 积分:1
-
elm329-bt mini
Circuit elm 329 end source programmes.
- 2018-05-26 23:35:55下载
- 积分:1
-
2. intermediete.pdf
How are you okay with you and your family and friends has
- 2019-03-25 11:40:50下载
- 积分:1