Skip to content

Commit

Permalink
Update datasheet, include nice title
Browse files Browse the repository at this point in the history
  • Loading branch information
atraber committed Feb 10, 2016
1 parent 1fa21a7 commit af65c1e
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 533 deletions.
525 changes: 0 additions & 525 deletions doc/blockdiagram.obj

This file was deleted.

2 changes: 1 addition & 1 deletion doc/datasheet/content/peripherals_gpio.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
\section{GPIO}

\begin{table}[H]
\caption{External GPIO Signals}
\caption{GPIO Signals}
\label{tab:gpio_signals}
\begin{tabularx}{\textwidth}{@{}llX@{}} \toprule
\textbf{Signal} & \textbf{Direction} & \textbf{Description} \\ \toprule
Expand Down
26 changes: 23 additions & 3 deletions doc/datasheet/content/peripherals_i2c.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
\section{I2C}
\section{I$^\text{2}$C}

I$^\text{2}$C is an open-drain signaling protocol, meaning that the pad output
driver will be switched on and off, while always driving a low value when
enabled. Logic high values are achieved by using a pull-up resistor on the
\signal{SDA} and \signal{SCL} lines.

\begin{table}[H]
\caption{I$^\text{2}$C Signals}
\label{tab:i2c_signals}
\begin{tabularx}{\textwidth}{@{}llX@{}} \toprule
\textbf{Signal} & \textbf{Direction} & \textbf{Description} \\ \toprule
\signal{scl\_pad\_i} & \textbf{input} & SCL Input \\ \hline
\signal{scl\_pad\_o} & \textbf{output} & SCL Output (always 0) \\ \hline
\signal{scl\_padoen\_o} & \textbf{output} & SCL Pad Direction \\ \hline
\signal{sda\_pad\_i} & \textbf{input} & SDA Input \\ \hline
\signal{sda\_pad\_o} & \textbf{output} & SDA Output (always 0) \\ \hline
\signal{sda\_padoen\_o} & \textbf{output} & SDA Pad Direction \\ \hline
\signal{interrupt\_o} & \textbf{output} & Event/Interrupt \\ \hline
\end{tabularx}
\end{table}

\regDesc{0x1A10\_5000}{0x0000\_0000}{CPR (Clock Prescale Register)}{
\begin{bytefield}[rightcurly=.,endianness=big]{32}
Expand All @@ -11,7 +31,7 @@ \section{I2C}
}{
\regItem{Bit 15:0}{PRE}{Prescaler.\\
Sets the clock prescaler by the value in PRE to
achieve the desired I2C clock by dividing the current system clock by the
achieve the desired I$^\text{2}$C clock by dividing the current system clock by the
given factor.}
}

Expand All @@ -33,7 +53,7 @@ \section{I2C}
\end{bytefield}
}{
\regItem{Bit 7}{EN}{Enable.\\
Enable the I2C peripheral.}
Enable the I$^\text{2}$C peripheral.}
\regItem{Bit 6}{IE}{Interrupt enable.\\
Enable interrupts.}
\regItem{Bit 5:0}{Reserved}{Set to 0.}
Expand Down
2 changes: 1 addition & 1 deletion doc/datasheet/content/peripherals_spi.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
\section{SPI Master}

\begin{table}[H]
\caption{External SPI Signals}
\caption{SPI Signals}
\label{tab:spi_signals}
\begin{tabularx}{\textwidth}{@{}llX@{}} \toprule
\textbf{Signal} & \textbf{Direction} & \textbf{Description} \\ \toprule
Expand Down
2 changes: 0 additions & 2 deletions doc/datasheet/content/peripherals_timer.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
\section{Timer}

The timer unit has no external signals.

The timer unit has 2 timers per default. This can be overwritten by a parameter
when instantiating the timer.

Expand Down
29 changes: 29 additions & 0 deletions doc/datasheet/content/title.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
\makeatletter
\begin{titlepage}

% Remove the page number in the footer.
\thispagestyle{empty}

\begin{center}

\begin{spacing}{2.0}
{\Huge\textbf{\@title}}
\end{spacing}

\vspace{0.2cm}

\vfill

\includegraphics[height = 12cm]{figures/imperio_layout}

\vfill

{\Large \@author}\\
{[email protected]}
\vfill
\@date

\end{center}
\end{titlepage}
\makeatother

3 changes: 2 additions & 1 deletion doc/datasheet/datasheet.tex
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

%%%%% Mandatory title page settings.
\title{PULPino: Datasheet}
\author{Andreas Traber}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% %
Expand All @@ -26,7 +27,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

\maketitle
\input{./content/title.tex}

\tableofcontents

Expand Down
Binary file added doc/datasheet/figures/imperio_layout.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed doc/datasheet/figures/riscv_arch.pdf
Binary file not shown.

0 comments on commit af65c1e

Please sign in to comment.