Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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 - Software
Commits
26f339fd
Commit
26f339fd
authored
Sep 05, 2012
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix external trigger attribute
Signed-off-by:
Federico Vaga
<
federico.vaga@gmail.com
>
parent
427bb692
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fa-zio-drv.c
fa-zio-drv.c
+1
-1
fa-zio-trg.c
fa-zio-trg.c
+1
-1
fmc-adc.h
fmc-adc.h
+1
-1
No files found.
fa-zio-drv.c
View file @
26f339fd
...
...
@@ -43,7 +43,7 @@ const struct zio_reg_desc zfad_regs[] = {
[
ZFA_STA_SERDES_SYNCED
]
=
{
FA_ADC_MEM_OFF
+
0x04
,
0x0001
,
4
},
/* Trigger */
/* Config register */
[
ZF
DAC
_CFG_HW_SEL
]
=
{
FA_ADC_MEM_OFF
+
0x08
,
0x00000001
,
0
},
[
ZF
AT
_CFG_HW_SEL
]
=
{
FA_ADC_MEM_OFF
+
0x08
,
0x00000001
,
0
},
[
ZFAT_CFG_HW_POL
]
=
{
FA_ADC_MEM_OFF
+
0x08
,
0x00000001
,
1
},
[
ZFAT_CFG_HW_EN
]
=
{
FA_ADC_MEM_OFF
+
0x08
,
0x00000001
,
2
},
[
ZFAT_CFG_SW_EN
]
=
{
FA_ADC_MEM_OFF
+
0x08
,
0x00000001
,
3
},
...
...
fa-zio-trg.c
View file @
26f339fd
...
...
@@ -51,7 +51,7 @@ static struct zio_attribute zfat_ext_zattr[] = {
* 0: internal (data threshold)
* 1: external (front panel trigger input)
*/
ZATTR_EXT_REG
(
"external"
,
S_IRUGO
|
S_IWUGO
,
ZFAT_CFG_
INT
_SEL
,
0
),
ZATTR_EXT_REG
(
"external"
,
S_IRUGO
|
S_IWUGO
,
ZFAT_CFG_
HW
_SEL
,
0
),
/*
* Internal Hardware trigger polarity
* 0: positive edge/slope
...
...
fmc-adc.h
View file @
26f339fd
...
...
@@ -102,7 +102,7 @@ enum zfadc_dregs_enum {
ZFA_STA_SERDES_PLL
,
ZFA_STA_SERDES_SYNCED
,
/* Configuration register */
ZF
DAC
_CFG_HW_SEL
,
ZF
AT
_CFG_HW_SEL
,
ZFAT_CFG_HW_POL
,
ZFAT_CFG_HW_EN
,
ZFAT_CFG_SW_EN
,
...
...
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