diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-01-26 22:39:09 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-01-26 22:40:49 -0500 |
commit | 523a5d2f0b3f0d79b16784470870935313dd5775 (patch) | |
tree | b7631b071432bba90eb14aa9540f97c01c5503ac /watch-library/simulator | |
parent | b2dbc4feeb48697fbbdbb7740b6db552a45b3c02 (diff) | |
download | Sensor-Watch-523a5d2f0b3f0d79b16784470870935313dd5775.tar.gz Sensor-Watch-523a5d2f0b3f0d79b16784470870935313dd5775.tar.bz2 Sensor-Watch-523a5d2f0b3f0d79b16784470870935313dd5775.zip |
implement SPI flash chip
Diffstat (limited to 'watch-library/simulator')
-rw-r--r-- | watch-library/simulator/watch/watch_spi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/watch-library/simulator/watch/watch_spi.c b/watch-library/simulator/watch/watch_spi.c index dd2f8fa1..9f29a791 100644 --- a/watch-library/simulator/watch/watch_spi.c +++ b/watch-library/simulator/watch/watch_spi.c @@ -28,6 +28,8 @@ void watch_enable_spi(void) {} void watch_disable_spi(void) {} -void watch_spi_send(uint8_t *buf, uint16_t length) {} +bool watch_spi_write(const uint8_t *buf, uint16_t length) { return false; } -void watch_spi_receive(uint8_t *buf, uint16_t length) {} +bool watch_spi_read(uint8_t *buf, uint16_t length) { return false; } + +bool watch_spi_transfer(const uint8_t *data_out, uint8_t *data_in, uint16_t length) { return false; } |