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
067dc0de
Commit
067dc0de
authored
Aug 27, 2012
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fa-zio-drv.c: fix register enumeration
Signed-off-by:
Federico Vaga
<
federico.vaga@gmail.com
>
parent
91a00a59
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
fa-zio-drv.c
fa-zio-drv.c
+1
-1
fmc-adc.h
fmc-adc.h
+3
-2
No files found.
fa-zio-drv.c
View file @
067dc0de
...
...
@@ -129,7 +129,7 @@ const struct zio_reg_desc zfad_regs[] = {
/* zio device attributes */
static
DEFINE_ZATTR_STD
(
ZDEV
,
zfad_cset_std_zattr
)
=
{
ZATTR_REG
(
zdev
,
ZATTR_NBITS
,
S_IRUGO
,
ZFA_SW_R_NOADDRES
,
14
),
ZATTR_REG
(
zdev
,
ZATTR_NBITS
,
S_IRUGO
,
ZFA_SW_R_NOADDRES
_NBIT
,
14
),
/*
* Sample rate
* ADC acquire always at the maximum sample rate, to make slower
...
...
fmc-adc.h
View file @
067dc0de
...
...
@@ -147,7 +147,6 @@ enum zfadc_dregs_enum {
ZFA_CHx_STA
,
ZFA_CHx_GAIN
,
ZFA_CHx_OFFSET
,
ZFA_SW_R_NOADDRES
,
/* DMA */
ZFA_DMA_CTL_SWP
,
ZFA_DMA_CTL_ABORT
,
...
...
@@ -189,7 +188,9 @@ enum zfadc_dregs_enum {
ZFA_CAR_P2L_PLL
,
ZFA_CAR_SYS_PLL
,
ZFA_CAR_DDR_CAL
,
/* Other "address" */
ZFA_SW_R_NOADDRES_NBIT
,
ZFA_SW_R_NOADDRES_TEMP
,
};
/*
* ZFA_CHx_MULT
...
...
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