Switch Controller With Hall Effect Measurement