comparison src/cs/layer1/cust0/l1_rf12.h @ 155:ca705e7e03f8

l1_rf12.[ch]: additions for SE J100 target support
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 17 Mar 2019 07:04:00 +0000
parents a312d83bb20c
children 7409b22cac61
comparison
equal deleted inserted replaced
154:9ae97f192d0b 155:ca705e7e03f8
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