-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from harp-tech/update_core_1.13
Update core 1.13
- Loading branch information
Showing
14 changed files
with
322 additions
and
201 deletions.
There are no files selected for viewing
273 changes: 124 additions & 149 deletions
273
Firmware/Firmware.ATXMEGA/SoundCard/SoundCard.cppproj
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#ifndef _HWBP_SYNC_H_ | ||
#define _HWBP_SYNC_H_ | ||
#include <avr/io.h> | ||
|
||
|
||
/************************************************************************/ | ||
/* Prototypes */ | ||
/************************************************************************/ | ||
void initialize_timestamp_uart (uint32_t * timestamp_pointer); | ||
void reset_sync_counter (void); | ||
void trigger_sync_timer (void); | ||
|
||
|
||
/************************************************************************/ | ||
/* Reset sync counter */ | ||
/************************************************************************/ | ||
#if defined(__AVR_ATxmega16A4U__) | ||
#define RESET_TIMESTAMP_COUNTER reset_sync_counter() | ||
#else | ||
#define RESET_TIMESTAMP_COUNTER | ||
#endif | ||
|
||
|
||
/************************************************************************/ | ||
/* Trigger timer */ | ||
/************************************************************************/ | ||
#if defined(__AVR_ATxmega16A4U__) | ||
#define SYNC_TRIGGER_TIMER trigger_sync_timer() | ||
#else | ||
#define SYNC_TRIGGER_TIMER | ||
#endif | ||
|
||
|
||
/************************************************************************/ | ||
/* Control when the device lost sync */ | ||
/************************************************************************/ | ||
#if defined(__AVR_ATxmega16A4U__) | ||
#define INCREASE_LOST_SYNC_COUNTER | ||
#else | ||
#define INCREASE_LOST_SYNC_COUNTER device_lost_sync_counter++ | ||
#endif | ||
|
||
|
||
#endif /* _HWBP_SYNC_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Oops, something went wrong.