-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tadeusz Magura-Witkowski
committed
Mar 14, 2019
1 parent
e5ca262
commit 30e6778
Showing
7 changed files
with
88 additions
and
9 deletions.
There are no files selected for viewing
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,18 @@ | ||
#ifndef WIEGAND_H | ||
#define WIEGAND_H | ||
|
||
#define WIEGAND_MAX_LENGTH 30 | ||
#define WIEGAND_BUFFER_BIT_LENGTH sizeof(wiegand_buffer)*8 | ||
#define WIEGAND_TIMEOUT 100 | ||
|
||
#define WIEGAND_CARD_LENGTH 26 | ||
#define WIEGAND_KEYPRESS_LENGTH 6 | ||
|
||
#define WIEGAND_ENABLED | ||
|
||
void canpybara_wiegand_reset(void); | ||
|
||
void canpybara_wiegand_pin_pulse_interrupt(int bit); | ||
void canpybara_wiegand_systick_interrupt(void); | ||
|
||
#endif |
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