diff --git a/cpu/lpc2387/include/periph_cpu.h b/cpu/lpc2387/include/periph_cpu.h index e2cdfe5ebe..1e406f0273 100644 --- a/cpu/lpc2387/include/periph_cpu.h +++ b/cpu/lpc2387/include/periph_cpu.h @@ -45,7 +45,7 @@ extern "C" { typedef struct { /** @brief Direction: Output if corresponding bit is set, otherwise input */ __IO uint32_t DIR; - /** @brief 12 bytes of reseved memory we don't need to access */ + /** @brief 12 bytes of reserved memory we don't need to access */ uint32_t _reserved[3]; /** @brief Set bits to ignore corresponding bits when accessing `PIN`, `SET` * or `CLR` register of this port diff --git a/cpu/lpc2387/lpc23xx-iap.c b/cpu/lpc2387/lpc23xx-iap.c index beda1ff3f2..6f1f17059b 100644 --- a/cpu/lpc2387/lpc23xx-iap.c +++ b/cpu/lpc2387/lpc23xx-iap.c @@ -191,7 +191,7 @@ uint32_t blank_check_sector(uint32_t tmp_sect1, uint32_t tmp_sect2) /****************************************************************************** * Function: copy_ram_to_flash * - * Description: This command is used to programm the flash memory. the affected should be + * Description: This command is used to program the flash memory. the affected should be * prepared first by calling "Prepare Sector for Write Operation" command. the * affected sectors are automatically protected again once the copy command is * successfully executed. the boot sector cannot be written by this command. diff --git a/cpu/lpc2387/mci/lpc2387-mci.c b/cpu/lpc2387/mci/lpc2387-mci.c index 76a22129b6..967b8f0363 100644 --- a/cpu/lpc2387/mci/lpc2387-mci.c +++ b/cpu/lpc2387/mci/lpc2387-mci.c @@ -252,7 +252,7 @@ static void start_transmission(unsigned char blks) XferRp = 0; /* Block FIFO read index */ XferWc = blks; - XferStat = 2; /* Transfer status: Memroy --> MCI */ + XferStat = 2; /* Transfer status: Memory --> MCI */ MCI_DATA_LEN = 512 * (blks + 1); /* Set total data length */ MCI_DATA_TMR = (unsigned long)(MCLK_RW * 0.5); /* Data timer: 0.5sec */ @@ -383,7 +383,7 @@ static int send_cmd(unsigned int idx, unsigned long arg, unsigned int rt, unsign assert(buff != NULL); if (idx & 0x80) { /* Send a CMD55 prior to the specified command if it is ACMD class */ - if (!send_cmd(CMD55, (unsigned long)CardRCA << 16, 1, buff) /* When CMD55 is faild, */ + if (!send_cmd(CMD55, (unsigned long)CardRCA << 16, 1, buff) /* When CMD55 is failed, */ || !(buff[0] & 0x00000020)) { return 0; /* exit with error */ }