搜索资源列表
c
- MSC-51与外部数据存储器的一般连接方法:外部数据存储器的高8位地址由P2口提供,低8位地址线接地址锁存器的输出端。外部RAM的读、写控制信号分别接MCS-51的 、 。外部RAM的片选信号可由P2口未用的地址线的剩余口线以线选方式或译码方式提供-MSC-51 with the external data memory of the general connection method: external data memory address high 8 provided by the P
pthread
- 基于ARM9的Linux多线程应用程序。生产者写入缓冲区和消费者从缓冲区读数的具体流程,生产者首先获得互斥锁,并且判断写指针+1后是否等于读指针,如果相等则进入等待状态,等候条件变量notfull;如果不等则向缓冲区中写入一个整数,并且设置条件变量为notempty,最后释放互斥锁。消费者线程与生产者线程类似。-ARM9-Linux-based multi-threaded applications. Producers and consumers into a buffer from the
tools_file
- Tuxedo编程通用文件操作函数:判断文件是否存在,给文件夹锁,给文件解锁,写日志文件,读文件内容-Tuxedo Programming General file manipulation functions: to determine whether the file exists, give the folder lock, to unlock the file, write the log file, read contents of the file
lock
- 用临界区实现单写多读锁 写者优先 操作系统实验-With critical region locking to achieve write once read many experimental writing is preferred operating system
12864dededechengxu
- /*------------------------------------------ lcd12864液晶显示驱动实 ---------------------------------------------- ----------------------------------------------- RS:D/I=H,表示DB7~DB0为显示数据 D/I=L,表示DB7~DB0为显示指令数据 -----------------------------------
CSerialPort
- 串口通用函数,私人封装的串口调用类,读,写,多线程调用,锁,异步等。-Serial generic functions, private package serial calling the class, reading, writing, multi-threaded calls, locks, asynchronous and so on.
thread
- thrs_data结构中的几个变量用于读数据线程和显示线程的开始控制和结束控制。start_read:当二个线程同时启动或显示线程先启动时,保证读数据线程先使用缓冲区,=1表示读数据线程已使用了缓冲区;start_disp:在读数据线程对缓冲区进行第一轮操作时,当它已将2个缓冲区写满,而此时显示线程还没有启动或还没有使用过缓冲区,这时应将读数据线程阻塞住,防止它覆盖掉缓冲区中未显示的数据,=1表示显示线程已启动并已使用了缓冲区。在后续交替读数据和显示数据的过程中,由互斥锁来协调二个线程之间的关系
RFID-Demo
- RFID 通过串口网口,实现盘寻,读,写,锁,杀,等对标签的操作。