Пример #1
0
        /// <summary>
        /// Creates the Full-Featured PIC16 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 PIC16FullRegisters();

            regs.SetCoreRegisters();
            regs.SetRegistersValuesAtPOR();
        }
Пример #2
0
 public override void CreateRegisters()
 => PIC16FullRegisters.Create(PICDescriptor);