fix some includes and comments, spi_hw -> spi_arch

This commit is contained in:
Felix Ruess
2010-12-06 20:36:15 +01:00
parent 4dc12c0705
commit dd0781fa5e
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
*
*/
/** \file spi_hw.c
/** \file mcu_periph/spi_arch.c
* \brief handling of hardware dependant SPI on AVR architecture
*/
+3 -3
View File
@@ -22,8 +22,8 @@
*
*/
#ifndef SPI_HW_H
#define SPI_HW_H
#ifndef SPI_ARCH_H
#define SPI_ARCH_H
/** Index in SPI buffers: one is enough for full duplex communication */
extern volatile uint8_t spi_idx_buf;
@@ -83,4 +83,4 @@ extern volatile uint8_t spi_idx_buf;
#endif /* SPI_MASTER */
#endif /* SPI_HW_H */
#endif /* SPI_ARCH_H */
+3 -3
View File
@@ -25,8 +25,8 @@
* for now only SPI1 ( aka SSP )
*/
#ifndef SPI_HW_H
#define SPI_HW_H
#ifndef SPI_ARCH_H
#define SPI_ARCH_H
#include "std.h"
#include "LPC21xx.h"
@@ -192,4 +192,4 @@ extern volatile uint8_t spi_rx_idx;
#define SpiClrCPHA() (SSPCR0 &= ~(_BV(7)))
#endif /* SPI_HW_H */
#endif /* SPI_ARCH_H */
+1 -1
View File
@@ -10,7 +10,7 @@
#include "csc_booz2_ins.h"
#include "csc_ap_link.h"
#include "spi_hw.h"
#include "mcu_periph/spi_arch.h"
#include "csc_baro.h"
+1 -1
View File
@@ -3,7 +3,7 @@
#include <stdbool.h>
#include "std.h"
#include "mcu_periph/spi_hw.h"
#include "mcu_periph/spi_arch.h"
#include "led.h"
/* Pin configuration for max3100 IRQ */