R1EX24xxx series are two-wire serial interface EEPROM (Electrically Erasable and Programmable ROM). They realize high speed, low power consumption and a high level of reliability by employing advanced MNOS memory technology and CMOS process and low voltage circuitry technology. They also have a 128-byte page programming function to make their write operation faster. Note: Renesas Technology鈥檚 serial EEPROM are authorized for using consumer applications such as cellular phone, camcorders, audio equipment. Therefore, please contact Renesas Technology鈥檚 sales office before using industrial applications such as automotive systems, embedded controllers, and meters
标签: Electrically Programmable interface Erasable
上传时间: 2014-01-07
上传用户:xiaohuanhuan
procedure senddata var i:integer commflg : Boolean begin commflg:=true for i:=1 to 8 do begin if not fcomm comml writecommdata(sendbutter,i) then begin Commflg=false break end end end (4) 接收数据 在编写基于串口的计算机工业测控时,通常需要由下位机向PC机发送数据以使PC机了解系统的测试数据或下位机的运行状态,并进而控制下位机的行为。利用Spcomm串口控件接收下位机发送的数据信息的示例代码如下: //事件驱动方式接收数据程序 procedure TForm1.CommlReceiveData(Sender:Tobject Buffer:Pointer bufferLength:Word) var receivedata:array of byte begin sleep(100) //等待100ms,保证接收到所有数据 move(buffef ,receivedata,bufferlength) //将接收缓存区中的数据转移到数组中 …… end (5) 关闭串口 在系统开发中,应注意在不使用串口时应及时关闭串口,释放系统资源,否则可能会影响系统的其它应用。关闭串口的代码如下: procedure TForm1.FormClose ( Sender TObj ect:var Action:TCIoseAction ) begin comml.StopComm end
标签: commflg procedure senddata integer
上传时间: 2014-01-26
上传用户:懒龙1988
A pure python module which implements the DES and Triple-DES encryption algorithms. Triple DES is either DES-EDE3 with a 24 byte key, or DES-EDE2 with a 16 byte key.
标签: implements Triple-DES algorithms encryption
上传时间: 2017-05-06
上传用户:邶刖
Generate Possion Dis. step1:Generate a random number between [0,1] step2:Let u=F(x)=1-[(1/e)x] step3:Slove x=1/F(u) step4:Repeat Step1~Step3 by using different u,you can get x1,x2,x3,...,xn step5:If the first packet was generated at time [0], than the second packet will be generated at time [0+x1],The third packet will be generated at time [0+x1+x2], and so on …. Random-number generation 1.static method random from class Math -Returns doubles in the range 0.0 <= x < 1.0 2.class Random from package java.util -Can produce pseudorandom boolean, byte, float, double, int, long and Gaussian values -Is seeded with the current time of day to generate different sequences of numbers each time the program executes
标签: Generate Possion between random
上传时间: 2017-05-25
上传用户:bibirnovis
Compression using lempel-ziv -for a dictionary size of 2k -provide dictionary Lempel ziv algorithm is a dictionary based algorithm that addresses byte sequences from former contents instead of the original data. This algorithm consists of a rule for parsing strings of symbols from a finite alphabet into substrings, whose lengths do not exceed a prescribed integer and a coding scheme which maps these substrings sequentially into uniquely decipherable code words of fixed length. The strings are selected so that they have nearly equal probability of occurrence. Frequently-occurring symbols are grouped into longer strings while occasional symbols appear in short strings.
标签: dictionary Compression lempel-ziv provide
上传时间: 2014-01-07
上传用户:我们的船长
Java 程序编码规范 所有的程序开发手册都包含了各种规则。一些习惯自由程序人员可能对这些规则很不适应,但是在多个开发人员共同写作的情况下,这些规则是必需的。这不仅仅是为了开发效率来考虑,而且也是为了后期维护考虑。 内容: 命名惯例 、Java文件样式 、代码编写格式 、程序编写 、编程技巧 、Swing 、调试 、性能 、可移植性 1) 命名规范 定义这个规范的目的是让项目中所有的文档都看起来像一个人写的,增加可读性,减少项目组中因为换人而带来的损失。(这些规范并不是一定要绝对遵守,但是一定要让程序有良好的可读性) l Package名:Package名应该都是由一个小写单词组成。 l Class名:Class名必须由大写字母开头而其他字母都小写的单词组成 l Class 变量名:变量名用一个小写字母开头。后面的单词用大写字母开头。 l Static Final 变量名:Static Final 变量名应该都大写,并且指出完整含义。 l 参数名:参数的名字必须和变量的命名规范一致。 l 数组名:数组应该总是用下面的方式来命名: byte[] buffer 而不是:byte buffer[] l 方法的参数:使用有意义的参数命名,如果可能的话,使用和要赋值的字段一样的名字:
上传时间: 2013-11-28
上传用户:lxm
Java 程序编码规范 所有的程序开发手册都包含了各种规则。一些习惯自由程序人员可能对这些规则很不适应,但是在多个开发人员共同写作的情况下,这些规则是必需的。这不仅仅是为了开发效率来考虑,而且也是为了后期维护考虑。 内容: 命名惯例 、Java文件样式 、代码编写格式 、程序编写 、编程技巧 、Swing 、调试 、性能 、可移植性 1) 命名规范 定义这个规范的目的是让项目中所有的文档都看起来像一个人写的,增加可读性,减少项目组中因为换人而带来的损失。(这些规范并不是一定要绝对遵守,但是一定要让程序有良好的可读性) l Package名:Package名应该都是由一个小写单词组成。 l Class名:Class名必须由大写字母开头而其他字母都小写的单词组成 l Class 变量名:变量名用一个小写字母开头。后面的单词用大写字母开头。 l Static Final 变量名:Static Final 变量名应该都大写,并且指出完整含义。 l 参数名:参数的名字必须和变量的命名规范一致。 l 数组名:数组应该总是用下面的方式来命名: byte[] buffer 而不是:byte buffer[] l 方法的参数:使用有意义的参数命名,如果可能的话,使用和要赋值的字段一样的名字:
上传时间: 2017-05-31
上传用户:zxc23456789
This is a program that I wrote many years ago. It is a floppy disk , disk copy,disk info,and format program. All written in masm assembler. There is also a small 252 byte driver that allows nonstandard floppy formats on dos systems below 7.0. Floppies can be formatted in any track and sector layout. 1.44M floppies can be formatted to 1.76 M. All source code,includes and libraries are included. Modify the bld.bat file to your own needs. There are many asm tricks in the source code. Have fun with this old code.
标签: disk program floppy format
上传时间: 2013-12-21
上传用户:woshini123456
hcon是工作在Linux控制台下的高效双字节中/日/韩(CJK)虚拟终端,就像DOS环境中的UCDOS一样,为控制台(console)环境提供完整的双字节语言环境。-zhcon work in the Linux console is under the efficient double-byte Chinese / Japanese / Korean (CJK) virtual terminal, just like DOS environment UCDOS same for console (console) environment to provide a complete double-byte language environments.
上传时间: 2013-12-26
上传用户:wsf950131
8051 INSTRUCTION SET NOTES ON INSTRUCTION SET AND ADDRESSING MODES: Bit Manipulation Logic Instructions byte Manipulation Increment-Decrement Instructions
标签: INSTRUCTION Manipulation ADDRESSING SET
上传时间: 2017-08-01
上传用户:waizhang