-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathEmbSys1.tex
More file actions
101 lines (83 loc) · 4.72 KB
/
EmbSys1.tex
File metadata and controls
101 lines (83 loc) · 4.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
% ========================================= TEMPLATE INFO ========================================
%
% Author: P4ntomime
% Version: 1.0.0
% Last updated: 2024-02-18
% Brief: A LaTeX template for summaries. See README.md for more information.
%
% ================================================================================================
\documentclass[8pt, a4paper, twoside]{extarticle}
% Font size: 8pt
% Paper size: A4
% style: twoside (needed, so odd and even pages have different margins)
% orientation: portrait. (use 'landscape' for landscape orientation)
% ========================================= DOCUMENT INFO =========================================
\def\title{Embedded Systems 1} % title
\def\shorttitle{EmbSys1} % short title (displayed as PDF title)
\def\dozent{Prof.\ Dr.\ Andreas Breitenmoser} % lecturer
\def\semester{HS 2025} % semester
\def\author{Fabian Steiner, Martina Knobel, Nino Briker, Yves Looser, Jan Fritschi and Laurens Perseus \\ Based on the work of Simone Stitz, Laurin Heitzer and Marco Stauber} % author(s)
\def\repo{https://github.com/Iceteavanill/Cheatsheet_EmbSys1_HS_2025_OST} % repository link
\def\version{1.0.\today} % version
\def\pagelimit{8} % page limit -> causes pages after limit to be red
\def\titleoption{ultra compact} % options: ultra compact, compact, normal
\def\enableToC{false}
% ================================= PACKAGES, SETUP AND COMMANDS ==================================
\input{preamble.tex}
% PID ---------------------------------------------------------------------------------------------
\newcommand{\kpColor}[1] {\pastelbox{yellow}{#1}}
\newcommand{\kiColor}[1] {\pastelbox{orange}{#1}}
\newcommand{\kdColor}[1] {\pastelbox{red}{#1}}
% USB defines -------------------------------------------------------------------------------------
\newcommand{\USBHost}[1] {\pastelbox{green}{#1}}
\newcommand{\USBPeripheral}[1] {\pastelbox{blue}{#1}}
% WiFi defines ------------------------------------------------------------------------------------
\newcommand{\fh}[1] {\pastelbox{magenta}{#1}}
\newcommand{\vh}[1] {\pastelbox{orange}{#1}}
\newcommand{\pl}[1] {\pastelbox{cyan}{#1}}
% Audio parameters
\newcommand{\nch} {\pastelbox{yellow}{\ensuremath{n_\mathrm{channels}}}}
\newcommand{\fs} {\pastelbox{blue} {\ensuremath{f_\mathrm{s}}}}
\newcommand{\res} {\pastelbox{green} {\ensuremath{res}}}
% Required audio bandwidth
\newcommand{\BWaudio} {\pastelbox{red} {\ensuremath{BW_\mathrm{audio}}}}
% Bandwidths
\definecolor{atomictangerine}{rgb}{1.0, 0.6, 0.4}
\newcommand{\BWtotal} {\pastelbox{orange}{\ensuremath{BW_\mathrm{total}}}}
\newcommand{\BWpayload} {\pastelbox{atomictangerine} {\ensuremath{BW_\mathrm{payload}}}}
\newcommand{\BWrem} {\pastelbox{gray} {\ensuremath{BW_\mathrm{rem}}}}
\newcommand{\BWmax} {\pastelbox{black} {\ensuremath{BW_\mathrm{\max}}}}
% Overhead
\newcommand{\OH} {\pastelbox{magenta}{\ensuremath{OH}}}
% Frame data
\definecolor{bazaar}{rgb}{0.6, 0.47, 0.48}
\definecolor{blizzardblue}{rgb}{0.5, 0.9, 1.0}
\newcommand{\Tframe} {\pastelbox{cyan} {\ensuremath{T_\mathrm{frame}}}}
\newcommand{\Dnet} {\pastelbox{bazaar} {\ensuremath{D_\mathrm{net}}}}
\newcommand{\Daudio} {\pastelbox{blizzardblue} {\ensuremath{D_\mathrm{audio}}}}
% Data rate
\definecolor{britishracinggreen}{rgb}{0.0, 0.26, 0.15}
\newcommand{\Rdata} {\pastelbox{britishracinggreen}{\ensuremath{R_\mathrm{data}}}}
% Scheduling
\newcommand{\Nframe} {\pastelbox{brown} {\ensuremath{N_\mathrm{frame}}}}
% BLE defines -------------------------------------------------------------------------------------
% BLE Roles
\newcommand{\centralAttCommand}[1] {\pastelbox{green}{\ovalbox{\footnotesize #1}}}
\newcommand{\BleCentral}[1] {\pastelbox{green}{#1}}
\newcommand{\peripheralAttCommand}[1] {\pastelbox{blue}{\ovalbox{\footnotesize #1}}}
\newcommand{\BlePeripheral}[1] {\pastelbox{blue}{#1}}
% =========================================== DOCUMENT ============================================
\begin{document}
\begin{layout}
\input{sections/01_basics.tex}
\input{sections/02_smart.tex}
\input{sections/03_lowPower.tex}
\input{sections/04_simple_communication_protocols.tex}
\input{sections/05_USB.tex}
\input{sections/06_Ethernet.tex}
\input{sections/07_Wifi_Iot.tex}
\input{sections/08_BLE.tex}
\input{sections/09_timeAndData.tex}
\input{sections/10_c_tipps.tex}
\end{layout}
\end{document}