Humax T9 사용자 설명서

다운로드
페이지 53
DUT Graphical User Interface
DUT Tool Package
Available Functions in mt_dut.dll
Confidential
 User’s Guide
31
Revision 1.1, 2013-05-06
      
// options = {001, 010, 100, 011, 101, 110, 111}. Returns 1 following a success.
Int Dut_PHYPacketsCounter (unsigned int* packetsCounters) 
// Returns the current value of the  received packet counter and CRC error counter. 
Read before and after transmission. Values will be returned in decimal to the 
location of the array. The array should be composed of two values of uint type. The 
first is for the packet counter and the second is for the CRC error counter. This 
function returns the counters from the PHY layer and does not filter packets 
according to MAC address.
Int Dut_MACPacketsCounter (unsigned int* packetsCounters) 
// As above, but returns the counter from the lower MAC level. Packets are filtered 
according to the MAC address set in the MAC (by using the function Dut_SetMACAddress.
Int Dut_ResetPacketsCounter () 
// Resets the packets and CRC error counters.
Int Dut_RSSIVector (double* RSSI) // Returns the RSSI value of three Rx antennas at 
the time of the call to the location of the array. The array should be composed of 
3 values of double type. Values are in dBm.
6.6
Finalize the Test
Int Dut_DriverRelease(void); 
// Used to terminate your driver control when you have allocated some resources, e.g. 
memory. Can be just a dummy return if your driver has nothing to release.
6.7
Others
Int Dut_WriteReg(DWORD address, DWORD Data, DWORD mask); // For the BB chip
Int Dut_ReadReg(DWORD address, DWORD* pData, DWORD mask); // For the BB chip
Int Dut_ReadRFReg(DWORD address, DWORD* pData, DWORD mask); // For the RF chip
Int Dut_WriteRFReg(DWORD address, DWORD data, DWORD mask); // For the RF chip
Int Dut_ReadChipVersion(DWORF* RF_chip_version, DWORD* BB_chip_version)
Int Dut_ChangeRFChipMode(DWORD mode); 
// Changes the mode of operation of the RF chip. In all modes which are not listen, 
the gen risc is disabled. To re-enable, you must return to listen mode. 
Possible options are:
#define DUT_RF_MODE_LISTEN 0xF77 // Tx turned off
#define DUT_RF_MODE_STANDBY 0x800 // Only LO is kept on
#define DUT_RF_MODE_POWERDOWN 0