Example #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))));
Example #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)));