diff options
Diffstat (limited to 'stmhal/spi.h')
-rw-r--r-- | stmhal/spi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/stmhal/spi.h b/stmhal/spi.h new file mode 100644 index 0000000000..f9d75e3e3b --- /dev/null +++ b/stmhal/spi.h @@ -0,0 +1,7 @@ +extern SPI_HandleTypeDef SPIHandle1; +extern SPI_HandleTypeDef SPIHandle2; +extern SPI_HandleTypeDef SPIHandle3; +extern const mp_obj_type_t pyb_spi_type; + +void spi_init0(void); +void spi_init(SPI_HandleTypeDef *spi); |