diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-25 13:15:30 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-25 13:15:30 +0000 |
commit | 8aee4cb2f2207e93841664814bb1dbfc1347894c (patch) | |
tree | 71a3871b4fea2e31d3382ce45fd808fb02c33739 /Projects/Incomplete/AVRISP/Lib/V2ProtocolTarget.h | |
parent | 73801c73a1684a88bff33aefe3c5aa89bc66c414 (diff) | |
download | lufa-8aee4cb2f2207e93841664814bb1dbfc1347894c.tar.gz lufa-8aee4cb2f2207e93841664814bb1dbfc1347894c.tar.bz2 lufa-8aee4cb2f2207e93841664814bb1dbfc1347894c.zip |
Add function documentation to the AVRISP project.
Diffstat (limited to 'Projects/Incomplete/AVRISP/Lib/V2ProtocolTarget.h')
-rw-r--r-- | Projects/Incomplete/AVRISP/Lib/V2ProtocolTarget.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Projects/Incomplete/AVRISP/Lib/V2ProtocolTarget.h b/Projects/Incomplete/AVRISP/Lib/V2ProtocolTarget.h index 6dce59d6c..1e0364d9c 100644 --- a/Projects/Incomplete/AVRISP/Lib/V2ProtocolTarget.h +++ b/Projects/Incomplete/AVRISP/Lib/V2ProtocolTarget.h @@ -58,10 +58,14 @@ extern uint32_t CurrentAddress;
/* Inline Functions: */
- static inline void V2Protocol_DelayMS(uint8_t MS)
+ /** Blocking delay for a given number of milliseconds, via a hardware timer.
+ *
+ * \param DelayMS Number of milliseconds to delay for
+ */
+ static inline void V2Protocol_DelayMS(uint8_t DelayMS)
{
TCNT0 = 0;
- while (TCNT0 < MS);
+ while (TCNT0 < DelayMS);
}
/* Function Prototypes: */
|