Exemple #1
0
        public Result Initialize(UInt32 wordsOnPage, UInt32 pagesCount)
        {
            this.mConfig     = new Configuration(wordsOnPage, pagesCount);
            this.mDataBuffer = new byte[this.mConfig.PagesCount * this.mConfig.WordsOnPage * sizeof(UInt32)];
            Result result = Eeprom.Init(this.mDataBuffer, ref this.mConfig);

            return(result);
        }