aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/spi.h')
-rw-r--r--libmaple/spi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmaple/spi.h b/libmaple/spi.h
index 685a034..3be41fd 100644
--- a/libmaple/spi.h
+++ b/libmaple/spi.h
@@ -202,9 +202,9 @@ typedef struct spi_reg_map {
/** SPI device type */
typedef struct spi_dev {
- spi_reg_map *regs;
- rcc_clk_id clk_id;
- nvic_irq_num irq_num;
+ spi_reg_map *regs; /**< Register map */
+ rcc_clk_id clk_id; /**< RCC clock information */
+ nvic_irq_num irq_num; /**< NVIC interrupt number */
} spi_dev;
extern spi_dev *SPI1;