Making eigerDetectorServer running with the new firmware (request frames/packets is now done in HW)

This commit is contained in:
2015-06-11 11:19:51 +02:00
parent c0dac6fd27
commit b193237df3
6 changed files with 152 additions and 40 deletions

View File

@ -137,6 +137,9 @@ int Local_Write(struct LocalLinkInterface* ll,unsigned int buffer_len, void *buf
{
status = HWIO_xfs_in32(ll->ll_fifo_base+4*PLB_LL_FIFO_REG_STATUS);
if((status & PLB_LL_FIFO_STATUS_ALMOSTFULL) == 0) vacancy = 1;
#ifdef MARTIN
if (vacancy == 0) cprintf(RED, "Fifo full!\n");
#endif
}
//Just to know: #define PLB_LL_FIFO_ALMOST_FULL_THRESHOLD_WORDS 100