- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

# znpRfTestInterface.h

Go to the documentation of this file.

    00001
    00010 #ifndef ZNP_RF_TEST_INTERFACE_H
    00011 #define ZNP_RF_TEST_INTERFACE_H
    00012
    00013 signed int rfTest(unsigned char mode, unsigned char channel);
    00014
    00015 //RF TEST MODES
    00016 #define RF_TEST_UNMODULATED             0
    00017 #define RF_TEST_MODULATED               1
    00018 #define RF_TEST_RECEIVE                 2
    00019 #define RF_TEST_NONE                    0xFF  //NOTE: this is for the application only, don't send this to the ZNP
    00020
    00021 //From Table 1 in cc2530 datasheet, p 21
    00022 #define RF_OUTPUT_POWER_PLUS_4_5_DBM    0xF5  //+4.5dBm
    00023 #define RF_OUTPUT_POWER_PLUS_2_5_DBM    0xE5  //+2.5dBm
    00024 #define RF_OUTPUT_POWER_PLUS_1_0_DBM    0xD5  //+1.0dBm
    00025 #define RF_OUTPUT_POWER_MINUS_0_5_DBM   0xC5  //-0.5dBm
    00026 #define RF_OUTPUT_POWER_MINUS_1_5_DBM   0xB5  //-1.5dBm
    00027 #define RF_OUTPUT_POWER_MINUS_3_0_DBM   0xA5  //-3.0dBm
    00028 #define RF_OUTPUT_POWER_MINUS_10_0_DBM  0x65  //-10.0dBm
    00029
    00030 //used for RF Test Modes:
    00031 #define RF_TEST_CHANNEL_MIN             11
    00032 #define RF_TEST_CHANNEL_MAX             26
    00033
    00034
    00035 #endif

All Data Structures Files Functions Variables Defines