Enable and Disable

An op amp can be configured to be in one of three possible Enable/Disable modes:

To select SW_ENABLED_WITHOUT_EVENTS mode, a ‘0’ must be written to the EVENTEN bit in OPnCTRLA. In SW_ENABLED_WITHOUT_EVENTS mode, an op amp is enabled by writing ‘1’ to the ALWAYSON bit in OPnCTRLA. The op amp stays enabled as long as the ALWAYSON bit is ‘1’. Writing a ‘0’ to the ALWAYSON bit in OPnCTRLA will disable the op amp. The op amp will not respond to incoming events and will not generate events.

To select EVENT_ENABLED mode, the ALWAYSON bit in OPnCTRLA must be written to ‘0’, and the EVENTEN bit must be written to ‘1’. In this mode, the op amp is enabled by the ENABLEn event, and it is disabled by the DISABLEn event. In EVENT_ENABLED mode, the op amp will issue a READYn event when settling is complete. The op amp will also respond to incoming DUMPn and DRIVEn events. Special cases are handled as follows:

To select SW_ENABLED_WITH_EVENTS mode, a ‘1’ must be written to the EVENTEN bit in OPnCTRLA. In SW_ENABLED_WITH_EVENTS mode, an op amp is enabled by writing ‘1’ to the ALWAYSON bit in OPnCTRLA. The op amp stays enabled as long as the ALWAYSON bit is ‘1’. While the op amp is enabled, it will respond to incoming DUMPn and DRIVEn events but will be unaffected by incoming ENABLEn and DISABLEn events. Writing a ‘0’ to the ALWAYSON bit in OPnCTRLA will disable the op amp.