summaryrefslogtreecommitdiff
path: root/ucoo/hal
diff options
context:
space:
mode:
authorNicolas Schodet2015-05-15 16:20:13 +0200
committerNicolas Schodet2019-10-07 00:44:50 +0200
commitab65b898b0ab531a71f1cd7afb0ddfdfb89f340a (patch)
treec1adb80874575c454cb5c0087d4b536f6059a102 /ucoo/hal
parentcf79cc36fd3b1a302cf2c5df20dc0c2db388c5e3 (diff)
ucoo/{intf,hal/spi}: make enable and disable part of the interface
Diffstat (limited to 'ucoo/hal')
-rw-r--r--ucoo/hal/spi/spi_soft.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucoo/hal/spi/spi_soft.hh b/ucoo/hal/spi/spi_soft.hh
index 2dc1a64..b162d75 100644
--- a/ucoo/hal/spi/spi_soft.hh
+++ b/ucoo/hal/spi/spi_soft.hh
@@ -36,9 +36,9 @@ class SpiSoftMaster : public SpiMaster
SpiSoftMaster (Io &sck, Io &mosi, Io &miso);
/// Destructor, disable.
~SpiSoftMaster ();
- /// Enable and setup.
+ /// See SpiMaster::enable.
void enable (int speed_hz, SpiMode mode = SPI_MODE_0);
- /// Disable.
+ /// See SpiMaster::disable.
void disable ();
/// See SpiMaster::send_and_recv.
void send_and_recv (const char *tx_buf, char *rx_buf, int count);