From b0d8f22f3492fbb3f6dc0e8026e63c803af59007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 17 Oct 2015 15:40:51 +0200 Subject: Complete commit of current work --- doc/spi.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/spi.html (limited to 'doc/spi.html') diff --git a/doc/spi.html b/doc/spi.html new file mode 100644 index 0000000..e81637f --- /dev/null +++ b/doc/spi.html @@ -0,0 +1,13 @@ +

Serial peripheral interface

+ +

spi_init

+ +
static inline void spi_init(enum spiMode mode)
+
+ +

Initializes SPI interface. +Parameters: + mode - Specify mode of SPI interface

+ +

NOTE: Global interrupt must be enabled for right function of SPI. + { SREG |= _BV(7) }

-- cgit v1.2.3