From 1374d2622be04278bc3918572c20ac694dfef0a3 Mon Sep 17 00:00:00 2001 From: Ken Sarkies Date: Mon, 11 Mar 2013 09:36:57 +1030 Subject: Place generic USB header and source files into the documentation tree. --- doc/usb/Doxyfile | 33 +++++++ doc/usb/Doxyfile_latex | 40 +++++++++ doc/usb/DoxygenLayout_usb.xml | 199 ++++++++++++++++++++++++++++++++++++++++++ doc/usb/header_usb.tex | 61 +++++++++++++ 4 files changed, 333 insertions(+) create mode 100644 doc/usb/Doxyfile create mode 100644 doc/usb/Doxyfile_latex create mode 100644 doc/usb/DoxygenLayout_usb.xml create mode 100644 doc/usb/header_usb.tex (limited to 'doc') diff --git a/doc/usb/Doxyfile b/doc/usb/Doxyfile new file mode 100644 index 00000000..ff48cb33 --- /dev/null +++ b/doc/usb/Doxyfile @@ -0,0 +1,33 @@ +# HTML Documentation for USB code level + +# 10 March 2013 +# (C) Ken Sarkies + +#--------------------------------------------------------------------------- +# Common Include File +#--------------------------------------------------------------------------- + +@INCLUDE = ../Doxyfile_common + +#--------------------------------------------------------------------------- +# Local settings +#--------------------------------------------------------------------------- + +WARN_LOGFILE = doxygen_usb.log + +INPUT = ../../include/libopencm3/license.dox \ + ../../include/libopencm3/usb + +INPUT += ../../lib/usb + +EXCLUDE_PATTERNS = + +LAYOUT_FILE = DoxygenLayout_usb.xml + +TAGFILES = + +GENERATE_TAGFILE = usb.tag + +ENABLE_PREPROCESSING = NO + + diff --git a/doc/usb/Doxyfile_latex b/doc/usb/Doxyfile_latex new file mode 100644 index 00000000..00392aaa --- /dev/null +++ b/doc/usb/Doxyfile_latex @@ -0,0 +1,40 @@ +# LaTeX Documentation for USB code level + +# 10 March 2013 +# (C) Ken Sarkies + +#--------------------------------------------------------------------------- +# Common Include File +#--------------------------------------------------------------------------- + +@INCLUDE = ../Doxyfile_common + +#--------------------------------------------------------------------------- +# Local settings +#--------------------------------------------------------------------------- + +WARN_LOGFILE = doxygen_usb_latex.log + +WARN_LOGFILE = doxygen_usb.log + +INPUT = ../../include/libopencm3/license.dox \ + ../../include/libopencm3/usb + +INPUT += ../../lib/usb + +EXCLUDE_PATTERNS = + +LAYOUT_FILE = DoxygenLayout_usb.xml + +TAGFILES = + +GENERATE_TAGFILE = usb.tag + +ENABLE_PREPROCESSING = NO + +GENERATE_HTML = NO + +GENERATE_LATEX = YES + +LATEX_HEADER = header_usb.tex + diff --git a/doc/usb/DoxygenLayout_usb.xml b/doc/usb/DoxygenLayout_usb.xml new file mode 100644 index 00000000..ee9718b5 --- /dev/null +++ b/doc/usb/DoxygenLayout_usb.xml @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/usb/header_usb.tex b/doc/usb/header_usb.tex new file mode 100644 index 00000000..5b902527 --- /dev/null +++ b/doc/usb/header_usb.tex @@ -0,0 +1,61 @@ +\documentclass{book} +\usepackage[a4paper,top=2.5cm,bottom=2.5cm,left=2.5cm,right=2.5cm]{geometry} +\usepackage{makeidx} +\usepackage{natbib} +\usepackage{graphicx} +\usepackage{multicol} +\usepackage{float} +\usepackage{listings} +\usepackage{color} +\usepackage{ifthen} +\usepackage[table]{xcolor} +\usepackage{textcomp} +\usepackage{alltt} +\usepackage{ifpdf} +\ifpdf +\usepackage[pdftex, + pagebackref=true, + colorlinks=true, + linkcolor=blue, + unicode + ]{hyperref} +\else +\usepackage[ps2pdf, + pagebackref=true, + colorlinks=true, + linkcolor=blue, + unicode + ]{hyperref} +\usepackage{pspicture} +\fi +\usepackage[utf8]{inputenc} +\usepackage{mathptmx} +\usepackage[scaled=.90]{helvet} +\usepackage{courier} +\usepackage{sectsty} +\usepackage{amssymb} +\usepackage[titles]{tocloft} +\usepackage{doxygen} +\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=4,numbers=left } +\makeindex +\setcounter{tocdepth}{3} +\renewcommand{\footrulewidth}{0.4pt} +\renewcommand{\familydefault}{\sfdefault} +\hfuzz=15pt +\setlength{\emergencystretch}{15pt} +\hbadness=750 +\tolerance=750 +\begin{document} +\hypersetup{pageanchor=false,citecolor=blue} +\begin{titlepage} +\vspace*{7cm} +\begin{center} +{\Huge libopencm3: API Reference\\ Cortex M3 Generic USB}\\ +\vspace*{1cm} +{\large Generated by Doxygen 1.8.2}\\ +\vspace*{0.5cm} +{\small Thu 10 March 2013 23:26:45}\\ +\end{center} +\end{titlepage} +\pagenumbering{arabic} +\hypersetup{pageanchor=true,citecolor=blue} -- cgit v1.2.3