Ejemplo n.º 1
0
 private static PICRegisterAccessMasks GetFullMask(byte nzWidth)
 => PICRegisterAccessMasks.Create(
     new PICRegisterTraits(
         BuildSFRDef(0, "FullReg", nzWidth, (1U << (int)nzWidth) - 1U, new string('n', (int)nzWidth), new string('0', (int)nzWidth))));
Ejemplo n.º 2
0
 private static PICRegisterAccessMasks GetAccessMask(byte nZWidth, uint Impl, string sAccess, string sMCLR)
 => PICRegisterAccessMasks.Create(new PICRegisterTraits(BuildSFRDef(0, "Reg", nZWidth, Impl, sAccess, sMCLR)));