📄 changes.txt
字号:
* Added second parameter "uint16_t *value_p" to GetAcntCount7520() to return about counter value * Added second parameter "uint16_t *value_p" to GetAdcntCount7520() to return sample counter value * Added second parameter "uint16_t *value_p" to GetDcntCount7520() to return delay counter value * Added second parameter "uint8_t *source_p" to GetDIO0Clock7520() to return digital I/O port 0 clock source * Added second parameter "uint8_t *mode_p" to GetDIO0CompareMode7520() to return digital I/O port 0 interrupt mode * Added second parameter "uint8_t *value_p" to GetDIO0CompareValue7520() to return digital I/O port 0 Compare Register value * Added second parameter "uint8_t *mask_p" to GetDIO0Direction7520() to return digital I/O port 0 Direction Register value * Added second parameter "uint8_t *mask_p" to GetDIO0Mask7520() to return digital I/O port 0 Mask Register value * Added second parameter "uint8_t *direction_p" to GetDIO1Direction7520() to return digital I/O port 1 direction value * Added second parameter "uint8_t *status_p" to GetDIOStatus7520() to return digital I/O status * Added second parameter "uint16_t *status_p" to GetFifoStatus7520() to return FIFO status * Added second parameter "uint16_t *status_p" to GetITStatus7520() to return interrupt status * Added second parameter "uint16_t *status_p" to GetTimerStatus7520() to return timer status * Added second parameter "uint16_t *count_p" to GetUcnt1Count7520() to return D/A Update Counter 1 value * Added second parameter "uint16_t *count_p" to GetUcnt2Count7520() to return D/A Update Counter 2 value * Added second parameter "uint8_t *empty_p" to IsADFifoEmpty7520() to return empty flag * Added second parameter "uint8_t *full_p" to IsADFifoFull7520() to return full flag * Added second parameter "uint8_t *bus_master_p" to IsBusMaster7520() to return bus master flag * Added second parameter "uint8_t *empty_p" to IsDAC1FifoEmpty7520() to return D/A 1 FIFO empty flag * Added second parameter "uint8_t *full_p" to IsDAC1FifoFull7520() to return D/A 1 FIFO full flag * Added second parameter "uint8_t *half_full_p" to IsDAC1FifoHalfFull7520() to return D/A 1 FIFO half full flag * Added second parameter "uint8_t *empty_p" to IsDAC2FifoEmpty7520() to return D/A 2 FIFO empty flag * Added second parameter "uint8_t *full_p" to IsDAC2FifoFull7520() to return D/A 2 FIFO full flag * Added second parameter "uint8_t *half_full_p" to IsDAC2FifoHalfFull7520() to return D/A 2 FIFO half full flag * Added second parameter "uint8_t *empty_p" to IsDINFifoEmpty7520() to return digital input FIFO empty flag * Added second parameter "uint8_t *full_p" to IsDINFifoFull7520() to return digital input FIFO full flag * Added second parameter "uint8_t *half_full_p" to IsDINFifoHalfFull7520() to return digital input FIFO half full flag * Added second parameter "int16_t *data_p" to ReadADData7520() to return sample * Added second parameter "int16_t *data_p" to ReadADDataWithMarker7520() to return sample * Added second parameter "uint16_t *data_p" to ReadDinFifo7520() to return sample * Added second parameter "uint8_t *data_p" to ReadDIO07520() to return digital value * Added second parameter "uint8_t *data_p" to ReadDIO17520() to return digital value * Added second parameter "uint32_t *value_p" to ReadPacer7520() to return pacer clock value * Added second parameter "uint16_t *value_p" to ReadSampleCounter7520() to return counter value * Added second parameter "uint16_t *value_p" to ReadUserInput7520() to return User Input 0 & 1 values * Removed unnecessary second parameter "int channel" from SetAD_DMAMode7520() * Removed unnecessary second parameter "int channel" from SetHD_DMAMode7520()- include/dm7520_reg.h changes: * Renamed LAS0_SPARE_00 #define to LAS0_MT_MODE because the register is not unused as its name implied but rather it holds both the Master/Target Only Mode jumper setting and the EPLD version number- lib/librtd-dm7520.c changes: * Documented internal library functions * Alphabetized library functions * Fixed a bug in DACClockFreeRun7520() whereby depending upon value of runmode parameter, the proper value may not get written to D/A Clock Mode Select Register; runmode of 0 writes 0 and any other runmode value writes 1 * Fixed a bug in EnableAcntStop7520() whereby depending upon value of enable parameter, the proper value may not get written to About Counter Stop Enable Register; enable of 0 writes 0 and any other enable value writes 1 * Fixed a bug in EnableCGTDigital7520() whereby depending upon value of enable parameter, the proper value may not get written to Enable Digital Table Register; enable of 0 writes 0 and any other enable value writes 1 * Fixed a bug in EnableCGTPause7520() whereby depending upon value of enable parameter, the proper value may not get written to Table Pause Enable Register; enable of 0 writes 0 and any other enable value writes 1 * Fixed a bug in EnableSbus07520() whereby depending upon value of enable parameter, the proper value may not get written to Enable SyncBus 0 Register; enable of 0 writes 0 and any other enable value writes 1 * Fixed a bug in EnableSbus17520() whereby depending upon value of enable parameter, the proper value may not get written to Enable SyncBus 1 Register; enable of 0 writes 0 and any other enable value writes 1 * Fixed a bug in EnableSbus27520() whereby depending upon value of enable parameter, the proper value may not get written to Enable SyncBus 2 Register; enable of 0 writes 0 and any other enable value writes 1 * Added third parameter "uint16_t *value_p" to Get8254Count7520() to return clock value * Added third parameter "uint8_t *mode_p" to Get8254Mode7520() to return clock mode * Added third parameter "uint8_t *status_p" to Get8254Status7520() to return clock status * Added second parameter "uint16_t *value_p" to GetAcntCount7520() to return about counter value * Added second parameter "uint16_t *value_p" to GetAdcntCount7520() to return sample counter value * Added second parameter "uint16_t *value_p" to GetDcntCount7520() to return delay counter value * Added second parameter "uint8_t *source_p" to GetDIO0Clock7520() to return digital I/O port 0 clock source * Added second parameter "uint8_t *mode_p" to GetDIO0CompareMode7520() to return digital I/O port 0 interrupt mode * Added second parameter "uint8_t *value_p" to GetDIO0CompareValue7520() to return digital I/O port 0 Compare Register value * Added second parameter "uint8_t *mask_p" to GetDIO0Direction7520() to return digital I/O port 0 Direction Register value * Added second parameter "uint8_t *mask_p" to GetDIO0Mask7520() to return digital I/O port 0 Mask Register value * Added second parameter "uint8_t *direction_p" to GetDIO1Direction7520() to return digital I/O port 1 direction value * Added second parameter "uint8_t *status_p" to GetDIOStatus7520() to return digital I/O status * Added second parameter "uint16_t *status_p" to GetFifoStatus7520() to return FIFO status * Added second parameter "uint16_t *status_p" to GetITStatus7520() to return interrupt status * Added second parameter "uint16_t *status_p" to GetTimerStatus7520() to return timer status * Added second parameter "uint16_t *count_p" to GetUcnt1Count7520() to return D/A Update Counter 1 value * Added second parameter "uint16_t *count_p" to GetUcnt2Count7520() to return D/A Update Counter 2 value * Added second parameter "uint8_t *empty_p" to IsADFifoEmpty7520() to return empty flag * Added second parameter "uint8_t *full_p" to IsADFifoFull7520() to return full flag * Added second parameter "uint8_t *bus_master_p" to IsBusMaster7520() to return bus master flag * Added second parameter "uint8_t *full_p" to IsDAC1FifoFull7520() to return D/A 1 FIFO full flag * Added second parameter "uint8_t *half_full_p" to IsDAC1FifoHalfFull7520() to return D/A 1 FIFO half full flag * Added second parameter "uint8_t *empty_p" to IsDAC2FifoEmpty7520() to return D/A 2 FIFO empty flag * Added second parameter "uint8_t *full_p" to IsDAC2FifoFull7520() to return D/A 2 FIFO full flag * Added second parameter "uint8_t *half_full_p" to IsDAC2FifoHalfFull7520() to return D/A 2 FIFO half full flag * Added second parameter "uint8_t *empty_p" to IsDINFifoEmpty7520() to return digital input FIFO empty flag * Added second parameter "uint8_t *full_p" to IsDINFifoFull7520() to return digital input FIFO full flag * Added second parameter "uint8_t *half_full_p" to IsDINFifoHalfFull7520() to return digital input FIFO half full flag * Added #include of <dm7520_library.h> to bring in function prototypes and to verify parameter type agreement between function prototype and definition * Fixed bug in ReadData7520() whereby only half of the user buffer was being locked into, and unlocked from, memory * Added second parameter "int16_t *data_p" to ReadADData7520() to return sample * Added second parameter "int16_t *data_p" to ReadADDataWithMarker7520() to return sample * Added second parameter "uint16_t *data_p" to ReadDinFifo7520() to return sample * Added second parameter "uint8_t *data_p" to ReadDIO07520() to return digital value * Added second parameter "uint8_t *data_p" to ReadDIO17520() to return digital value * Added second parameter "uint32_t *value_p" to ReadPacer7520() to return pacer clock value * Added second parameter "uint16_t *value_p" to ReadSampleCounter7520() to return counter value * Added second parameter "uint16_t *value_p" to ReadUserInput7520() to return User Input 0 & 1 values * Removed unnecessary second parameter "int channel" from SetAD_DMAMode7520() * Fixed a bug in SetDAC1Cycle7520() whereby depending upon value of cycle parameter, the proper value may not get written to D/A 1 Cycle Mode Register * Fixed a bug in SetDAC2Cycle7520() whereby depending upon value of cycle parameter, the proper value may not get written to D/A 2 Cycle Mode Register * Added code to SetDIO0Clock7520() to validate clock source * Added code to SetDIO0CompareMode7520() to validate digital interrupt mode * Added code to SetDIO1Direction7520() to validate port direction * Added code to SetEintPolarity7520() to validate polarity * Added code to SetEtrgPolarity7520() to validate polarity * Removed unnecessary second parameter "int channel" from SetHD_DMAMode7520() * Added code to SetHdinStart7520() to validate start signal * Added code to SetNotification7520() to handle error return value from certain fcntl() calls * Added code to SetPacerRepeat7520() to validate start trigger mode * Added code to SetPacerSource7520() to validate clock source * Added code to SetPacerStart7520() to validate start trigger * Added code to SetPacerStop7520() to validate stop trigger * Added code to SetSbus0Source7520() to validate signal source * Added code to SetSbus1Source7520() to validate signal source * Added code to SetSbus2Source7520() to validate signal source * Added code to SetUout0Source7520() to validate signal source * Added code to SetUout1Source7520() to validate signal source * Added code to SetUtc0Clock7520() to validate counter source * Added code to SetUtc0Gate7520() to validate counter gate * Added code to SetUtc1Clock7520() to validate counter source * Added code to SetUtc1Gate7520() to validate counter gate * Added code to SetUtc2Clock7520() to validate counter source * Added code to SetUtc2Gate7520() to validate counter gate * Removed DMA channel validation code from UnSetDMAMode7520() since this is done in the driver * Added code to UnSetNotification7520() to handle error return value from certain fcntl() calls * In IsBusMaster7520(), replaced LAS0_SPARE_00 with LAS0_MT_MODE- README.TXT changes: * Documented that some example programs depend on S-Lang * Documented under "Known Limitations" that PCI bus activity affects achievable board throughput * Documented under "Known Limitations" that UnSetDMAMode7520()'s impacts system activity * Documented under "Known Limitations" that ReadData7520() does not return any status from mlock()/munlock() attempts
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -