mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/sdcard_spi: fix typos
This commit is contained in:
parent
a25313e5b7
commit
1d2dd2efdd
@ -198,7 +198,7 @@ typedef struct {
|
||||
/**
|
||||
* @brief Initializes the sd-card with the given parameters in sdcard_spi_t structure.
|
||||
* The init procedure also takes care of initializing the spi peripheral to master
|
||||
* mode and performing all neccecary steps to set the sd-card to spi-mode. Reading
|
||||
* mode and performing all necessary steps to set the sd-card to spi-mode. Reading
|
||||
* the CID and CSD registers is also done within this routine and their
|
||||
* values are copied to the given sdcard_spi_t struct.
|
||||
*
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
|
||||
|
||||
/* number of clocks that should be applied to the card on init
|
||||
before taking furter actions (see sd spec. 6.4.1.1 Power Up Time of Card) */
|
||||
before taking further actions (see sd spec. 6.4.1.1 Power Up Time of Card) */
|
||||
#define SD_POWERSEQUENCE_CLOCK_COUNT 74
|
||||
|
||||
#define SD_CARD_PREINIT_CLOCK_PERIOD_US 10 /* used to generate 100 kHz clock in init phase*/
|
||||
@ -100,7 +100,7 @@ extern "C" {
|
||||
#define SD_CMD_24 24 /* Writes a block of the size selected by the SET_BLOCKLEN command */
|
||||
#define SD_CMD_25 25 /* Continuously writes blocks of data until 'Stop Tran'token is sent */
|
||||
#define SD_CMD_41 41 /* Reserved (used for ACMD41) */
|
||||
#define SD_CMD_55 55 /* Defines to the card that the next commmand is an application specific
|
||||
#define SD_CMD_55 55 /* Defines to the card that the next command is an application specific
|
||||
command rather than a standard command */
|
||||
#define SD_CMD_58 58 /* Reads the OCR register of a card */
|
||||
#define SD_CMD_59 59 /* Turns the CRC option on or off. Argument: 1:on; 0:off */
|
||||
|
@ -228,7 +228,7 @@ static sd_init_fsm_state_t _init_sd_fsm_step(sdcard_spi_t *card, sd_init_fsm_sta
|
||||
|
||||
case SD_INIT_SEND_CMD1:
|
||||
DEBUG("SD_INIT_SEND_CMD1\n");
|
||||
DEBUG("COULD TRY CMD1 (for MMC-card)-> currently not suported\n");
|
||||
DEBUG("COULD TRY CMD1 (for MMC-card)-> currently not supported\n");
|
||||
_unselect_card_spi(card);
|
||||
return SD_INIT_CARD_UNKNOWN;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user