Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
dfd443d9
Commit
dfd443d9
authored
15 years ago
by
Pieter Donker
Browse files
Options
Downloads
Patches
Plain Diff
Bug 335: added rad status
parent
8d81c1a8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MAC/APL/PIC/RSP_Protocol/src/EPA_Protocol.prot
+35
-2
35 additions, 2 deletions
MAC/APL/PIC/RSP_Protocol/src/EPA_Protocol.prot
with
35 additions
and
2 deletions
MAC/APL/PIC/RSP_Protocol/src/EPA_Protocol.prot
+
35
−
2
View file @
dfd443d9
...
...
@@ -118,13 +118,36 @@ prelude = << PRELUDE_END
uint8
ffi
:
1
;
// not used
};
typedef
struct
ADOStatus
// total size 8 bytes
typedef
struct
ADOStatus
// total size 8 bytes
x 4 = 32 bytes
{
int32
adc_offset_x
;
int32
adc_offset_y
;
};
typedef
struct
RADStatus
// total 4 bytes x 9 = 36 bytes
{
uint32
cnt
:
18
;
// number of frames received in the previous sync interval
uint8
brc
:
1
;
// 0 = all frames ok, 1 = one or more frames with crc error
uint8
sync
:
1
;
// 0 = sync error, 1 = sync was detected OK
uint8
align
:
1
;
// 0 = all frames aligned, 1 = one or more frames were discarded
// not applicable for RI status
uint16
ffi
:
11
;
// not used
};
typedef
struct
TESTStatus
// total 16 bytes
{
uint16
testdata_blp0_rcu_x
;
uint16
testdata_blp0_rcu_y
;
uint16
testdata_blp1_rcu_x
;
uint16
testdata_blp1_rcu_y
;
uint16
testdata_blp2_rcu_x
;
uint16
testdata_blp2_rcu_y
;
uint16
testdata_blp3_rcu_x
;
uint16
testdata_blp3_rcu_y
;
};
typedef
struct
BoardStatus
// total size
164
bytes
typedef
struct
BoardStatus
// total size
252
bytes
{
RSPStatus
rsp
;
ETHStatus
eth
;
...
...
@@ -143,6 +166,16 @@ prelude = << PRELUDE_END
ADOStatus
blp1_adc_offset
;
ADOStatus
blp2_adc_offset
;
ADOStatus
blp3_adc_offset
;
RADStatus
ri
;
RADStatus
lane0_crosslet
;
RADStatus
lane0_beamlet
;
RADStatus
lane1_crosslet
;
RADStatus
lane1_beamlet
;
RADStatus
lane2_crosslet
;
RADStatus
lane2_beamlet
;
RADStatus
lane3_crosslet
;
RADStatus
lane3_beamlet
;
TESTStatus
rcuh_test
;
};
typedef
struct
RSRVersion
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment