Sunroof Motor
WARNING: This page is about a different car, the 2009 Pontiac Torrent and 2009 Chevrolet Equinox. However, it is still accessible from the selected car via links, so may be relevant.
The sunroof motor/module assembly has a bi-directional motor. The sunroof motor understands when it has driven the sunroof glass to the vent, close and full open positions based on the internal hall effect sensors within the sunroof motor/control module assembly. The sunroof motor/control module assembly interprets the hall effect sensor combinations and controls the sunroof motor to soft stop the sunroof glass at the closed position.