Devices and circuits for detecting current in a converter