Added V2Protocol handlers to the AVRISP project to enter/exit programming mode, and read/write fuses, lockbits, OSCCAL and Signature bytes.
Added ShutDown functions for all hardware peripheral drivers, so that peripherals can be turned off after use.
This commit is contained in:
1 parent
d540276b44
commit
1e8df8951a
10 files changed
+303
-45
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user