Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
card-access-system
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bc. Petr Elexa
card-access-system
Commits
f6a86038
Commit
f6a86038
authored
Dec 16, 2019
by
Bc. Petr Elexa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
panel: raise wiegand frame limit
parent
46dcba6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
weigand.c
cardreader/bsp/weigand/weigand.c
+3
-3
weigand.h
cardreader/bsp/weigand/weigand.h
+4
-4
No files found.
cardreader/bsp/weigand/weigand.c
View file @
f6a86038
...
...
@@ -2,9 +2,9 @@
* @file
* @brief Wiegand26 interface driver.
*
*
50
0 b/s transfer rate
* data pulse
40-70us
* data interval
>2ms
*
~49
0 b/s transfer rate
* data pulse
nominal 40us (standard 20-100us)
* data interval
nominal 2ms (standard 200us-20ms)
*
* Only Wiegand 26bit format
* Frame:
...
...
cardreader/bsp/weigand/weigand.h
View file @
f6a86038
...
...
@@ -3,9 +3,9 @@
* @brief Wiegand26 interface driver.
*
*
*
50
0 b/s transfer rate
* data pulse
40-70us
* data interval
>2ms
*
~49
0 b/s transfer rate
* data pulse
nominal 40us (standard 20-100us)
* data interval
nominal 2ms (standard 200us-20ms)
*
* Only Wiegand 26bit format
* Frame:
...
...
@@ -27,7 +27,7 @@
#include "stream_buffer.h"
#define WEIGAND26_FRAME_SIZE 26
#define WEIGAND26_FRAME_TIME_LIMIT
80 // Actual frame time in worst case is 68ms.
#define WEIGAND26_FRAME_TIME_LIMIT
125 // This limits data interval to maximum of 5ms!
typedef
union
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment