A detection circuit, corresponding device and method