</head>

<body>

<div class="para func">
<h2>f_read</h2>
<p>The f_read function reads data from a file.</p>
<pre>
FRESULT f_read (
  FIL* <span class="arg">fp</span>,     <span class="c">/* [IN] File object */</span>
  void* <span class="arg">buff</span>,  <span class="c">/* [OUT] Buffer to store read data */</span>
  UINT <span class="arg">btr</span>,    <span class="c">/* [IN] Number of bytes to read */</span>
  UINT* <span class="arg">br</span>     <span class="c">/* [OUT] Number of bytes rea