The YD3842 provides the necessary features to implement off-line or DC fixed frequency current mode control schemes with a minimal external parts count.