예제 #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();
        }
예제 #2
0
 public override void CreateRegisters()
 => PIC18EggRegisters.Create(PICDescriptor);