The BusSpeed function sets the transfer speed on the MCI
interface to the requested baud rate. When SD/MMC Memory Card is
initialized, low speed transfer (400 kBit/s maximum) is used. When
the Card initialization is complete, the high speed MCI data transfer
is used.
The argument kbaud specifies the requested baud
rate.
The BusSpeed function is in the MCI Driver. The prototype is defined in
file_config.h. You have to customize the function in your own MCI
driver.
It is important to set the actual MCI speed equal to (or less
than) the requested baud rate kbaud, but not
higher than the requested baud rate. The error might happen due
to the integer math used for the calculation of a divide
factor.
Return Value
The BusSpeed function returns a value of __TRUE if
successful or a value of __FALSE if unsuccessful.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.