@ -7,24 +7,28 @@
# undef BAR
# define PROBE_DETECTION_INTERRUPT_MASK 0x00000001
# define SRAM_1_PARITY_Err _MASK 0x00000002
# define SRAM_2_PARITY_Err _MASK 0x00000004
# define MPS_Err _MASK 0x00000008
# define SCEN_RPI_Err _MASK 0x00000010
# define SCEN_GT_Err_MASK 0x00000020
# define SCEN_SRAM_Err _MASK 0x00000040
# define SYNC_FIFO_Err_MASK 0x00000080
# define SYNC_POINT_Err_MASK 0x00000100
# define DINTRLV_FIFO_Err _MASK 0x00000200
# define DINTRLV_POINT_Err _MASK 0x00000400
# define SRAM_1_PARITY_ERR _MASK 0x00000002
# define SRAM_2_PARITY_ERR _MASK 0x00000004
# define MPS_ERR _MASK 0x00000008
# define SCEN_RPI_ERR _MASK 0x00000010
# define SCEN_SYNC_ACK_ERR_MASK 0x00000020
# define SCEN_SRAM_ERR _MASK 0x00000040
# define MLA_SYNC_FIFO_ERR_MASK 0x00000080
# define MLA_SYNC_POINT_ERR_MASK 0x00000100
# define DINTRLV_FIFO_ERR _MASK 0x00000200
# define DINTRLV_POINT_ERR _MASK 0x00000400
# define PULSER_THD_MASK 0x00000800
# define THERMAL_Err _MASK 0x00001000
# define PG_Err _MASK 0x00002000
# define PROBE_DISCONNECT_Err _MASK 0x00004000
# define THERMAL_ERR _MASK 0x00001000
# define PG_ERR _MASK 0x00002000
# define PROBE_DISCONNECT_ERR _MASK 0x00004000
# define FAN_FAULT_MASK 0x00008000
# define FRAME_LOST_MASK 0x00020000
# define EMUL_DMA_TRANSFER_Err_MASK 0x40000000
# define DMA_CTRL_TRANSFER_Err_MASK 0x80000000
# define DINTRLV_FRAME_LOST_MASK 0x00020000
# define DINTRLV_OFFSET_ADDR_ERR_MASK 0x00040000
# define DINTRLV_SRAM_OVER_4M_ERR_MASK 0x00080000
# define DDC_LPF_RELOAD_ERR_MASK 0x00100000
# define ADC_FLAG_SYNC_ERR_MASK 0x00200000
# define EMUL_DMA_TRANSFER_ERR_MASK 0x40000000
# define DMA_CTRL_TRANSFER_ERR_MASK 0x80000000
# define BAR 0U
# define OFFSET 0x0
@ -37,10 +41,10 @@ public:
Field * sram2ParityErr ;
Field * mpsErr ;
Field * scenPriErr ;
Field * scenGt Err ;
Field * scenSyncAck Err ;
Field * scenSramErr ;
Field * s yncFifoErr;
Field * s yncPointErr;
Field * mlaS yncFifoErr;
Field * mlaS yncPointErr;
Field * dintrlvFifoErr ;
Field * dintrlvPointErr ;
Field * pulserThd ;
@ -48,52 +52,64 @@ public:
Field * pgErr ;
Field * probeDisconnectErr ;
Field * fanFault ;
Field * frameLost ;
Field * dintrlvFrameLost ;
Field * dintrlvOffsetAddrErr ;
Field * dintrlvSramOver4MErr ;
Field * ddcLpfReloadErr ;
Field * adcFlagSyncErr ;
Field * emulDmaTransferErr ;
Field * dmaCtrlTransferErr ;
StatusVector ( SonoDevice * device ) : Register ( BAR , OFFSET , device )
{
ADD_UNSIGNED_FIELD ( probeDetChanInterrupt , PROBE_DETECTION_INTERRUPT_MASK ) ;
ADD_UNSIGNED_FIELD ( sram1ParityErr , SRAM_1_PARITY_Err _MASK ) ;
ADD_UNSIGNED_FIELD ( sram2ParityErr , SRAM_2_PARITY_Err _MASK ) ;
ADD_UNSIGNED_FIELD ( mpsErr , MPS_Err _MASK ) ;
ADD_UNSIGNED_FIELD ( scenPriErr , SCEN_RPI_Err _MASK ) ;
ADD_UNSIGNED_FIELD ( scenGtErr , SCEN_GT_Err _MASK ) ;
ADD_UNSIGNED_FIELD ( scenSramErr , SCEN_SRAM_Err _MASK ) ;
ADD_UNSIGNED_FIELD ( syncFifoErr , SYNC_FIFO_Err _MASK) ;
ADD_UNSIGNED_FIELD ( syncPointErr , SYNC_POINT_Err _MASK) ;
ADD_UNSIGNED_FIELD ( dintrlvFifoErr , DINTRLV_FIFO_Err _MASK ) ;
ADD_UNSIGNED_FIELD ( dintrlvPointErr , DINTRLV_POINT_Err _MASK ) ;
ADD_UNSIGNED_FIELD ( sram1ParityErr , SRAM_1_PARITY_ERR _MASK ) ;
ADD_UNSIGNED_FIELD ( sram2ParityErr , SRAM_2_PARITY_ERR _MASK ) ;
ADD_UNSIGNED_FIELD ( mpsErr , MPS_ERR _MASK ) ;
ADD_UNSIGNED_FIELD ( scenPriErr , SCEN_RPI_ERR _MASK ) ;
ADD_UNSIGNED_FIELD ( scenSyncAckErr , SCEN_SYNC_ACK_ERR _MASK ) ;
ADD_UNSIGNED_FIELD ( scenSramErr , SCEN_SRAM_ERR _MASK ) ;
ADD_UNSIGNED_FIELD ( mlaSyncFifoErr , MLA_SYNC_FIFO_ERR _MASK) ;
ADD_UNSIGNED_FIELD ( mlaSyncPointErr , MLA_SYNC_POINT_ERR _MASK) ;
ADD_UNSIGNED_FIELD ( dintrlvFifoErr , DINTRLV_FIFO_ERR _MASK ) ;
ADD_UNSIGNED_FIELD ( dintrlvPointErr , DINTRLV_POINT_ERR _MASK ) ;
ADD_UNSIGNED_FIELD ( pulserThd , PULSER_THD_MASK ) ;
ADD_UNSIGNED_FIELD ( thermalErr , THERMAL_Err _MASK ) ;
ADD_UNSIGNED_FIELD ( pgErr , PG_Err _MASK ) ;
ADD_UNSIGNED_FIELD ( probeDisconnectErr , PROBE_DISCONNECT_Err _MASK ) ;
ADD_UNSIGNED_FIELD ( thermalErr , THERMAL_ERR _MASK ) ;
ADD_UNSIGNED_FIELD ( pgErr , PG_ERR _MASK ) ;
ADD_UNSIGNED_FIELD ( probeDisconnectErr , PROBE_DISCONNECT_ERR _MASK ) ;
ADD_UNSIGNED_FIELD ( fanFault , FAN_FAULT_MASK ) ;
ADD_UNSIGNED_FIELD ( frameLost , FRAME_LOST_MASK ) ;
ADD_UNSIGNED_FIELD ( emulDmaTransferErr , EMUL_DMA_TRANSFER_Err_MASK ) ;
ADD_UNSIGNED_FIELD ( dmaCtrlTransferErr , DMA_CTRL_TRANSFER_Err_MASK ) ;
ADD_UNSIGNED_FIELD ( dintrlvFrameLost , DINTRLV_FRAME_LOST_MASK ) ;
ADD_UNSIGNED_FIELD ( dintrlvOffsetAddrErr , DINTRLV_OFFSET_ADDR_ERR_MASK ) ;
ADD_UNSIGNED_FIELD ( dintrlvSramOver4MErr , DINTRLV_SRAM_OVER_4M_ERR_MASK ) ;
ADD_UNSIGNED_FIELD ( ddcLpfReloadErr , DDC_LPF_RELOAD_ERR_MASK ) ;
ADD_UNSIGNED_FIELD ( adcFlagSyncErr , ADC_FLAG_SYNC_ERR_MASK ) ;
ADD_UNSIGNED_FIELD ( emulDmaTransferErr , EMUL_DMA_TRANSFER_ERR_MASK ) ;
ADD_UNSIGNED_FIELD ( dmaCtrlTransferErr , DMA_CTRL_TRANSFER_ERR_MASK ) ;
}
} ;
# undef PROBE_DETECTION_INTERRUPT_MASK
# undef SRAM_1_PARITY_Err _MASK
# undef SRAM_2_PARITY_Err _MASK
# undef MPS_Err _MASK
# undef SCEN_RPI_Err _MASK
# undef SCEN_GT_Err _MASK
# undef SCEN_SRAM_Err _MASK
# undef SYNC_FIFO_Err _MASK
# undef SYNC_POINT_Err _MASK
# undef DINTRLV_FIFO_Err _MASK
# undef DINTRLV_POINT_Err _MASK
# undef SRAM_1_PARITY_ERR _MASK
# undef SRAM_2_PARITY_ERR _MASK
# undef MPS_ERR _MASK
# undef SCEN_RPI_ERR _MASK
# undef SCEN_SYNC_ACK_ERR _MASK
# undef SCEN_SRAM_ERR _MASK
# undef MLA_SYNC_FIFO_ERR _MASK
# undef MLA_SYNC_POINT_ERR _MASK
# undef DINTRLV_FIFO_ERR _MASK
# undef DINTRLV_POINT_ERR _MASK
# undef PULSER_THD_MASK
# undef THERMAL_Err _MASK
# undef PG_Err _MASK
# undef PROBE_DISCONNECT_Err _MASK
# undef THERMAL_ERR _MASK
# undef PG_ERR _MASK
# undef PROBE_DISCONNECT_ERR _MASK
# undef FAN_FAULT_MASK
# undef FRAME_LOST_MASK
# undef EMUL_DMA_TRANSFER_Err_MASK
# undef DINTRLV_FRAME_LOST_MASK
# undef DINTRLV_OFFSET_ADDR_ERR_MASK
# undef DINTRLV_SRAM_OVER_4M_ERR_MASK
# undef DDC_LPF_RELOAD_ERR_MASK
# undef ADC_FLAG_SYNC_ERR_MASK
# undef EMUL_DMA_TRANSFER_ERR_MASK
# undef DMA_CTRL_TRANSFER_Err_MASK
# undef BAR