|
JLab fADC250-V2 Library
0x42
|
Functions | |
| int | faSDC_Config (unsigned short cFlag, unsigned short bMask) |
| Configure the Signal Distribution Card (SDC) More... | |
| void | faSDC_Enable (int nsync) |
| Enable Triggers and/or SyncReset on the SDC. More... | |
| void | faSDC_Disable () |
| Disable Triggers and SyncReset on the SDC. More... | |
| void | faSDC_Sync () |
| Perform a SyncReset from the SDC. More... | |
| void | faSDC_Trig () |
| Perform a trigger pulse from the SDC. More... | |
| int faSDC_Config | ( | unsigned short | cFlag, |
| unsigned short | bMask | ||
| ) |
Configure the Signal Distribution Card (SDC)
| id | Slot number |
| cFlag | controls the configuation of the SDC
|
| bMask | mask of Busy enables for the SDC - Do not Enable busy if there is no FADC |
References fadc_sdc_struct::busy_enable, fadc_sdc_struct::csr, fadc_sdc_struct::ctrl, FASDC_CSR_INIT, FASDC_CTRL_ENABLE_SOFT_SRESET, FASDC_CTRL_ENABLE_SOFT_TRIG, FASDC_CTRL_NOSYNC_SRESET, FASDC_CTRL_NOSYNC_TRIG, FASDCLOCK, and FASDCUNLOCK.
Referenced by faInit().
| void faSDC_Disable | ( | ) |
Disable Triggers and SyncReset on the SDC.
References fadc_sdc_struct::ctrl, FASDC_CTRL_ENABLE_SOFT_SRESET, FASDC_CTRL_ENABLE_SOFT_TRIG, FASDCLOCK, and FASDCUNLOCK.
Referenced by faGDisable().
| void faSDC_Enable | ( | int | nsync | ) |
Enable Triggers and/or SyncReset on the SDC.
| nsync |
|
References fadc_sdc_struct::ctrl, FASDC_CTRL_ENABLE_SOFT_SRESET, FASDCLOCK, and FASDCUNLOCK.
Referenced by faGEnable().
| void faSDC_Sync | ( | ) |
Perform a SyncReset from the SDC.
References fadc_sdc_struct::csr, FASDC_CSR_SRESET, FASDCLOCK, and FASDCUNLOCK.
| void faSDC_Trig | ( | ) |
Perform a trigger pulse from the SDC.
References fadc_sdc_struct::csr, FASDC_CSR_TRIG, FASDCLOCK, and FASDCUNLOCK.