Table 25-2. GDU comparator sample/filter controls (continued)Mode # CR1[EN] CR1[WE] CR1[SE] CR0[FILTER_CNT] FPR[FILT_PER] Operation5B 1 1 0 X 0x00 Comparator output is sampled onevery rising bus clock edge whenSAMPLE=1 to generate COUTARefer to the Windowed mode (#s 5A& 5B).6 1 1 0 0x01 0x01 - 0xFF Windowed/Resampled modeComparator output is sampled onevery rising bus clock edge whenSAMPLE=1 to generate COUTA,which is then resampled on aninterval determined by FILT_PER togenerate COUT.Refer to the Windowed/Resampledmode (# 6).7 1 1 0 > 0x01 0x01 - 0xFF Windowed/Filtered modeComparator output is sampled onevery rising bus clock edge whenSAMPLE=1 to generate COUTA,which is then resampled and filteredto generate COUT.Refer to the Windowed/filtered mode(#7).All other combinations of CR1[EN], CR1[WE], CR1[SE], CR0[FILTER_CNT], and FPR[FILT_PER] are illegal.For cases where a GDU comparator is used to drive a fault input (for example, for amotor-control module such as FTM), it should generally be configured to operate incontinuous mode, so that an external fault can immediately pass through the comparatorto the target fault circuitry.NoteFiltering and sampling settings should be changed only aftersetting CR1[SE]=0 and CR0[FILTER_CNT]=0x00. This hasthe effect of resetting the filter to a known state.25.7.4.3.1 Disabled Mode (# 1)In disabled mode, the GDU analog comparator is non-functional and consumes no power.The output of the analog comparator block (CMPO) is zero in this mode.25.7.4.3.2 Continuous mode (#s 2A & 2B)Chapter 25 Gate Drive Unit (GDU)MC9S08SU16 Reference Manual, Rev. 5, 4/2017NXP Semiconductors 469