diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-01-26 21:32:55 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-01-26 21:33:05 -0500 |
commit | a11275d84c4ca04645eec72b1d1612d0781e0486 (patch) | |
tree | a091cb481317cf26e22f0aa9fa0c9b70a5626ed3 /watch-library/hardware/hw/driver_init.h | |
parent | 1b1bba2de0f23cec2de21100b495d56c1056af72 (diff) | |
download | Sensor-Watch-a11275d84c4ca04645eec72b1d1612d0781e0486.tar.gz Sensor-Watch-a11275d84c4ca04645eec72b1d1612d0781e0486.tar.bz2 Sensor-Watch-a11275d84c4ca04645eec72b1d1612d0781e0486.zip |
watch library: implement SPI
Diffstat (limited to 'watch-library/hardware/hw/driver_init.h')
-rw-r--r-- | watch-library/hardware/hw/driver_init.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/watch-library/hardware/hw/driver_init.h b/watch-library/hardware/hw/driver_init.h index 6b5abaf3..90cb8867 100644 --- a/watch-library/hardware/hw/driver_init.h +++ b/watch-library/hardware/hw/driver_init.h @@ -43,12 +43,18 @@ extern struct i2c_m_sync_desc I2C_0; extern struct usart_sync_descriptor USART_0; +extern struct spi_m_sync_descriptor SPI_0; + extern struct slcd_sync_descriptor SEGMENT_LCD_0; void I2C_0_CLOCK_init(void); void I2C_0_init(void); void I2C_0_PORT_init(void); +void SPI_0_PORT_init(void); +void SPI_0_CLOCK_init(void); +void SPI_0_init(void); + void delay_driver_init(void); void EXTERNAL_IRQ_0_init(void); |