Circuit/System Description
WARNING: This page is about a different car, the 2015 Chevrolet Trax and 2015 Buick Encore. However, it is still accessible from the selected car via links, so may be relevant.
The sunroof switch is connected directly to the sunroof control module and provides detent positions for open, express open, off, close, and express close. The sunroof switch completes the circuit between two signals proved by the sunroof control module, a reference ground input and a pull-up voltage provided by an analog to digital switch input. The sunroof switch places a different resistor ladder network in the circuit depending on the function selected.