CMP_CR0 field descriptions (continued)Field Description000 Filter is disabled. If SE = 1, then COUT is a logic zero (this is not a legal state, and is notrecommended). If SE = 0, COUT = COUTA.001 1 consecutive sample must agree (comparator output is simply sampled).010 2 consecutive samples must agree.011 3 consecutive samples must agree.100 4 consecutive samples must agree.101 5 consecutive samples must agree.110 6 consecutive samples must agree.111 7 consecutive samples must agree.3–1ReservedThis field is reserved.This read-only field is reserved and always has the value 0.0HYSTCTRComparator hard block hysteresis controlDefines the programmable hysteresis level. The hysteresis values associated with each level is device-specific. See the device's data sheet for the exact values.0 Level 01 Level 118.10.2 CMP Control Register 1 (CMP_CR1)Address: 68h base + 1h offset = 69hBit 7 6 5 4 3 2 1 0Read SE WE 0 PMODE INV COS OPE ENWriteReset 0 0 0 0 0 0 0 0CMP_CR1 field descriptionsField Description7SESample EnableAt any given time, either SE or WE can be set. If a write to this register attempts to set both, then SE is setand WE is cleared. However, avoid writing ones to both bit locations because this "11" case is reservedand may change in future implementations.0 Sampling mode not selected.1 Sampling mode selected.6WEWindowing EnableAt any given time, either SE or WE can be set. If a write to this register attempts to set both, then SE is setand WE is cleared. However, avoid writing ones to both bit locations because this "11" case is reservedand may change in future implementations.0 Windowing mode not selected.1 Windowing mode selected.Table continues on the next page...Memory Map/Register DefinitionsMC9S08SU16 Reference Manual, Rev. 5, 4/2017296 NXP Semiconductors