예제 #1
0
 public override string GetRegisterFieldMaskDefineName(IORegister register, IORegisterField field)
 => $"REG_{register.Category}_{register.Name}_{field.Name}_MASK";
예제 #2
0
 public override string GetRegisterFieldSizeDefineName(IORegister register, IORegisterField field)
 => $"REG_{register.Category}_{register.Name}_{field.Name}_SIZE";
예제 #3
0
 public override string GetRegisterOffsetDefineName(IORegister register)
 => $"REG_{register.Name}_OFFSET";
예제 #4
0
 public override string GetRegisterAddressDefineName(IORegister register)
 => $"REG_{register.Name}_ADDR";
예제 #5
0
 public override string GetRegisterDefineName(IORegister register)
 => $"reg_{register.Category}_{register.Name}";