122/317
5 - Peripherals
Let us now add to that voltage V0, a small voltage, that is equal to half the smallest step, that
is,
If the voltage V0 is included within
the converter will convert it as Adc0.
If the voltage V0 is included within
the converter will convert it as Adc0 + 1.
We can now distinguish more finely between two values of the input voltage, as soon as they
differ by more than
Let us exploit this by doing two successive conversions of the voltage V: the first time with V0
alone, the next time with
Vd da
255
2
×
------------------
Vd da
Ad c0
×
255
---------------------------------
V0
Vdd a
Ad c0
1
2
---
+
×
255
------------------------------------------------
≤
≤
Vd da
Ad c0
1
2
---
+
×
255
------------------------------------------------
V0
Vd da
Ad c0
1
+
(
)
×
255
-----------------------------------------------
≤
≤
Vd da
255
2
×
------------------
Содержание ST7 Series
Страница 1: ...ST7 8 BIT MCU FAMILY USER GUIDE JANUARY 1999 1 ...
Страница 238: ...238 317 8 C Language and the C Compiler 08 Burn bmp Then use the EPROMer programmer software as described in Chapter 7 ...
Страница 289: ...289 317 10 Second Application a Sailing Computer 10 befor Bs Rw Vw VMG AlphaR AlphaV Before the wind ...