Beispiel #1
0
        /// <summary>
        /// Creates the Extended PIC18 registers.
        /// </summary>
        /// <param name="pic">The PIC definition.</param>
        /// <exception cref="ArgumentNullException">Parameter <paramref name="pic"/> is null.</exception>
        public static void Create(IPICDescriptor pic)
        {
            LoadRegisters(pic ?? throw new ArgumentNullException(nameof(pic)));
            var regs = new PIC18EggRegisters();

            regs.SetCoreRegisters();
            regs.SetRegistersValuesAtPOR();
        }
 public override void CreateRegisters()
 => PIC18EggRegisters.Create(PICDescriptor);