Split out NVM access code in the AVRISP project into a seperate NVMTarget.c source file and header. Make NVM register accesses use the NVM base address as set by the host, rather than using the fixed value from the XMEGA datasheet.
This commit is contained in:
parent
6648234157
commit
1fa27139f5
13 changed files with 237 additions and 121 deletions
|
@ -28,8 +28,6 @@
|
|||
this software.
|
||||
*/
|
||||
|
||||
#if defined(ENABLE_ISP_PROTOCOL) || defined(__DOXYGEN__)
|
||||
|
||||
/** \file
|
||||
*
|
||||
* Target-related functions for the ISP Protocol decoder.
|
||||
|
@ -37,6 +35,8 @@
|
|||
|
||||
#include "ISPTarget.h"
|
||||
|
||||
#if defined(ENABLE_ISP_PROTOCOL) || defined(__DOXYGEN__)
|
||||
|
||||
/** Converts the given AVR Studio SCK duration parameter (set by a SET PARAM command from the host) to the nearest
|
||||
* possible SPI clock prescaler mask for passing to the SPI_Init() routine.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue