Example #1
0
 /// <summary>
 /// Fluent API for tagging bits as "RESERVED". For description see <see cref="PeripheralRegister.Reserved"/>.
 /// </summary>
 /// <returns>This register with a new "RESERVED" tag.</returns>
 public static ByteRegister WithReservedBits(this ByteRegister register, int position, int width)
 {
     register.Reserved(position, width);
     return(register);
 }
Example #2
0
 /// <summary>
 /// Fluent API for tagging bits as "RESERVED". For description see <see cref="PeripheralRegister.Reserved"/>.
 /// </summary>
 /// <returns>This register with a new "RESERVED" tag.</returns>
 public static ByteRegister WithReservedBits(this ByteRegister register, int position, int width, uint?allowedValue = null)
 {
     register.Reserved(position, width, allowedValue);
     return(register);
 }