• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2010-2016 Espressif Systems (Shanghai) PTE LTD
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef _SOC_BB_REG_H_
16 #define _SOC_BB_REG_H_
17 
18 /* Some of the baseband control registers.
19  * PU/PD fields defined here are used in sleep related functions.
20  */
21 
22 #define BBPD_CTRL (DR_REG_BB_BASE + 0x0054)
23 #define BB_FFT_FORCE_PU (BIT(3))
24 #define BB_FFT_FORCE_PU_M (BIT(3))
25 #define BB_FFT_FORCE_PU_V 1
26 #define BB_FFT_FORCE_PU_S 3
27 #define BB_FFT_FORCE_PD (BIT(2))
28 #define BB_FFT_FORCE_PD_M (BIT(2))
29 #define BB_FFT_FORCE_PD_V 1
30 #define BB_FFT_FORCE_PD_S 2
31 #define BB_DC_EST_FORCE_PU (BIT(1))
32 #define BB_DC_EST_FORCE_PU_M (BIT(1))
33 #define BB_DC_EST_FORCE_PU_V 1
34 #define BB_DC_EST_FORCE_PU_S 1
35 #define BB_DC_EST_FORCE_PD (BIT(0))
36 #define BB_DC_EST_FORCE_PD_M (BIT(0))
37 #define BB_DC_EST_FORCE_PD_V 1
38 #define BB_DC_EST_FORCE_PD_S 0
39 
40 
41 #endif /* _SOC_BB_REG_H_ */
42