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