\hypertarget{diskio_8h}{
\section{diskio.h File Reference}
\label{diskio_8h}\index{diskio.h@{diskio.h}}
}
{\tt \#include $<$avr/io.h$>$}\par
{\tt \#include \char`\"{}integer.h\char`\"{}}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{diskio_8h_d5bbf13eac760f360fa1489b66adbf84}{\_\-READONLY}~0
\item 
\#define \hyperlink{diskio_8h_fe6d1224687dede333375a2475c78ff6}{\_\-USE\_\-IOCTL}~1
\item 
\#define \hyperlink{diskio_8h_c52ec66c278308382fdf7b2c57f0ad8c}{CT\_\-MMC}~0x01
\item 
\#define \hyperlink{diskio_8h_d1c9fc863ec15d3320b3850dc571626e}{CT\_\-SD1}~0x02
\item 
\#define \hyperlink{diskio_8h_0db1b71113e73184a5ba511e7020a922}{CT\_\-SD2}~0x04
\item 
\#define \hyperlink{diskio_8h_e76d94ac83c68d1f025cb0bcad77fa5d}{CT\_\-SDC}~(CT\_\-SD1$|$CT\_\-SD2)
\item 
\#define \hyperlink{diskio_8h_7d48ce54c27f4f60666309e8627fab47}{CT\_\-BLOCK}~0x08
\item 
\#define \hyperlink{diskio_8h_bd6503c70d862b979a3f7080a59e9acd}{STA\_\-NOINIT}~0x01
\item 
\#define \hyperlink{diskio_8h_ec625080763d6cf487e550a6c9a2dd19}{STA\_\-NODISK}~0x02
\item 
\#define \hyperlink{diskio_8h_9ec6dc5f6620a33fabe388d3a111ca8c}{STA\_\-PROTECT}~0x04
\item 
\#define \hyperlink{diskio_8h_1b3c492f9aec325f0655941b75256f3c}{CTRL\_\-SYNC}~0
\item 
\#define \hyperlink{diskio_8h_570216006f6a8fc4e1698b1bbb2d1dde}{GET\_\-SECTOR\_\-COUNT}~1
\item 
\#define \hyperlink{diskio_8h_c73b5cf2135cbd459d109b96c9aa346a}{GET\_\-SECTOR\_\-SIZE}~2
\item 
\#define \hyperlink{diskio_8h_ec3bb4dfe075d0ba2f3b07b300a95500}{GET\_\-BLOCK\_\-SIZE}~3
\item 
\#define \hyperlink{diskio_8h_345531a07462afbd999f414708e3b65b}{CTRL\_\-POWER}~4
\item 
\#define \hyperlink{diskio_8h_f40e5cf3000553a978ff6e30dae70858}{CTRL\_\-LOCK}~5
\item 
\#define \hyperlink{diskio_8h_5e40e16d2d7ce196858950f070b9ec03}{CTRL\_\-EJECT}~6
\item 
\#define \hyperlink{diskio_8h_ba3a81a9a47c7d1bf3ac7749bc72dcfd}{MMC\_\-GET\_\-TYPE}~10
\item 
\#define \hyperlink{diskio_8h_e3b858b81287929f7c7bea3b7aec3087}{MMC\_\-GET\_\-CSD}~11
\item 
\#define \hyperlink{diskio_8h_17ad303dd18b19a4c90ab30a8a1c14c4}{MMC\_\-GET\_\-CID}~12
\item 
\#define \hyperlink{diskio_8h_ff118ba6bd7a9fe7699cee049cff5d6c}{MMC\_\-GET\_\-OCR}~13
\item 
\#define \hyperlink{diskio_8h_5cc43c8449b872e16ea5ab42592f793e}{MMC\_\-GET\_\-SDSTAT}~14
\item 
\#define \hyperlink{diskio_8h_23f5fff3341e98825ea1f7367fd09f1a}{ATA\_\-GET\_\-REV}~20
\item 
\#define \hyperlink{diskio_8h_31f556ab98ab80c39058b38d9283865d}{ATA\_\-GET\_\-MODEL}~21
\item 
\#define \hyperlink{diskio_8h_469c4f989757ee1ee404134fea3c74ba}{ATA\_\-GET\_\-SN}~22
\item 
\#define \hyperlink{diskio_8h_daaf74fb14f944682c41a495b64ede08}{\_\-DISKIO}
\end{CompactItemize}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
typedef \hyperlink{integer_8h_4ae1dab0fb4b072a66584546209e7d58}{BYTE} \hyperlink{diskio_8h_dba6790898ce4029c20a34b898ce73c1}{DSTATUS}
\end{CompactItemize}
\subsection*{Enumerations}
\begin{CompactItemize}
\item 
enum \hyperlink{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b}{DRESULT} \{ \par
\hyperlink{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b2ea4b6ef3fffc17dd1d38ab5c2837737}{RES\_\-OK} =  0, 
\hyperlink{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b78011f5557679ec178fb40bd21e89840}{RES\_\-ERROR}, 
\hyperlink{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b442a6d4393dc404827067bc4e981b322}{RES\_\-WRPRT}, 
\hyperlink{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2bad64c27c69eb1ff39ae67c5f77bb2b1d}{RES\_\-NOTRDY}, 
\par
\hyperlink{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2bf4dcc07fd46310b5495fa8025c89a9f3}{RES\_\-PARERR}, 
\hyperlink{diskio__008_8h_acdfef1dad6565f65c26d12fe0ea4b2b2ea4b6ef3fffc17dd1d38ab5c2837737}{RES\_\-OK} =  0, 
\hyperlink{diskio__008_8h_acdfef1dad6565f65c26d12fe0ea4b2b78011f5557679ec178fb40bd21e89840}{RES\_\-ERROR}, 
\hyperlink{diskio__008_8h_acdfef1dad6565f65c26d12fe0ea4b2b442a6d4393dc404827067bc4e981b322}{RES\_\-WRPRT}, 
\par
\hyperlink{diskio__008_8h_acdfef1dad6565f65c26d12fe0ea4b2bad64c27c69eb1ff39ae67c5f77bb2b1d}{RES\_\-NOTRDY}, 
\hyperlink{diskio__008_8h_acdfef1dad6565f65c26d12fe0ea4b2bf4dcc07fd46310b5495fa8025c89a9f3}{RES\_\-PARERR}
 \}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
\hyperlink{integer_8h_3e5b8192e7d9ffaf3542f1210aec18dd}{BOOL} \hyperlink{diskio_8h_e00bafe7e40c9078e58df9fee322fdd2}{assign\_\-drives} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})
\item 
\hyperlink{diskio__008_8h_dba6790898ce4029c20a34b898ce73c1}{DSTATUS} \hyperlink{diskio_8h_2d5ebc53960f1cd48fc6b419d1256df3}{disk\_\-initialize} (\hyperlink{integer_8h_4ae1dab0fb4b072a66584546209e7d58}{BYTE})
\item 
\hyperlink{diskio__008_8h_dba6790898ce4029c20a34b898ce73c1}{DSTATUS} \hyperlink{diskio_8h_80b48e03f0a66ea3cd0465654e44ec55}{disk\_\-status} (\hyperlink{integer_8h_4ae1dab0fb4b072a66584546209e7d58}{BYTE})
\item 
\hyperlink{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b}{DRESULT} \hyperlink{diskio_8h_75298f57b6d13bd7148bc5dfa0e50472}{disk\_\-read} (\hyperlink{integer_8h_4ae1dab0fb4b072a66584546209e7d58}{BYTE}, \hyperlink{integer_8h_4ae1dab0fb4b072a66584546209e7d58}{BYTE} $\ast$, \hyperlink{integer_8h_d342ac907eb044443153a22f964bf0af}{DWORD}, \hyperlink{integer_8h_4ae1dab0fb4b072a66584546209e7d58}{BYTE})
\item 
\hyperlink{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b}{DRESULT} \hyperlink{diskio_8h_44e59653a39c1368ee0a8bfa4de78190}{disk\_\-write} (\hyperlink{integer_8h_4ae1dab0fb4b072a66584546209e7d58}{BYTE}, const \hyperlink{integer_8h_4ae1dab0fb4b072a66584546209e7d58}{BYTE} $\ast$, \hyperlink{integer_8h_d342ac907eb044443153a22f964bf0af}{DWORD}, \hyperlink{integer_8h_4ae1dab0fb4b072a66584546209e7d58}{BYTE})
\item 
\hyperlink{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b}{DRESULT} \hyperlink{diskio_8h_f4f8c59be828b9f2e83612bca85ca69f}{disk\_\-ioctl} (\hyperlink{integer_8h_4ae1dab0fb4b072a66584546209e7d58}{BYTE}, \hyperlink{integer_8h_4ae1dab0fb4b072a66584546209e7d58}{BYTE}, void $\ast$)
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{diskio_8h_daaf74fb14f944682c41a495b64ede08}{
\index{diskio.h@{diskio.h}!\_\-DISKIO@{\_\-DISKIO}}
\index{\_\-DISKIO@{\_\-DISKIO}!diskio.h@{diskio.h}}
\subsubsection[{\_\-DISKIO}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-DISKIO}}
\label{diskio_8h_daaf74fb14f944682c41a495b64ede08}


\hypertarget{diskio_8h_d5bbf13eac760f360fa1489b66adbf84}{
\index{diskio.h@{diskio.h}!\_\-READONLY@{\_\-READONLY}}
\index{\_\-READONLY@{\_\-READONLY}!diskio.h@{diskio.h}}
\subsubsection[{\_\-READONLY}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-READONLY~0}}
\label{diskio_8h_d5bbf13eac760f360fa1489b66adbf84}


\hypertarget{diskio_8h_fe6d1224687dede333375a2475c78ff6}{
\index{diskio.h@{diskio.h}!\_\-USE\_\-IOCTL@{\_\-USE\_\-IOCTL}}
\index{\_\-USE\_\-IOCTL@{\_\-USE\_\-IOCTL}!diskio.h@{diskio.h}}
\subsubsection[{\_\-USE\_\-IOCTL}]{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-USE\_\-IOCTL~1}}
\label{diskio_8h_fe6d1224687dede333375a2475c78ff6}


\hypertarget{diskio_8h_31f556ab98ab80c39058b38d9283865d}{
\index{diskio.h@{diskio.h}!ATA\_\-GET\_\-MODEL@{ATA\_\-GET\_\-MODEL}}
\index{ATA\_\-GET\_\-MODEL@{ATA\_\-GET\_\-MODEL}!diskio.h@{diskio.h}}
\subsubsection[{ATA\_\-GET\_\-MODEL}]{\setlength{\rightskip}{0pt plus 5cm}\#define ATA\_\-GET\_\-MODEL~21}}
\label{diskio_8h_31f556ab98ab80c39058b38d9283865d}


\hypertarget{diskio_8h_23f5fff3341e98825ea1f7367fd09f1a}{
\index{diskio.h@{diskio.h}!ATA\_\-GET\_\-REV@{ATA\_\-GET\_\-REV}}
\index{ATA\_\-GET\_\-REV@{ATA\_\-GET\_\-REV}!diskio.h@{diskio.h}}
\subsubsection[{ATA\_\-GET\_\-REV}]{\setlength{\rightskip}{0pt plus 5cm}\#define ATA\_\-GET\_\-REV~20}}
\label{diskio_8h_23f5fff3341e98825ea1f7367fd09f1a}


\hypertarget{diskio_8h_469c4f989757ee1ee404134fea3c74ba}{
\index{diskio.h@{diskio.h}!ATA\_\-GET\_\-SN@{ATA\_\-GET\_\-SN}}
\index{ATA\_\-GET\_\-SN@{ATA\_\-GET\_\-SN}!diskio.h@{diskio.h}}
\subsubsection[{ATA\_\-GET\_\-SN}]{\setlength{\rightskip}{0pt plus 5cm}\#define ATA\_\-GET\_\-SN~22}}
\label{diskio_8h_469c4f989757ee1ee404134fea3c74ba}


\hypertarget{diskio_8h_7d48ce54c27f4f60666309e8627fab47}{
\index{diskio.h@{diskio.h}!CT\_\-BLOCK@{CT\_\-BLOCK}}
\index{CT\_\-BLOCK@{CT\_\-BLOCK}!diskio.h@{diskio.h}}
\subsubsection[{CT\_\-BLOCK}]{\setlength{\rightskip}{0pt plus 5cm}\#define CT\_\-BLOCK~0x08}}
\label{diskio_8h_7d48ce54c27f4f60666309e8627fab47}


\hypertarget{diskio_8h_c52ec66c278308382fdf7b2c57f0ad8c}{
\index{diskio.h@{diskio.h}!CT\_\-MMC@{CT\_\-MMC}}
\index{CT\_\-MMC@{CT\_\-MMC}!diskio.h@{diskio.h}}
\subsubsection[{CT\_\-MMC}]{\setlength{\rightskip}{0pt plus 5cm}\#define CT\_\-MMC~0x01}}
\label{diskio_8h_c52ec66c278308382fdf7b2c57f0ad8c}


\hypertarget{diskio_8h_d1c9fc863ec15d3320b3850dc571626e}{
\index{diskio.h@{diskio.h}!CT\_\-SD1@{CT\_\-SD1}}
\index{CT\_\-SD1@{CT\_\-SD1}!diskio.h@{diskio.h}}
\subsubsection[{CT\_\-SD1}]{\setlength{\rightskip}{0pt plus 5cm}\#define CT\_\-SD1~0x02}}
\label{diskio_8h_d1c9fc863ec15d3320b3850dc571626e}


\hypertarget{diskio_8h_0db1b71113e73184a5ba511e7020a922}{
\index{diskio.h@{diskio.h}!CT\_\-SD2@{CT\_\-SD2}}
\index{CT\_\-SD2@{CT\_\-SD2}!diskio.h@{diskio.h}}
\subsubsection[{CT\_\-SD2}]{\setlength{\rightskip}{0pt plus 5cm}\#define CT\_\-SD2~0x04}}
\label{diskio_8h_0db1b71113e73184a5ba511e7020a922}


\hypertarget{diskio_8h_e76d94ac83c68d1f025cb0bcad77fa5d}{
\index{diskio.h@{diskio.h}!CT\_\-SDC@{CT\_\-SDC}}
\index{CT\_\-SDC@{CT\_\-SDC}!diskio.h@{diskio.h}}
\subsubsection[{CT\_\-SDC}]{\setlength{\rightskip}{0pt plus 5cm}\#define CT\_\-SDC~(CT\_\-SD1$|$CT\_\-SD2)}}
\label{diskio_8h_e76d94ac83c68d1f025cb0bcad77fa5d}


\hypertarget{diskio_8h_5e40e16d2d7ce196858950f070b9ec03}{
\index{diskio.h@{diskio.h}!CTRL\_\-EJECT@{CTRL\_\-EJECT}}
\index{CTRL\_\-EJECT@{CTRL\_\-EJECT}!diskio.h@{diskio.h}}
\subsubsection[{CTRL\_\-EJECT}]{\setlength{\rightskip}{0pt plus 5cm}\#define CTRL\_\-EJECT~6}}
\label{diskio_8h_5e40e16d2d7ce196858950f070b9ec03}


\hypertarget{diskio_8h_f40e5cf3000553a978ff6e30dae70858}{
\index{diskio.h@{diskio.h}!CTRL\_\-LOCK@{CTRL\_\-LOCK}}
\index{CTRL\_\-LOCK@{CTRL\_\-LOCK}!diskio.h@{diskio.h}}
\subsubsection[{CTRL\_\-LOCK}]{\setlength{\rightskip}{0pt plus 5cm}\#define CTRL\_\-LOCK~5}}
\label{diskio_8h_f40e5cf3000553a978ff6e30dae70858}


\hypertarget{diskio_8h_345531a07462afbd999f414708e3b65b}{
\index{diskio.h@{diskio.h}!CTRL\_\-POWER@{CTRL\_\-POWER}}
\index{CTRL\_\-POWER@{CTRL\_\-POWER}!diskio.h@{diskio.h}}
\subsubsection[{CTRL\_\-POWER}]{\setlength{\rightskip}{0pt plus 5cm}\#define CTRL\_\-POWER~4}}
\label{diskio_8h_345531a07462afbd999f414708e3b65b}


\hypertarget{diskio_8h_1b3c492f9aec325f0655941b75256f3c}{
\index{diskio.h@{diskio.h}!CTRL\_\-SYNC@{CTRL\_\-SYNC}}
\index{CTRL\_\-SYNC@{CTRL\_\-SYNC}!diskio.h@{diskio.h}}
\subsubsection[{CTRL\_\-SYNC}]{\setlength{\rightskip}{0pt plus 5cm}\#define CTRL\_\-SYNC~0}}
\label{diskio_8h_1b3c492f9aec325f0655941b75256f3c}


\hypertarget{diskio_8h_ec3bb4dfe075d0ba2f3b07b300a95500}{
\index{diskio.h@{diskio.h}!GET\_\-BLOCK\_\-SIZE@{GET\_\-BLOCK\_\-SIZE}}
\index{GET\_\-BLOCK\_\-SIZE@{GET\_\-BLOCK\_\-SIZE}!diskio.h@{diskio.h}}
\subsubsection[{GET\_\-BLOCK\_\-SIZE}]{\setlength{\rightskip}{0pt plus 5cm}\#define GET\_\-BLOCK\_\-SIZE~3}}
\label{diskio_8h_ec3bb4dfe075d0ba2f3b07b300a95500}


\hypertarget{diskio_8h_570216006f6a8fc4e1698b1bbb2d1dde}{
\index{diskio.h@{diskio.h}!GET\_\-SECTOR\_\-COUNT@{GET\_\-SECTOR\_\-COUNT}}
\index{GET\_\-SECTOR\_\-COUNT@{GET\_\-SECTOR\_\-COUNT}!diskio.h@{diskio.h}}
\subsubsection[{GET\_\-SECTOR\_\-COUNT}]{\setlength{\rightskip}{0pt plus 5cm}\#define GET\_\-SECTOR\_\-COUNT~1}}
\label{diskio_8h_570216006f6a8fc4e1698b1bbb2d1dde}


\hypertarget{diskio_8h_c73b5cf2135cbd459d109b96c9aa346a}{
\index{diskio.h@{diskio.h}!GET\_\-SECTOR\_\-SIZE@{GET\_\-SECTOR\_\-SIZE}}
\index{GET\_\-SECTOR\_\-SIZE@{GET\_\-SECTOR\_\-SIZE}!diskio.h@{diskio.h}}
\subsubsection[{GET\_\-SECTOR\_\-SIZE}]{\setlength{\rightskip}{0pt plus 5cm}\#define GET\_\-SECTOR\_\-SIZE~2}}
\label{diskio_8h_c73b5cf2135cbd459d109b96c9aa346a}


\hypertarget{diskio_8h_17ad303dd18b19a4c90ab30a8a1c14c4}{
\index{diskio.h@{diskio.h}!MMC\_\-GET\_\-CID@{MMC\_\-GET\_\-CID}}
\index{MMC\_\-GET\_\-CID@{MMC\_\-GET\_\-CID}!diskio.h@{diskio.h}}
\subsubsection[{MMC\_\-GET\_\-CID}]{\setlength{\rightskip}{0pt plus 5cm}\#define MMC\_\-GET\_\-CID~12}}
\label{diskio_8h_17ad303dd18b19a4c90ab30a8a1c14c4}


\hypertarget{diskio_8h_e3b858b81287929f7c7bea3b7aec3087}{
\index{diskio.h@{diskio.h}!MMC\_\-GET\_\-CSD@{MMC\_\-GET\_\-CSD}}
\index{MMC\_\-GET\_\-CSD@{MMC\_\-GET\_\-CSD}!diskio.h@{diskio.h}}
\subsubsection[{MMC\_\-GET\_\-CSD}]{\setlength{\rightskip}{0pt plus 5cm}\#define MMC\_\-GET\_\-CSD~11}}
\label{diskio_8h_e3b858b81287929f7c7bea3b7aec3087}


\hypertarget{diskio_8h_ff118ba6bd7a9fe7699cee049cff5d6c}{
\index{diskio.h@{diskio.h}!MMC\_\-GET\_\-OCR@{MMC\_\-GET\_\-OCR}}
\index{MMC\_\-GET\_\-OCR@{MMC\_\-GET\_\-OCR}!diskio.h@{diskio.h}}
\subsubsection[{MMC\_\-GET\_\-OCR}]{\setlength{\rightskip}{0pt plus 5cm}\#define MMC\_\-GET\_\-OCR~13}}
\label{diskio_8h_ff118ba6bd7a9fe7699cee049cff5d6c}


\hypertarget{diskio_8h_5cc43c8449b872e16ea5ab42592f793e}{
\index{diskio.h@{diskio.h}!MMC\_\-GET\_\-SDSTAT@{MMC\_\-GET\_\-SDSTAT}}
\index{MMC\_\-GET\_\-SDSTAT@{MMC\_\-GET\_\-SDSTAT}!diskio.h@{diskio.h}}
\subsubsection[{MMC\_\-GET\_\-SDSTAT}]{\setlength{\rightskip}{0pt plus 5cm}\#define MMC\_\-GET\_\-SDSTAT~14}}
\label{diskio_8h_5cc43c8449b872e16ea5ab42592f793e}


\hypertarget{diskio_8h_ba3a81a9a47c7d1bf3ac7749bc72dcfd}{
\index{diskio.h@{diskio.h}!MMC\_\-GET\_\-TYPE@{MMC\_\-GET\_\-TYPE}}
\index{MMC\_\-GET\_\-TYPE@{MMC\_\-GET\_\-TYPE}!diskio.h@{diskio.h}}
\subsubsection[{MMC\_\-GET\_\-TYPE}]{\setlength{\rightskip}{0pt plus 5cm}\#define MMC\_\-GET\_\-TYPE~10}}
\label{diskio_8h_ba3a81a9a47c7d1bf3ac7749bc72dcfd}


\hypertarget{diskio_8h_ec625080763d6cf487e550a6c9a2dd19}{
\index{diskio.h@{diskio.h}!STA\_\-NODISK@{STA\_\-NODISK}}
\index{STA\_\-NODISK@{STA\_\-NODISK}!diskio.h@{diskio.h}}
\subsubsection[{STA\_\-NODISK}]{\setlength{\rightskip}{0pt plus 5cm}\#define STA\_\-NODISK~0x02}}
\label{diskio_8h_ec625080763d6cf487e550a6c9a2dd19}


\hypertarget{diskio_8h_bd6503c70d862b979a3f7080a59e9acd}{
\index{diskio.h@{diskio.h}!STA\_\-NOINIT@{STA\_\-NOINIT}}
\index{STA\_\-NOINIT@{STA\_\-NOINIT}!diskio.h@{diskio.h}}
\subsubsection[{STA\_\-NOINIT}]{\setlength{\rightskip}{0pt plus 5cm}\#define STA\_\-NOINIT~0x01}}
\label{diskio_8h_bd6503c70d862b979a3f7080a59e9acd}


\hypertarget{diskio_8h_9ec6dc5f6620a33fabe388d3a111ca8c}{
\index{diskio.h@{diskio.h}!STA\_\-PROTECT@{STA\_\-PROTECT}}
\index{STA\_\-PROTECT@{STA\_\-PROTECT}!diskio.h@{diskio.h}}
\subsubsection[{STA\_\-PROTECT}]{\setlength{\rightskip}{0pt plus 5cm}\#define STA\_\-PROTECT~0x04}}
\label{diskio_8h_9ec6dc5f6620a33fabe388d3a111ca8c}




\subsection{Typedef Documentation}
\hypertarget{diskio_8h_dba6790898ce4029c20a34b898ce73c1}{
\index{diskio.h@{diskio.h}!DSTATUS@{DSTATUS}}
\index{DSTATUS@{DSTATUS}!diskio.h@{diskio.h}}
\subsubsection[{DSTATUS}]{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf BYTE} {\bf DSTATUS}}}
\label{diskio_8h_dba6790898ce4029c20a34b898ce73c1}




\subsection{Enumeration Type Documentation}
\hypertarget{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b}{
\index{diskio.h@{diskio.h}!DRESULT@{DRESULT}}
\index{DRESULT@{DRESULT}!diskio.h@{diskio.h}}
\subsubsection[{DRESULT}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf DRESULT}}}
\label{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b}


\begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{RES\_\-OK@{RES\_\-OK}!diskio.h@{diskio.h}}\index{diskio.h@{diskio.h}!RES\_\-OK@{RES\_\-OK}}\item[{\em 
\hypertarget{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b2ea4b6ef3fffc17dd1d38ab5c2837737}{
RES\_\-OK}
\label{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b2ea4b6ef3fffc17dd1d38ab5c2837737}
}]\index{RES\_\-ERROR@{RES\_\-ERROR}!diskio.h@{diskio.h}}\index{diskio.h@{diskio.h}!RES\_\-ERROR@{RES\_\-ERROR}}\item[{\em 
\hypertarget{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b78011f5557679ec178fb40bd21e89840}{
RES\_\-ERROR}
\label{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b78011f5557679ec178fb40bd21e89840}
}]\index{RES\_\-WRPRT@{RES\_\-WRPRT}!diskio.h@{diskio.h}}\index{diskio.h@{diskio.h}!RES\_\-WRPRT@{RES\_\-WRPRT}}\item[{\em 
\hypertarget{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b442a6d4393dc404827067bc4e981b322}{
RES\_\-WRPRT}
\label{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b442a6d4393dc404827067bc4e981b322}
}]\index{RES\_\-NOTRDY@{RES\_\-NOTRDY}!diskio.h@{diskio.h}}\index{diskio.h@{diskio.h}!RES\_\-NOTRDY@{RES\_\-NOTRDY}}\item[{\em 
\hypertarget{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2bad64c27c69eb1ff39ae67c5f77bb2b1d}{
RES\_\-NOTRDY}
\label{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2bad64c27c69eb1ff39ae67c5f77bb2b1d}
}]\index{RES\_\-PARERR@{RES\_\-PARERR}!diskio.h@{diskio.h}}\index{diskio.h@{diskio.h}!RES\_\-PARERR@{RES\_\-PARERR}}\item[{\em 
\hypertarget{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2bf4dcc07fd46310b5495fa8025c89a9f3}{
RES\_\-PARERR}
\label{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2bf4dcc07fd46310b5495fa8025c89a9f3}
}]\index{RES\_\-OK@{RES\_\-OK}!diskio.h@{diskio.h}}\index{diskio.h@{diskio.h}!RES\_\-OK@{RES\_\-OK}}\item[{\em 
\hypertarget{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b2ea4b6ef3fffc17dd1d38ab5c2837737}{
RES\_\-OK}
\label{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b2ea4b6ef3fffc17dd1d38ab5c2837737}
}]\index{RES\_\-ERROR@{RES\_\-ERROR}!diskio.h@{diskio.h}}\index{diskio.h@{diskio.h}!RES\_\-ERROR@{RES\_\-ERROR}}\item[{\em 
\hypertarget{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b78011f5557679ec178fb40bd21e89840}{
RES\_\-ERROR}
\label{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b78011f5557679ec178fb40bd21e89840}
}]\index{RES\_\-WRPRT@{RES\_\-WRPRT}!diskio.h@{diskio.h}}\index{diskio.h@{diskio.h}!RES\_\-WRPRT@{RES\_\-WRPRT}}\item[{\em 
\hypertarget{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b442a6d4393dc404827067bc4e981b322}{
RES\_\-WRPRT}
\label{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2b442a6d4393dc404827067bc4e981b322}
}]\index{RES\_\-NOTRDY@{RES\_\-NOTRDY}!diskio.h@{diskio.h}}\index{diskio.h@{diskio.h}!RES\_\-NOTRDY@{RES\_\-NOTRDY}}\item[{\em 
\hypertarget{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2bad64c27c69eb1ff39ae67c5f77bb2b1d}{
RES\_\-NOTRDY}
\label{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2bad64c27c69eb1ff39ae67c5f77bb2b1d}
}]\index{RES\_\-PARERR@{RES\_\-PARERR}!diskio.h@{diskio.h}}\index{diskio.h@{diskio.h}!RES\_\-PARERR@{RES\_\-PARERR}}\item[{\em 
\hypertarget{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2bf4dcc07fd46310b5495fa8025c89a9f3}{
RES\_\-PARERR}
\label{diskio_8h_acdfef1dad6565f65c26d12fe0ea4b2bf4dcc07fd46310b5495fa8025c89a9f3}
}]\end{description}
\end{Desc}



\subsection{Function Documentation}
\hypertarget{diskio_8h_e00bafe7e40c9078e58df9fee322fdd2}{
\index{diskio.h@{diskio.h}!assign\_\-drives@{assign\_\-drives}}
\index{assign\_\-drives@{assign\_\-drives}!diskio.h@{diskio.h}}
\subsubsection[{assign\_\-drives}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BOOL} assign\_\-drives (int {\em argc}, \/  char $\ast$ {\em argv}\mbox{[}$\,$\mbox{]})}}
\label{diskio_8h_e00bafe7e40c9078e58df9fee322fdd2}


\hypertarget{diskio_8h_2d5ebc53960f1cd48fc6b419d1256df3}{
\index{diskio.h@{diskio.h}!disk\_\-initialize@{disk\_\-initialize}}
\index{disk\_\-initialize@{disk\_\-initialize}!diskio.h@{diskio.h}}
\subsubsection[{disk\_\-initialize}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DSTATUS} disk\_\-initialize ({\bf BYTE})}}
\label{diskio_8h_2d5ebc53960f1cd48fc6b419d1256df3}


\hypertarget{diskio_8h_f4f8c59be828b9f2e83612bca85ca69f}{
\index{diskio.h@{diskio.h}!disk\_\-ioctl@{disk\_\-ioctl}}
\index{disk\_\-ioctl@{disk\_\-ioctl}!diskio.h@{diskio.h}}
\subsubsection[{disk\_\-ioctl}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DRESULT} disk\_\-ioctl ({\bf BYTE}, \/  {\bf BYTE}, \/  void $\ast$)}}
\label{diskio_8h_f4f8c59be828b9f2e83612bca85ca69f}


\hypertarget{diskio_8h_75298f57b6d13bd7148bc5dfa0e50472}{
\index{diskio.h@{diskio.h}!disk\_\-read@{disk\_\-read}}
\index{disk\_\-read@{disk\_\-read}!diskio.h@{diskio.h}}
\subsubsection[{disk\_\-read}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DRESULT} disk\_\-read ({\bf BYTE}, \/  {\bf BYTE} $\ast$, \/  {\bf DWORD}, \/  {\bf BYTE})}}
\label{diskio_8h_75298f57b6d13bd7148bc5dfa0e50472}


\hypertarget{diskio_8h_80b48e03f0a66ea3cd0465654e44ec55}{
\index{diskio.h@{diskio.h}!disk\_\-status@{disk\_\-status}}
\index{disk\_\-status@{disk\_\-status}!diskio.h@{diskio.h}}
\subsubsection[{disk\_\-status}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DSTATUS} disk\_\-status ({\bf BYTE})}}
\label{diskio_8h_80b48e03f0a66ea3cd0465654e44ec55}


\hypertarget{diskio_8h_44e59653a39c1368ee0a8bfa4de78190}{
\index{diskio.h@{diskio.h}!disk\_\-write@{disk\_\-write}}
\index{disk\_\-write@{disk\_\-write}!diskio.h@{diskio.h}}
\subsubsection[{disk\_\-write}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DRESULT} disk\_\-write ({\bf BYTE}, \/  const {\bf BYTE} $\ast$, \/  {\bf DWORD}, \/  {\bf BYTE})}}
\label{diskio_8h_44e59653a39c1368ee0a8bfa4de78190}


