Skip to main content\(\newcommand{\N}{\mathbb N} \newcommand{\Z}{\mathbb Z} \newcommand{\Q}{\mathbb Q} \newcommand{\R}{\mathbb R}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Exercises 4.8 Practice Problems
1.
Is the ATmega328P reset pin active-HIGH or active-LOW?
2.
What is the operating voltage range of the ATmega328P?
3.
How many fuse bytes are available on the ATmega328P?
4.
What are the names of the fuse bytes?
5.
True or false: Upon power-up, the CPU starts working immediately.
6.
What is the purpose of brown-out detection?
Answer.
protect the CPU from malfunction if the power supply dips below a given voltage level
Determine the values of the
C,
Z,
N,
V and
S flags in
SREG after the following operations have executed. (Assume all values are signed.)
7.
Answer.
C = 1,
Z = 1,
N = 0,
V = 0,
S = 0
8.
Answer.
C = 1,
Z = 0,
N = 1,
V = 0,
S = 1
9.
Answer.
C = 0,
Z = 0,
N = 1,
V = 1,
S = 0