= BRIC Raw Data Format = Hardware: [[BRIC]] See also: [[VmeDaqRawdataFormat|VME DAQ Rawdata Format]] ||<-2 rowclass="bits">Data types|| ||0||header|| ||1||header 2|| ||2|| || ||3|| || ||4||raw hits|| ||5|| || ||6|| || ||7||Status|| ||<-32 rowclass="bits">0 - header|| ||31||30||29||28||27||26||25||24||23||22||21||20||19||18||17||16||15||14||13||12||11||10||9||8||7||6||5||4||3||2||1||0|| ||<:-4>0||<:-12>reserved||<:-4>reserved||<:-4>window_id||<:-4>reserved||<:-4>branch_id|| branch_id is composed of bric_id and port number: branch_id = bric_id * 2 + port, port 0 is top-side connector, port 1 is bottom-side connector. ||<-32 rowclass="bits">1 - header 2|| ||31||30||29||28||27||26||25||24||23||22||21||20||19||18||17||16||15||14||13||12||11||10||9||8||7||6||5||4||3||2||1||0|| ||<:-4>1||<:-12>reserved||<:-4>branch_status||<:-4>reserved||<:-4>link2_status||<:-4>link1_status|| branch_status bits 3:0: timeout, align_err, overflow, disconnect. link2 - remote, link1 - host. link*_status bits 3:0: 0,0,rx_error,disconnect. ||<-32 rowclass="bits">4 - raw hits|| ||31||30||29||28||27||26||25||24||23||22||21||20||19||18||17||16||15||14||13||12||11||10||9||8||7||6||5||4||3||2||1||0|| ||<:-4>4||<:-12>reserved||<:-16>raw hit data|| ||<-32 rowclass="bits">7 - status|| ||31||30||29||28||27||26||25||24||23||22||21||20||19||18||17||16||15||14||13||12||11||10||9||8||7||6||5||4||3||2||1||0|| ||<:-4>7||<:-4>reserved||<:-16>LCF data||<:-8>bric_status|| LCF data is the latched contents of received [[MlinkLinkLayer|Link Control Frame]]. --(User defined bits are described in [[BRICBOX]].)-- bric_status bits: . [0] - bric_timeout . [1] - link down . [2] - link data error . [3] - link remote error . [4] - LCF timeout . [5] - link crc error . [6] - error status readout by trigger . [7] - reserved