コード例 #1
0
        static public void s8SetWorkingData(UInt32 u32Address, sbyte s8Data)
        {
            if (mau8WorkingPage[u32Address - mu32WorkingBaseAddress] != (byte)s8Data)
            {
                mau8WorkingPage[u32Address - mu32WorkingBaseAddress] = (byte)s8Data;

                if (false == mboLockForChanges)
                {
                    tstReg8Write stReg8Write = new tstReg8Write();
                    stReg8Write.iSequence  = miSequence;
                    stReg8Write.u32Address = u32Address;
                    stReg8Write.u8Data     = (byte)s8Data;
                    mlstReg8Write.Add(stReg8Write);
                }
            }
        }
コード例 #2
0
 static public void AddReg8Write(tstReg8Write stReg8Write)
 {
     mlstReg8Write.Add(stReg8Write);
 }