ISP parameter struct and TDF extraction
This commit is contained in:
26
src/Targets/Microchip/AVR/IspParameters.hpp
Normal file
26
src/Targets/Microchip/AVR/IspParameters.hpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace Bloom::Targets::Microchip::Avr
|
||||
{
|
||||
/**
|
||||
* These parameters are required by the ISP interface. They can be extracted from the target's TDF.
|
||||
*/
|
||||
struct IspParameters
|
||||
{
|
||||
std::uint8_t programModeTimeout;
|
||||
std::uint8_t programModeStabilizationDelay;
|
||||
std::uint8_t programModeCommandExecutionDelay;
|
||||
std::uint8_t programModeSyncLoops;
|
||||
std::uint8_t programModeByteDelay;
|
||||
std::uint8_t programModePollValue;
|
||||
std::uint8_t programModePollIndex;
|
||||
std::uint8_t programModePreDelay;
|
||||
std::uint8_t programModePostDelay;
|
||||
|
||||
std::uint8_t readSignaturePollIndex;
|
||||
|
||||
std::uint8_t readFusePollIndex;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user