comparison src/cs/layer1/cust0/l1_rf12.h @ 591:205a3ec39d89

SE J100 APCOFF setting turns out to be different from C1xx
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 16 Mar 2019 06:24:06 +0000
parents e48cc313ea31
children 92dbfa906f66
comparison
equal deleted inserted replaced
590:ea22e20c3d70 591:205a3ec39d89
169 #define C_VBDCTRL ((0x006 << 6) | VBDCTRL | TRUE) // Downlink gain amp 0dB, Volume control -12 dB 169 #define C_VBDCTRL ((0x006 << 6) | VBDCTRL | TRUE) // Downlink gain amp 0dB, Volume control -12 dB
170 // RITA does not need an APCOFFSET because the PACTRL is internal: 170 // RITA does not need an APCOFFSET because the PACTRL is internal:
171 // REMOVE //#define C_APCOFF 0x1016 | (0x3c << 6) | TRUE // x2 slope 128 171 // REMOVE //#define C_APCOFF 0x1016 | (0x3c << 6) | TRUE // x2 slope 128
172 #if (RF_PA == 0 || RF_PA == 3) || defined(CONFIG_TARGET_PIRELLI) 172 #if (RF_PA == 0 || RF_PA == 3) || defined(CONFIG_TARGET_PIRELLI)
173 #define C_APCOFF ((0x040 << 6) | APCOFF | TRUE) // x2 slope 128 173 #define C_APCOFF ((0x040 << 6) | APCOFF | TRUE) // x2 slope 128
174 #elif defined(CONFIG_TARGET_COMPAL) 174 #elif defined(CONFIG_TARGET_C1XX)
175 #define C_APCOFF ((0x060 << 6) | APCOFF | TRUE) // x2 slope 128 175 #define C_APCOFF ((0x060 << 6) | APCOFF | TRUE) // x2 slope 128
176 #elif defined(CONFIG_TARGET_J100)
177 #define C_APCOFF ((0x074 << 6) | APCOFF | TRUE) // x2 slope 128
176 #elif (RF_PA == 1 || RF_PA == 2 || RF_PA == 4) 178 #elif (RF_PA == 1 || RF_PA == 2 || RF_PA == 4)
177 #define C_APCOFF ((0x070 << 6) | APCOFF | TRUE) // x2 slope 128 179 #define C_APCOFF ((0x070 << 6) | APCOFF | TRUE) // x2 slope 128
178 #endif 180 #endif
179 #define C_BULIOFF ((0x0FF << 6) | BULIOFF | TRUE) // value at reset 181 #define C_BULIOFF ((0x0FF << 6) | BULIOFF | TRUE) // value at reset
180 #define C_BULQOFF ((0x0FF << 6) | BULQOFF | TRUE) // value at reset 182 #define C_BULQOFF ((0x0FF << 6) | BULQOFF | TRUE) // value at reset