Hi,
I'm using mbbo and mbbi record types to write and read
some registers from/to ASYN driver I'm developing;
some registers refers to a single aspect of acquisition
(e.g. channel threshold) and with a simple mbbo record
to write and a mbbi record to read back, everything works
fine...
other registers refers to a setup/control functions
and using the same mbbo/mbbi approach works fine if
the user address (read/write) every time the whole register;
I know mbboDirect for bitwise access of a record value but
is there a method to address (read/write) through a record
a "bits subset" of a "main" mbbo record ?
e.g. acquisition control:
bit[16...2] <don't care>
bit[1...0]
11 stop acquisition
10 start acquisition
01 do something...
00 do something...
which is a simple method to access "directly" bitset [0...1]
in order to have a record I can use to write 11 (3) to stop acquisition,
10 (2) to start acquisiton and so on ?
Thanks in advance,
Gennaro
--
Gennaro Tortone
INFN Napoli
Italy
tel: +39 81 676169
"Computer Science is no more about computers
than astronomy is about telescopes."
- Edsger Dijkstra
- Replies:
- RE: mbbo/mbbi and bits subset Mark Rivers
- RE: mbbo/mbbi and bits subset peter.owens
- Navigate by Date:
- Prev:
RE: mrfioc2 error at uTCA platform 김지화(빔라인장치팀)
- Next:
RE: mbbo/mbbi and bits subset Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
In search of BIC 1000C current integrator manual Brian McAllister
- Next:
RE: mbbo/mbbi and bits subset Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|