Same switch to power control and to set references of several devices