Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha
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
FMC ADC 100M 14b 4cha
Commits
8c78758f
Commit
8c78758f
authored
Jun 27, 2018
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: bugfix hyst and thres order in word
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
9120066f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
fa-regtable.c
kernel/fa-regtable.c
+8
-8
No files found.
kernel/fa-regtable.c
View file @
8c78758f
...
...
@@ -56,8 +56,8 @@ const struct zfa_field_desc zfad_regs[] = {
[
ZFA_CH1_GAIN
]
=
{
0x88
,
0x0000FFFF
,
0
},
[
ZFA_CH1_OFFSET
]
=
{
0x8C
,
0x0000FFFF
,
0
},
[
ZFA_CH1_SAT
]
=
{
0x90
,
0x00007FFF
,
0
},
[
ZFA_CH1_
THRES
]
=
{
0x94
,
0xFFFF0000
,
1
},
[
ZFA_CH1_
HYST
]
=
{
0x94
,
0x0000FFFF
,
1
},
[
ZFA_CH1_
HYST
]
=
{
0x94
,
0xFFFF0000
,
1
},
[
ZFA_CH1_
THRES
]
=
{
0x94
,
0x0000FFFF
,
1
},
[
ZFA_CH1_DLY
]
=
{
0x98
,
0xFFFFFFFF
,
0
},
/* Channel 2 */
...
...
@@ -67,8 +67,8 @@ const struct zfa_field_desc zfad_regs[] = {
[
ZFA_CH2_GAIN
]
=
{
0x108
,
0x0000FFFF
,
0
},
[
ZFA_CH2_OFFSET
]
=
{
0x10C
,
0x0000FFFF
,
0
},
[
ZFA_CH2_SAT
]
=
{
0x110
,
0x00007FFF
,
0
},
[
ZFA_CH2_
THRES
]
=
{
0x114
,
0xFFFF0000
,
1
},
[
ZFA_CH2_
HYST
]
=
{
0x114
,
0x0000FFFF
,
1
},
[
ZFA_CH2_
HYST
]
=
{
0x114
,
0xFFFF0000
,
1
},
[
ZFA_CH2_
THRES
]
=
{
0x114
,
0x0000FFFF
,
1
},
[
ZFA_CH2_DLY
]
=
{
0x118
,
0xFFFFFFFF
,
0
},
/* Channel 3 */
...
...
@@ -78,8 +78,8 @@ const struct zfa_field_desc zfad_regs[] = {
[
ZFA_CH3_GAIN
]
=
{
0x188
,
0x0000FFFF
,
0
},
[
ZFA_CH3_OFFSET
]
=
{
0x18C
,
0x0000FFFF
,
0
},
[
ZFA_CH3_SAT
]
=
{
0x190
,
0x00007FFF
,
0
},
[
ZFA_CH3_
THRES
]
=
{
0x194
,
0xFFFF0000
,
1
},
[
ZFA_CH3_
HYST
]
=
{
0x194
,
0x0000FFFF
,
1
},
[
ZFA_CH3_
HYST
]
=
{
0x194
,
0xFFFF0000
,
1
},
[
ZFA_CH3_
THRES
]
=
{
0x194
,
0x0000FFFF
,
1
},
[
ZFA_CH3_DLY
]
=
{
0x198
,
0xFFFFFFFF
,
0
},
/* Channel 4 */
...
...
@@ -89,8 +89,8 @@ const struct zfa_field_desc zfad_regs[] = {
[
ZFA_CH4_GAIN
]
=
{
0x208
,
0x0000FFFF
,
0
},
[
ZFA_CH4_OFFSET
]
=
{
0x20C
,
0x0000FFFF
,
0
},
[
ZFA_CH4_SAT
]
=
{
0x210
,
0x00007FFF
,
0
},
[
ZFA_CH4_
THRES
]
=
{
0x214
,
0xFFFF0000
,
1
},
[
ZFA_CH4_
HYST
]
=
{
0x214
,
0x0000FFFF
,
1
},
[
ZFA_CH4_
HYST
]
=
{
0x214
,
0xFFFF0000
,
1
},
[
ZFA_CH4_
THRES
]
=
{
0x214
,
0x0000FFFF
,
1
},
[
ZFA_CH4_DLY
]
=
{
0x218
,
0xFFFFFFFF
,
0
},
/* IRQ */
...
...
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