mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
360 lines
16 KiB
C
360 lines
16 KiB
C
|
/*
|
||
|
* SPDX-FileCopyrightText: 2017-2023 Espressif Systems (Shanghai) CO LTD
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
#ifndef _SOC_MODEM_LPCON_REG_H_
|
||
|
#define _SOC_MODEM_LPCON_REG_H_
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#include "modem/reg_base.h"
|
||
|
|
||
|
#define MODEM_LPCON_TEST_CONF_REG (DR_REG_MODEM_LPCON_BASE + 0x0)
|
||
|
/* MODEM_LPCON_CLK_EN : R/W ;bitpos:[0] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_EN (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_EN_M (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_EN_V 0x1
|
||
|
#define MODEM_LPCON_CLK_EN_S 0
|
||
|
|
||
|
#define MODEM_LPCON_LP_TIMER_CONF_REG (DR_REG_MODEM_LPCON_BASE + 0x4)
|
||
|
/* MODEM_LPCON_CLK_LP_TIMER_DIV_NUM : R/W ;bitpos:[15:4] ;default: 12'h0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_DIV_NUM 0x00000FFF
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_DIV_NUM_M ((MODEM_LPCON_CLK_LP_TIMER_DIV_NUM_V)<<(MODEM_LPCON_CLK_LP_TIMER_DIV_NUM_S))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_DIV_NUM_V 0xFFF
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_DIV_NUM_S 4
|
||
|
/* MODEM_LPCON_CLK_LP_TIMER_SEL_XTAL32K : R/W ;bitpos:[3] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_XTAL32K (BIT(3))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_XTAL32K_M (BIT(3))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_XTAL32K_V 0x1
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_XTAL32K_S 3
|
||
|
/* MODEM_LPCON_CLK_LP_TIMER_SEL_XTAL : R/W ;bitpos:[2] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_XTAL (BIT(2))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_XTAL_M (BIT(2))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_XTAL_V 0x1
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_XTAL_S 2
|
||
|
/* MODEM_LPCON_CLK_LP_TIMER_SEL_OSC_FAST : R/W ;bitpos:[1] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_OSC_FAST (BIT(1))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_OSC_FAST_M (BIT(1))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_OSC_FAST_V 0x1
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_OSC_FAST_S 1
|
||
|
/* MODEM_LPCON_CLK_LP_TIMER_SEL_OSC_SLOW : R/W ;bitpos:[0] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_OSC_SLOW (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_OSC_SLOW_M (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_OSC_SLOW_V 0x1
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_SEL_OSC_SLOW_S 0
|
||
|
|
||
|
#define MODEM_LPCON_COEX_LP_CLK_CONF_REG (DR_REG_MODEM_LPCON_BASE + 0x8)
|
||
|
/* MODEM_LPCON_CLK_COEX_LP_DIV_NUM : R/W ;bitpos:[15:4] ;default: 12'h0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_DIV_NUM 0x00000FFF
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_DIV_NUM_M ((MODEM_LPCON_CLK_COEX_LP_DIV_NUM_V)<<(MODEM_LPCON_CLK_COEX_LP_DIV_NUM_S))
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_DIV_NUM_V 0xFFF
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_DIV_NUM_S 4
|
||
|
/* MODEM_LPCON_CLK_COEX_LP_SEL_XTAL32K : R/W ;bitpos:[3] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_XTAL32K (BIT(3))
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_XTAL32K_M (BIT(3))
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_XTAL32K_V 0x1
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_XTAL32K_S 3
|
||
|
/* MODEM_LPCON_CLK_COEX_LP_SEL_XTAL : R/W ;bitpos:[2] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_XTAL (BIT(2))
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_XTAL_M (BIT(2))
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_XTAL_V 0x1
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_XTAL_S 2
|
||
|
/* MODEM_LPCON_CLK_COEX_LP_SEL_OSC_FAST : R/W ;bitpos:[1] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_OSC_FAST (BIT(1))
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_OSC_FAST_M (BIT(1))
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_OSC_FAST_V 0x1
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_OSC_FAST_S 1
|
||
|
/* MODEM_LPCON_CLK_COEX_LP_SEL_OSC_SLOW : R/W ;bitpos:[0] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_OSC_SLOW (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_OSC_SLOW_M (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_OSC_SLOW_V 0x1
|
||
|
#define MODEM_LPCON_CLK_COEX_LP_SEL_OSC_SLOW_S 0
|
||
|
|
||
|
#define MODEM_LPCON_WIFI_LP_CLK_CONF_REG (DR_REG_MODEM_LPCON_BASE + 0xC)
|
||
|
/* MODEM_LPCON_CLK_WIFIPWR_LP_DIV_NUM : R/W ;bitpos:[15:4] ;default: 12'h0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_DIV_NUM 0x00000FFF
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_DIV_NUM_M ((MODEM_LPCON_CLK_WIFIPWR_LP_DIV_NUM_V)<<(MODEM_LPCON_CLK_WIFIPWR_LP_DIV_NUM_S))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_DIV_NUM_V 0xFFF
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_DIV_NUM_S 4
|
||
|
/* MODEM_LPCON_CLK_WIFIPWR_LP_SEL_XTAL32K : R/W ;bitpos:[3] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_XTAL32K (BIT(3))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_XTAL32K_M (BIT(3))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_XTAL32K_V 0x1
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_XTAL32K_S 3
|
||
|
/* MODEM_LPCON_CLK_WIFIPWR_LP_SEL_XTAL : R/W ;bitpos:[2] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_XTAL (BIT(2))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_XTAL_M (BIT(2))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_XTAL_V 0x1
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_XTAL_S 2
|
||
|
/* MODEM_LPCON_CLK_WIFIPWR_LP_SEL_OSC_FAST : R/W ;bitpos:[1] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_OSC_FAST (BIT(1))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_OSC_FAST_M (BIT(1))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_OSC_FAST_V 0x1
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_OSC_FAST_S 1
|
||
|
/* MODEM_LPCON_CLK_WIFIPWR_LP_SEL_OSC_SLOW : R/W ;bitpos:[0] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_OSC_SLOW (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_OSC_SLOW_M (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_OSC_SLOW_V 0x1
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_LP_SEL_OSC_SLOW_S 0
|
||
|
|
||
|
#define MODEM_LPCON_I2C_MST_CLK_CONF_REG (DR_REG_MODEM_LPCON_BASE + 0x10)
|
||
|
/* MODEM_LPCON_CLK_I2C_MST_SEL_160M : R/W ;bitpos:[0] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_SEL_160M (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_SEL_160M_M (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_SEL_160M_V 0x1
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_SEL_160M_S 0
|
||
|
|
||
|
#define MODEM_LPCON_MODEM_32K_CLK_CONF_REG (DR_REG_MODEM_LPCON_BASE + 0x14)
|
||
|
/* MODEM_LPCON_CLK_MODEM_32K_SEL : R/W ;bitpos:[1:0] ;default: 2'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_MODEM_32K_SEL 0x00000003
|
||
|
#define MODEM_LPCON_CLK_MODEM_32K_SEL_M ((MODEM_LPCON_CLK_MODEM_32K_SEL_V)<<(MODEM_LPCON_CLK_MODEM_32K_SEL_S))
|
||
|
#define MODEM_LPCON_CLK_MODEM_32K_SEL_V 0x3
|
||
|
#define MODEM_LPCON_CLK_MODEM_32K_SEL_S 0
|
||
|
|
||
|
#define MODEM_LPCON_CLK_CONF_REG (DR_REG_MODEM_LPCON_BASE + 0x18)
|
||
|
/* MODEM_LPCON_CLK_LP_TIMER_EN : R/W ;bitpos:[3] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_EN (BIT(3))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_EN_M (BIT(3))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_EN_V 0x1
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_EN_S 3
|
||
|
/* MODEM_LPCON_CLK_I2C_MST_EN : R/W ;bitpos:[2] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_EN (BIT(2))
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_EN_M (BIT(2))
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_EN_V 0x1
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_EN_S 2
|
||
|
/* MODEM_LPCON_CLK_COEX_EN : R/W ;bitpos:[1] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_COEX_EN (BIT(1))
|
||
|
#define MODEM_LPCON_CLK_COEX_EN_M (BIT(1))
|
||
|
#define MODEM_LPCON_CLK_COEX_EN_V 0x1
|
||
|
#define MODEM_LPCON_CLK_COEX_EN_S 1
|
||
|
/* MODEM_LPCON_CLK_WIFIPWR_EN : R/W ;bitpos:[0] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_EN (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_EN_M (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_EN_V 0x1
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_EN_S 0
|
||
|
|
||
|
#define MODEM_LPCON_CLK_CONF_FORCE_ON_REG (DR_REG_MODEM_LPCON_BASE + 0x1C)
|
||
|
/* MODEM_LPCON_CLK_FE_MEM_FO : R/W ;bitpos:[4] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_FE_MEM_FO (BIT(4))
|
||
|
#define MODEM_LPCON_CLK_FE_MEM_FO_M (BIT(4))
|
||
|
#define MODEM_LPCON_CLK_FE_MEM_FO_V 0x1
|
||
|
#define MODEM_LPCON_CLK_FE_MEM_FO_S 4
|
||
|
/* MODEM_LPCON_CLK_LP_TIMER_FO : R/W ;bitpos:[3] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_FO (BIT(3))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_FO_M (BIT(3))
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_FO_V 0x1
|
||
|
#define MODEM_LPCON_CLK_LP_TIMER_FO_S 3
|
||
|
/* MODEM_LPCON_CLK_I2C_MST_FO : R/W ;bitpos:[2] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_FO (BIT(2))
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_FO_M (BIT(2))
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_FO_V 0x1
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_FO_S 2
|
||
|
/* MODEM_LPCON_CLK_COEX_FO : R/W ;bitpos:[1] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_COEX_FO (BIT(1))
|
||
|
#define MODEM_LPCON_CLK_COEX_FO_M (BIT(1))
|
||
|
#define MODEM_LPCON_CLK_COEX_FO_V 0x1
|
||
|
#define MODEM_LPCON_CLK_COEX_FO_S 1
|
||
|
/* MODEM_LPCON_CLK_WIFIPWR_FO : R/W ;bitpos:[0] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_FO (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_FO_M (BIT(0))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_FO_V 0x1
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_FO_S 0
|
||
|
|
||
|
#define MODEM_LPCON_CLK_CONF_POWER_ST_REG (DR_REG_MODEM_LPCON_BASE + 0x20)
|
||
|
/* MODEM_LPCON_CLK_LP_APB_ST_MAP : R/W ;bitpos:[31:28] ;default: 4'h0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_LP_APB_ST_MAP 0x0000000F
|
||
|
#define MODEM_LPCON_CLK_LP_APB_ST_MAP_M ((MODEM_LPCON_CLK_LP_APB_ST_MAP_V)<<(MODEM_LPCON_CLK_LP_APB_ST_MAP_S))
|
||
|
#define MODEM_LPCON_CLK_LP_APB_ST_MAP_V 0xF
|
||
|
#define MODEM_LPCON_CLK_LP_APB_ST_MAP_S 28
|
||
|
/* MODEM_LPCON_CLK_I2C_MST_ST_MAP : R/W ;bitpos:[27:24] ;default: 4'h0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_ST_MAP 0x0000000F
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_ST_MAP_M ((MODEM_LPCON_CLK_I2C_MST_ST_MAP_V)<<(MODEM_LPCON_CLK_I2C_MST_ST_MAP_S))
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_ST_MAP_V 0xF
|
||
|
#define MODEM_LPCON_CLK_I2C_MST_ST_MAP_S 24
|
||
|
/* MODEM_LPCON_CLK_COEX_ST_MAP : R/W ;bitpos:[23:20] ;default: 4'h0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_COEX_ST_MAP 0x0000000F
|
||
|
#define MODEM_LPCON_CLK_COEX_ST_MAP_M ((MODEM_LPCON_CLK_COEX_ST_MAP_V)<<(MODEM_LPCON_CLK_COEX_ST_MAP_S))
|
||
|
#define MODEM_LPCON_CLK_COEX_ST_MAP_V 0xF
|
||
|
#define MODEM_LPCON_CLK_COEX_ST_MAP_S 20
|
||
|
/* MODEM_LPCON_CLK_WIFIPWR_ST_MAP : R/W ;bitpos:[19:16] ;default: 4'h0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_ST_MAP 0x0000000F
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_ST_MAP_M ((MODEM_LPCON_CLK_WIFIPWR_ST_MAP_V)<<(MODEM_LPCON_CLK_WIFIPWR_ST_MAP_S))
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_ST_MAP_V 0xF
|
||
|
#define MODEM_LPCON_CLK_WIFIPWR_ST_MAP_S 16
|
||
|
|
||
|
#define MODEM_LPCON_RST_CONF_REG (DR_REG_MODEM_LPCON_BASE + 0x24)
|
||
|
/* MODEM_LPCON_RST_LP_TIMER : WO ;bitpos:[3] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_RST_LP_TIMER (BIT(3))
|
||
|
#define MODEM_LPCON_RST_LP_TIMER_M (BIT(3))
|
||
|
#define MODEM_LPCON_RST_LP_TIMER_V 0x1
|
||
|
#define MODEM_LPCON_RST_LP_TIMER_S 3
|
||
|
/* MODEM_LPCON_RST_I2C_MST : WO ;bitpos:[2] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_RST_I2C_MST (BIT(2))
|
||
|
#define MODEM_LPCON_RST_I2C_MST_M (BIT(2))
|
||
|
#define MODEM_LPCON_RST_I2C_MST_V 0x1
|
||
|
#define MODEM_LPCON_RST_I2C_MST_S 2
|
||
|
/* MODEM_LPCON_RST_COEX : WO ;bitpos:[1] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_RST_COEX (BIT(1))
|
||
|
#define MODEM_LPCON_RST_COEX_M (BIT(1))
|
||
|
#define MODEM_LPCON_RST_COEX_V 0x1
|
||
|
#define MODEM_LPCON_RST_COEX_S 1
|
||
|
/* MODEM_LPCON_RST_WIFIPWR : WO ;bitpos:[0] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_RST_WIFIPWR (BIT(0))
|
||
|
#define MODEM_LPCON_RST_WIFIPWR_M (BIT(0))
|
||
|
#define MODEM_LPCON_RST_WIFIPWR_V 0x1
|
||
|
#define MODEM_LPCON_RST_WIFIPWR_S 0
|
||
|
|
||
|
#define MODEM_LPCON_TICK_CONF_REG (DR_REG_MODEM_LPCON_BASE + 0x28)
|
||
|
/* MODEM_LPCON_MODEM_PWR_TICK_TARGET : R/W ;bitpos:[5:0] ;default: 6'd39 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_MODEM_PWR_TICK_TARGET 0x0000003F
|
||
|
#define MODEM_LPCON_MODEM_PWR_TICK_TARGET_M ((MODEM_LPCON_MODEM_PWR_TICK_TARGET_V)<<(MODEM_LPCON_MODEM_PWR_TICK_TARGET_S))
|
||
|
#define MODEM_LPCON_MODEM_PWR_TICK_TARGET_V 0x3F
|
||
|
#define MODEM_LPCON_MODEM_PWR_TICK_TARGET_S 0
|
||
|
|
||
|
#define MODEM_LPCON_MEM_CONF_REG (DR_REG_MODEM_LPCON_BASE + 0x2C)
|
||
|
/* MODEM_LPCON_CHAN_FREQ_MEM_FORCE_PD : R/W ;bitpos:[11] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CHAN_FREQ_MEM_FORCE_PD (BIT(11))
|
||
|
#define MODEM_LPCON_CHAN_FREQ_MEM_FORCE_PD_M (BIT(11))
|
||
|
#define MODEM_LPCON_CHAN_FREQ_MEM_FORCE_PD_V 0x1
|
||
|
#define MODEM_LPCON_CHAN_FREQ_MEM_FORCE_PD_S 11
|
||
|
/* MODEM_LPCON_CHAN_FREQ_MEM_FORCE_PU : R/W ;bitpos:[10] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_CHAN_FREQ_MEM_FORCE_PU (BIT(10))
|
||
|
#define MODEM_LPCON_CHAN_FREQ_MEM_FORCE_PU_M (BIT(10))
|
||
|
#define MODEM_LPCON_CHAN_FREQ_MEM_FORCE_PU_V 0x1
|
||
|
#define MODEM_LPCON_CHAN_FREQ_MEM_FORCE_PU_S 10
|
||
|
/* MODEM_LPCON_I2C_MST_MEM_FORCE_PD : R/W ;bitpos:[9] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_I2C_MST_MEM_FORCE_PD (BIT(9))
|
||
|
#define MODEM_LPCON_I2C_MST_MEM_FORCE_PD_M (BIT(9))
|
||
|
#define MODEM_LPCON_I2C_MST_MEM_FORCE_PD_V 0x1
|
||
|
#define MODEM_LPCON_I2C_MST_MEM_FORCE_PD_S 9
|
||
|
/* MODEM_LPCON_I2C_MST_MEM_FORCE_PU : R/W ;bitpos:[8] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_I2C_MST_MEM_FORCE_PU (BIT(8))
|
||
|
#define MODEM_LPCON_I2C_MST_MEM_FORCE_PU_M (BIT(8))
|
||
|
#define MODEM_LPCON_I2C_MST_MEM_FORCE_PU_V 0x1
|
||
|
#define MODEM_LPCON_I2C_MST_MEM_FORCE_PU_S 8
|
||
|
/* MODEM_LPCON_BC_MEM_FORCE_PD : R/W ;bitpos:[7] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_BC_MEM_FORCE_PD (BIT(7))
|
||
|
#define MODEM_LPCON_BC_MEM_FORCE_PD_M (BIT(7))
|
||
|
#define MODEM_LPCON_BC_MEM_FORCE_PD_V 0x1
|
||
|
#define MODEM_LPCON_BC_MEM_FORCE_PD_S 7
|
||
|
/* MODEM_LPCON_BC_MEM_FORCE_PU : R/W ;bitpos:[6] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_BC_MEM_FORCE_PU (BIT(6))
|
||
|
#define MODEM_LPCON_BC_MEM_FORCE_PU_M (BIT(6))
|
||
|
#define MODEM_LPCON_BC_MEM_FORCE_PU_V 0x1
|
||
|
#define MODEM_LPCON_BC_MEM_FORCE_PU_S 6
|
||
|
/* MODEM_LPCON_PBUS_MEM_FORCE_PD : R/W ;bitpos:[5] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_PBUS_MEM_FORCE_PD (BIT(5))
|
||
|
#define MODEM_LPCON_PBUS_MEM_FORCE_PD_M (BIT(5))
|
||
|
#define MODEM_LPCON_PBUS_MEM_FORCE_PD_V 0x1
|
||
|
#define MODEM_LPCON_PBUS_MEM_FORCE_PD_S 5
|
||
|
/* MODEM_LPCON_PBUS_MEM_FORCE_PU : R/W ;bitpos:[4] ;default: 1'b1 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_PBUS_MEM_FORCE_PU (BIT(4))
|
||
|
#define MODEM_LPCON_PBUS_MEM_FORCE_PU_M (BIT(4))
|
||
|
#define MODEM_LPCON_PBUS_MEM_FORCE_PU_V 0x1
|
||
|
#define MODEM_LPCON_PBUS_MEM_FORCE_PU_S 4
|
||
|
/* MODEM_LPCON_AGC_MEM_FORCE_PD : R/W ;bitpos:[3] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_AGC_MEM_FORCE_PD (BIT(3))
|
||
|
#define MODEM_LPCON_AGC_MEM_FORCE_PD_M (BIT(3))
|
||
|
#define MODEM_LPCON_AGC_MEM_FORCE_PD_V 0x1
|
||
|
#define MODEM_LPCON_AGC_MEM_FORCE_PD_S 3
|
||
|
/* MODEM_LPCON_AGC_MEM_FORCE_PU : R/W ;bitpos:[2] ;default: 1'b1 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_AGC_MEM_FORCE_PU (BIT(2))
|
||
|
#define MODEM_LPCON_AGC_MEM_FORCE_PU_M (BIT(2))
|
||
|
#define MODEM_LPCON_AGC_MEM_FORCE_PU_V 0x1
|
||
|
#define MODEM_LPCON_AGC_MEM_FORCE_PU_S 2
|
||
|
/* MODEM_LPCON_DC_MEM_FORCE_PD : R/W ;bitpos:[1] ;default: 1'b0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_DC_MEM_FORCE_PD (BIT(1))
|
||
|
#define MODEM_LPCON_DC_MEM_FORCE_PD_M (BIT(1))
|
||
|
#define MODEM_LPCON_DC_MEM_FORCE_PD_V 0x1
|
||
|
#define MODEM_LPCON_DC_MEM_FORCE_PD_S 1
|
||
|
/* MODEM_LPCON_DC_MEM_FORCE_PU : R/W ;bitpos:[0] ;default: 1'b1 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_DC_MEM_FORCE_PU (BIT(0))
|
||
|
#define MODEM_LPCON_DC_MEM_FORCE_PU_M (BIT(0))
|
||
|
#define MODEM_LPCON_DC_MEM_FORCE_PU_V 0x1
|
||
|
#define MODEM_LPCON_DC_MEM_FORCE_PU_S 0
|
||
|
|
||
|
#define MODEM_LPCON_MEM_RF1_AUX_CTRL_REG (DR_REG_MODEM_LPCON_BASE + 0x30)
|
||
|
/* MODEM_LPCON_MODEM_PWR_RF1_AUX_CTRL : R/W ;bitpos:[31:0] ;default: 32'h2070 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_MODEM_PWR_RF1_AUX_CTRL 0xFFFFFFFF
|
||
|
#define MODEM_LPCON_MODEM_PWR_RF1_AUX_CTRL_M ((MODEM_LPCON_MODEM_PWR_RF1_AUX_CTRL_V)<<(MODEM_LPCON_MODEM_PWR_RF1_AUX_CTRL_S))
|
||
|
#define MODEM_LPCON_MODEM_PWR_RF1_AUX_CTRL_V 0xFFFFFFFF
|
||
|
#define MODEM_LPCON_MODEM_PWR_RF1_AUX_CTRL_S 0
|
||
|
|
||
|
#define MODEM_LPCON_MEM_RF2_AUX_CTRL_REG (DR_REG_MODEM_LPCON_BASE + 0x34)
|
||
|
/* MODEM_LPCON_MODEM_PWR_RF2_AUX_CTRL : R/W ;bitpos:[31:0] ;default: 32'h0 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_MODEM_PWR_RF2_AUX_CTRL 0xFFFFFFFF
|
||
|
#define MODEM_LPCON_MODEM_PWR_RF2_AUX_CTRL_M ((MODEM_LPCON_MODEM_PWR_RF2_AUX_CTRL_V)<<(MODEM_LPCON_MODEM_PWR_RF2_AUX_CTRL_S))
|
||
|
#define MODEM_LPCON_MODEM_PWR_RF2_AUX_CTRL_V 0xFFFFFFFF
|
||
|
#define MODEM_LPCON_MODEM_PWR_RF2_AUX_CTRL_S 0
|
||
|
|
||
|
#define MODEM_LPCON_DATE_REG (DR_REG_MODEM_LPCON_BASE + 0x38)
|
||
|
/* MODEM_LPCON_DATE : R/W ;bitpos:[27:0] ;default: 28'h2304240 ; */
|
||
|
/*description: .*/
|
||
|
#define MODEM_LPCON_DATE 0x0FFFFFFF
|
||
|
#define MODEM_LPCON_DATE_M ((MODEM_LPCON_DATE_V)<<(MODEM_LPCON_DATE_S))
|
||
|
#define MODEM_LPCON_DATE_V 0xFFFFFFF
|
||
|
#define MODEM_LPCON_DATE_S 0
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
#endif /*_SOC_MODEM_LPCON_REG_H_ */
|