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:
parent
d540276b44
commit
1e8df8951a
10 changed files with 303 additions and 45 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue