-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: figureADC: Move the common code for the figure here
* src/common/figureADC.tex: Move the common code for the figure here. * Makefile.am (COMMON): Register it. * src/en/sparc.tex, src/ru/sparc.tex: Include it. * src/en/sections/white-noise-adc.tex, src/ru/sections/white-noise-adc.tex: Use it.
- Loading branch information
1 parent
86c9539
commit 29b89c0
Showing
6 changed files
with
36 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
\newcommand{\figureADC}[1]{ | ||
\begin{figure}[ht] | ||
\centering | ||
\begin{tikzpicture} | ||
\draw[thick] (0, 0) -- (0, 5.5) -- (3, 5.5) -- (3, 0) -- (0, 0); | ||
\draw (1.5, 2.5) node[right, above] {ADC}; | ||
\draw (1.5, 5.5) -- (1.5, 6.5) node[right, above] {VCC}; | ||
\draw (1.5, 0) -- (1.5, -1) node[right, below] {GND}; | ||
\draw (-2, 5.0) | ||
-- (-1, 5.0) node[left, above, text width=2cm] {$V_{ref}$} | ||
-- (0, 5.0); | ||
\draw (0, 3.00) | ||
-- (-1, 3.00) node[left, above, text width=2cm] {ANALOG INPUT} | ||
-- (-2, 3.00); | ||
\draw (-2, 0.5) | ||
-- (-1, 0.5) node[left, above, text width=2cm] {CLOCK INPUT} | ||
-- (0, 0.5); | ||
\draw(-0.25, 0.25) -- (0.25, 0.75); | ||
\foreach \n/\y in {0/0.5, 1/1.0, 2/1.5, 3/2.0, 4/2.5, 5/3.0, 6/3.5, 7/4.0, 8/4.5, 9/5.0} { | ||
\draw (3, \y) node[anchor=south west] {OUTPUT \n} -- (5, \y); | ||
}; | ||
\end{tikzpicture} | ||
\caption{#1} | ||
\label{fig:adc-schematics} | ||
\end{figure} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters