Auto-shutdown Control
Auto-shutdown is a method to immediately override the CWG output levels with specific settings that allow for a safe shutdown of the circuit. The shutdown state can be either cleared automatically or held until cleared by software.
The shutdown state can be entered by either of the following two methods:
- Software generated
- External input
Software Generated
Setting the GxASE bit of the CWGxCON2 register will force the CWG into the shutdown state. When auto-restart is disabled, the shutdown state will persist as long as the GxASE bit is set. When auto-restart is enabled, the GxASE bit will clear automatically and resume operation on the next rising edge event.
External Input
External shutdown signals provide the fastest way to safely suspend CWG operation in the event of a fault condition. When any of the selected shutdown signals go active, the CWG outputs will immediately go to the selected override levels without software delay. Any combination of two shutdown signals can be selected to cause a shutdown condition. The shutdown signals offered may vary with the device being used but those shutdown sources are selected by the GxASDS0 and GxASDS1 bits of the CWGxCON2 register.
