aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Peripheral/SerialStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Drivers/Peripheral/SerialStream.h')
-rw-r--r--LUFA/Drivers/Peripheral/SerialStream.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/LUFA/Drivers/Peripheral/SerialStream.h b/LUFA/Drivers/Peripheral/SerialStream.h
index d3f0014bc..293fda076 100644
--- a/LUFA/Drivers/Peripheral/SerialStream.h
+++ b/LUFA/Drivers/Peripheral/SerialStream.h
@@ -88,6 +88,14 @@
stdout = &USARTStream;
}
+
+ /** Turns off the serial stream (and regular USART driver), disabling and returning used hardware to
+ * their default configuration.
+ */
+ static inline void SerialStream_ShutDown(void)
+ {
+ Serial_ShutDown();
+ }
/* Disable C linkage for C++ Compilers: */
#if defined(__cplusplus)