本文以stm32f4xx平台介绍串口驱动,主要目的是:1、RTT中如何编写中断处理程序2、如何编写RTT设备驱动接口代码3、了解串行设备的常见处理机制所涉及的主要源码文件有:usart.c,usart.h,serial.c,serial.h一、RTT的设备驱动程序概述编写uart的驱动程序,首先需要...
分类:
其他好文 时间:
2015-07-18 00:24:23
阅读次数:
356
According to this
stack overflow thread, PJ Naughter has implemented 9 methods to emunerate com port in Windows. That code was named
EnumSerialPorts.
As my using, I found some method woul...
分类:
编程语言 时间:
2015-07-16 07:20:36
阅读次数:
373
PPP is a protocol that is able to:handle authentication,compression,error detection,monitor link quality,logically bundles multiple serial connections...
分类:
其他好文 时间:
2015-07-14 22:28:14
阅读次数:
1046
// 本文来自http://www.cnblogs.com/king-77024128/articles/2203207.htmlSPI(Serial Peripheral Interface,串行外设接口)是Motorola公司提出的一种同步串行数据传输标准,在很多器件中被广泛应用。1. 接口SP...
分类:
其他好文 时间:
2015-07-13 20:33:48
阅读次数:
116
查看oracle是否有表被锁===================================select sid,serial#,program,terminal,username,b.object_id,c.object_name from v$session a, v$locked_obj...
分类:
数据库 时间:
2015-07-13 18:03:23
阅读次数:
131
GCD中一些API的使用1.串行队列和并行队列iOS中线程分为串行队列和并行队列,串行队列指的是任务按照先后顺序,依次执行;并行队列指的是任务不按照加入的先后顺序,并发的执行。
iOS中串行队列通过如下方式进行创建dispatch_queue_t queue = dispatch_queue_create("cn.bourbonz.www", DISPATCH_QUEUE_SERIAL);需要注意...
1 Serial-parallel multiplier Figure 12.1 shows the RTL diagram of a serial-parallel multiplier. One of the inputvectors (a) is applied serially to t.....
分类:
其他好文 时间:
2015-07-10 02:04:39
阅读次数:
713
本文很精简的介绍了Node.js Serial & parallel 这两种任务控制流的代码组织尝试。
分类:
Web程序 时间:
2015-07-09 21:03:56
阅读次数:
148
前奏先来copy下 JTAG、SW接口的定义,
JTAG:JTAG(Joint Test Action Group;联合测试工作组)是一种国际标准测试协议,主要用于芯片内部测试。现在多数的高级器件都支持JTAG协议,如DSP、FPGA器件等。标准的JTAG接口是4线:TMS、TCK、TDI、TDO,分别为模式选择、时钟、数据输入和数据输出线。SWD:SW(Serial Wire Mode Inte...
分类:
其他好文 时间:
2015-07-08 10:59:39
阅读次数:
269
1.显卡信息 dmesg | grep -i vga lspci | grep -i vga//查看显卡信息2.dmidecode | grep -i 'Serial Number'//查看主板信息,查看主板的序列号3.CPU信息 #通过/proc文件系统 cat /proc/cpuinfo...
分类:
系统相关 时间:
2015-07-06 19:43:05
阅读次数:
157