spi.h 284 B

123456789101112131415
  1. #ifndef __I2C_H__
  2. #define __I2C_H__
  3. #include "./../../stm32f429xx.h"
  4. #include "./../../stm32f429.h"
  5. #include "./stm32f429_spi.h"
  6. #include "../I2C/stm32f429_gpio.h"
  7. #include "../I2C/stm32f429_rcc.h"
  8. typedef struct {
  9. SPI_TypeDef *bus;
  10. }SPI_DEV_T;
  11. #endif /* __I2C_H__ */