
CMT2380F17
Rev0.1 | 285/347
www.cmostek.com
Figure 26
–3. ADC Conversion Timing
26.2.6
ADC Window Detect
The MG82F6D17 ADC's programmable window detector continuously compares the ADC output
registers with
user-programmed limits, and notifies the system when a desired condition is detected. This is especially
effective in an interrupt driven system, saving code space and CPU bandwidth while delivering faster
response times. The window detector interrupt flag (ADCWI) can also be used in polled mode. The
Window-High-Boundary (WHB[11:0] , {ADCFG12, ADCFG11}) and Window-Low-Boundary (WLB[11:0],
{ADCFG14, ADCFG13}) registers hold the boundary values. The Window-Boundary flags can be
programmed to catch the ADC convert value (ADCDH:ADCDL) when it is inside or outside of the user-defined
boundary. The following figure shows the two window detect modes:
1. ADWM0 = 0: When ADC convert value is
“
inside
”
the boundary the interrupt flag ADCWI will be
held. Which means the condition WLB[11:0]
≤
ADCDH:ADCDL
≤
WHB[11:0] is true, ADCWI will be
held.
2.
ADWM0 = 1: When ADC convert value is “outside” the boundary the interrupt flag ADCWI will be
held. Which means the condition WLB[11:0] > ADCDH:ADCDL or ADCDH:ADCDL< WHB[11:0] is true,
ADCWI will be held.
Figure 26
–4. ADC Window Detect
Содержание CMT2380F17
Страница 27: ...CMT2380F17 Rev0 1 27 347 www cmostek com 1 25 Phase Noise...
Страница 111: ...CMT2380F17 Rev0 1 111 347 www cmostek com INT2IS 1 0 Selected Port Pin of nINT2 00 P4 4 01 P3 0 10 P1 1 11 P1 6...
Страница 131: ...CMT2380F17 Rev0 1 131 347 www cmostek com Figure 16 1 Timer 0 Mode 0 Structure Figure15 2 Timer 1 Mode 0 Structure...
Страница 161: ...CMT2380F17 Rev0 1 161 347 www cmostek com Figure 16 32 Split Timer 3 Mode 1 Structure AR with Ex INT...
Страница 177: ...CMT2380F17 Rev0 1 177 347 www cmostek com Figure 17 3 PCA Interrupt System...
Страница 239: ...CMT2380F17 Rev0 1 239 347 www cmostek com Figure 19 5 8 bit Timer Mode Configuration for S1BRG S1TME 1...
Страница 246: ...CMT2380F17 Rev0 1 246 347 www cmostek com SnMIPS S0MI S1MI 1 P3 3 P4 7...
Страница 289: ...CMT2380F17 Rev0 1 289 347 www cmostek com...