Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
f40dbda7
Commit
f40dbda7
authored
May 19, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sm_io/*/trigger_iface/*: fix wrong TRANSM/RCV_LEN limits
parent
b6ec41f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sm_io_trigger_iface_exp.c
src/sm_io/modules/trigger_iface/sm_io_trigger_iface_exp.c
+4
-4
No files found.
src/sm_io/modules/trigger_iface/sm_io_trigger_iface_exp.c
View file @
f40dbda7
...
...
@@ -72,8 +72,8 @@ RW_PARAM_FUNC(trigger_iface, transm_count_rst) {
NO_FMT_FUNC
,
SET_FIELD
);
}
#define BPM_TRIGGER_IFACE_RCV_LEN_MIN
((1 << 8) -1)
/* Receiver Debounce Length */
#define BPM_TRIGGER_IFACE_RCV_LEN_MAX ((1 << 8) -1)
/* Receiver Debounce Length */
#define BPM_TRIGGER_IFACE_RCV_LEN_MIN
0
/* Receiver Debounce Length */
#define BPM_TRIGGER_IFACE_RCV_LEN_MAX ((1 << 8) -1)
/* Receiver Debounce Length */
RW_PARAM_FUNC
(
trigger_iface
,
rcv_len
)
{
SET_GET_PARAM_CHANNEL
(
trigger_iface
,
WB_TRIGGER_IFACE_RAW_REG_OFFS
,
WB_TRIG_IFACE
,
CH0_CFG
,
RCV_LEN
,
TRIGGER_IFACE_CHAN_OFFSET
,
TRIGGER_IFACE_NUM_CHAN
,
MULT_BIT_PARAM
,
...
...
@@ -81,8 +81,8 @@ RW_PARAM_FUNC(trigger_iface, rcv_len) {
NO_FMT_FUNC
,
SET_FIELD
);
}
#define BPM_TRIGGER_IFACE_TRANSM_LEN_MIN
((1 << 8) -1)
/* Receiver Debounce Length */
#define BPM_TRIGGER_IFACE_TRANSM_LEN_MAX ((1 << 8) -1)
/* Receiver Debounce Length */
#define BPM_TRIGGER_IFACE_TRANSM_LEN_MIN
0
/* Receiver Debounce Length */
#define BPM_TRIGGER_IFACE_TRANSM_LEN_MAX ((1 << 8) -1)
/* Receiver Debounce Length */
RW_PARAM_FUNC
(
trigger_iface
,
transm_len
)
{
SET_GET_PARAM_CHANNEL
(
trigger_iface
,
WB_TRIGGER_IFACE_RAW_REG_OFFS
,
WB_TRIG_IFACE
,
CH0_CFG
,
TRANSM_LEN
,
TRIGGER_IFACE_CHAN_OFFSET
,
TRIGGER_IFACE_NUM_CHAN
,
MULT_BIT_PARAM
,
...
...
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