Fix some right alignment
This commit is contained in:
parent
34c144ad13
commit
4e3070c542
@ -372,14 +372,16 @@
|
|||||||
|
|
||||||
/* Other interrupt numbers should be managed by the user */
|
/* Other interrupt numbers should be managed by the user */
|
||||||
|
|
||||||
#define DR_REG_APB_CTRL_BASE 0x3ff66000 /* Old name for SYSCON, to be removed */
|
#define DR_REG_APB_CTRL_BASE 0x3ff66000 /* Old name for SYSCON,
|
||||||
|
to be removed */
|
||||||
#define APB_CTRL_SYSCLK_CONF_REG (DR_REG_APB_CTRL_BASE + 0x0)
|
#define APB_CTRL_SYSCLK_CONF_REG (DR_REG_APB_CTRL_BASE + 0x0)
|
||||||
#define APB_CTRL_XTAL_TICK_CONF_REG (DR_REG_APB_CTRL_BASE + 0x4)
|
#define APB_CTRL_XTAL_TICK_CONF_REG (DR_REG_APB_CTRL_BASE + 0x4)
|
||||||
|
|
||||||
/* APB_CTRL_PRE_DIV_CNT : R/W ;bitpos:[9:0] ;default: 10'h0 ; */
|
/* APB_CTRL_PRE_DIV_CNT : R/W ;bitpos:[9:0] ;default: 10'h0 ; */
|
||||||
|
|
||||||
#define APB_CTRL_PRE_DIV_CNT 0x000003FF
|
#define APB_CTRL_PRE_DIV_CNT 0x000003FF
|
||||||
#define APB_CTRL_PRE_DIV_CNT_M ((APB_CTRL_PRE_DIV_CNT_V)<<(APB_CTRL_PRE_DIV_CNT_S))
|
#define APB_CTRL_PRE_DIV_CNT_M ((APB_CTRL_PRE_DIV_CNT_V) << \
|
||||||
|
(APB_CTRL_PRE_DIV_CNT_S))
|
||||||
#define APB_CTRL_PRE_DIV_CNT_V 0x3FF
|
#define APB_CTRL_PRE_DIV_CNT_V 0x3FF
|
||||||
#define APB_CTRL_PRE_DIV_CNT_S 0
|
#define APB_CTRL_PRE_DIV_CNT_S 0
|
||||||
|
|
||||||
@ -484,11 +486,13 @@ extern int rom_i2c_writeReg(int block, int block_id, int reg_add,
|
|||||||
#define RTC_CNTL_DBIAS_HP_VOLT (RTC_CNTL_DBIAS_1V25 - \
|
#define RTC_CNTL_DBIAS_HP_VOLT (RTC_CNTL_DBIAS_1V25 - \
|
||||||
(REG_GET_FIELD(EFUSE_BLK0_RDATA5_REG, \
|
(REG_GET_FIELD(EFUSE_BLK0_RDATA5_REG, \
|
||||||
EFUSE_RD_VOL_LEVEL_HP_INV)))
|
EFUSE_RD_VOL_LEVEL_HP_INV)))
|
||||||
|
|
||||||
#ifdef CONFIG_ESPTOOLPY_FLASHFREQ_80M
|
#ifdef CONFIG_ESPTOOLPY_FLASHFREQ_80M
|
||||||
#define DIG_DBIAS_80M_160M RTC_CNTL_DBIAS_HP_VOLT
|
#define DIG_DBIAS_80M_160M RTC_CNTL_DBIAS_HP_VOLT
|
||||||
#else
|
#else
|
||||||
#define DIG_DBIAS_80M_160M RTC_CNTL_DBIAS_1V10
|
#define DIG_DBIAS_80M_160M RTC_CNTL_DBIAS_1V10
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DIG_DBIAS_240M RTC_CNTL_DBIAS_HP_VOLT
|
#define DIG_DBIAS_240M RTC_CNTL_DBIAS_HP_VOLT
|
||||||
#define DIG_DBIAS_XTAL RTC_CNTL_DBIAS_1V10
|
#define DIG_DBIAS_XTAL RTC_CNTL_DBIAS_1V10
|
||||||
#define DIG_DBIAS_2M RTC_CNTL_DBIAS_1V00
|
#define DIG_DBIAS_2M RTC_CNTL_DBIAS_1V00
|
||||||
|
Loading…
x
Reference in New Issue
Block a user