public DP213_OCMode_RGB(DP213_OCREF0REF4095 _ref0ref4095, DP213_OCVreg1 _vreg1, DP213_OCAM1AM0 _am1am0, DataProtocal _dprotocal) { ref0ref4095 = _ref0ref4095; vreg1 = _vreg1; am1am0 = _am1am0; dprotocal = _dprotocal; }
private void Read_And_Initailze_Vals_And_Voltages(DataProtocal dprotocal) { //REF0REF4095 --> Vreg1 --> AM1AM0 --> RGB () dbv = new DP213_OCDBV(dprotocal); ref0ref4095 = new DP213_OCREF0REF4095(dprotocal); vreg1 = new DP213_OCVreg1(ref0ref4095, dprotocal); am1am0 = new DP213_OCAM1AM0(ref0ref4095, vreg1); rgb = new DP213_OCMode_RGB(ref0ref4095, vreg1, am1am0, dprotocal); }
public DP213_OCAM0(DP213_OCREF0REF4095 _ref0ref4095, DP213_OCVreg1 _vreg1) { vreg1 = _vreg1; ref0ref4095 = _ref0ref4095; Initalize_As_Zero(); }
public DP213_OCAM1AM0(DP213_OCREF0REF4095 _ref0ref4095, DP213_OCVreg1 _vreg1) { am1 = new DP213_OCAM1(_ref0ref4095, _vreg1); //Values will be Initilized with zeros am0 = new DP213_OCAM0(_ref0ref4095, _vreg1); //Values will be Initilized with zeros }