I'm trying to put an image with a caption on it within an itemize environment (within another itemize environment). When I had the image with no caption, simply using \includegraphics, it indented to the same level as the other elements of the itemize list. However, when I wrapped it in a figure environment because I wanted a caption, it is indented to the left margin, completely sticking out of the list.
Here's what I've got:
\begin{itemize}
\item Describing large-scale processor activity.
\item To discuss digital systems of this scale and level of complexity
we need a number of descriptive tools.
\item For example:
\begin{itemize}
\item[a)] Circuit schematics highlight the circuit components and
their connectivity.
\begin{figure}[h]
\includegraphics[width=10cm{assets/fig001.png}
\caption{Transfer from R1 to R2 whenK1=1}
\end{figure}
\item[b)] Timing diagrams highlight the detailed time sequence of
transfer between registers
\includegraphics[width=10cm]{assets/fig002.png}
\end{itemize}
\end{itemize}
Here's the result:

I've tried h, h! and H in the figure positioning, but it stays exactly where it is.
TL;DR: How can I have the first image here indented like the second, but with a caption?
