Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
reg.h File Reference

Go to the source code of this file.

Macros

#define DA9055_REG_PAGE_CON   0x00
 
#define DA9055_REG_STATUS_A   0x01
 
#define DA9055_REG_STATUS_B   0x02
 
#define DA9055_REG_FAULT_LOG   0x03
 
#define DA9055_REG_EVENT_A   0x04
 
#define DA9055_REG_EVENT_B   0x05
 
#define DA9055_REG_EVENT_C   0x06
 
#define DA9055_REG_IRQ_MASK_A   0x07
 
#define DA9055_REG_IRQ_MASK_B   0x08
 
#define DA9055_REG_IRQ_MASK_C   0x09
 
#define DA9055_REG_CONTROL_A   0x0A
 
#define DA9055_REG_CONTROL_B   0x0B
 
#define DA9055_REG_CONTROL_C   0x0C
 
#define DA9055_REG_CONTROL_D   0x0D
 
#define DA9055_REG_CONTROL_E   0x0E
 
#define DA9055_REG_PD_DIS   0x0F
 
#define DA9055_REG_GPIO0_1   0x10
 
#define DA9055_REG_GPIO2   0x11
 
#define DA9055_REG_GPIO_MODE0_2   0x12
 
#define DA9055_REG_BCORE_CONT   0x13
 
#define DA9055_REG_BMEM_CONT   0x14
 
#define DA9055_REG_LDO1_CONT   0x15
 
#define DA9055_REG_LDO2_CONT   0x16
 
#define DA9055_REG_LDO3_CONT   0x17
 
#define DA9055_REG_LDO4_CONT   0x18
 
#define DA9055_REG_LDO5_CONT   0x19
 
#define DA9055_REG_LDO6_CONT   0x1A
 
#define DA9055_REG_ADC_MAN   0x1B
 
#define DA9055_REG_ADC_CONT   0x1C
 
#define DA9055_REG_VSYS_MON   0x1D
 
#define DA9055_REG_ADC_RES_L   0x1E
 
#define DA9055_REG_ADC_RES_H   0x1F
 
#define DA9055_REG_VSYS_RES   0x20
 
#define DA9055_REG_ADCIN1_RES   0x21
 
#define DA9055_REG_ADCIN2_RES   0x22
 
#define DA9055_REG_ADCIN3_RES   0x23
 
#define DA9055_REG_EN_32K   0x35
 
#define DA9055_REG_BUCK_LIM   0x37
 
#define DA9055_REG_BCORE_MODE   0x38
 
#define DA9055_REG_VBCORE_A   0x39
 
#define DA9055_REG_VBMEM_A   0x3A
 
#define DA9055_REG_VLDO1_A   0x3B
 
#define DA9055_REG_VLDO2_A   0x3C
 
#define DA9055_REG_VLDO3_A   0x3D
 
#define DA9055_REG_VLDO4_A   0x3E
 
#define DA9055_REG_VLDO5_A   0x3F
 
#define DA9055_REG_VLDO6_A   0x40
 
#define DA9055_REG_VBCORE_B   0x41
 
#define DA9055_REG_VBMEM_B   0x42
 
#define DA9055_REG_VLDO1_B   0x43
 
#define DA9055_REG_VLDO2_B   0x44
 
#define DA9055_REG_VLDO3_B   0x45
 
#define DA9055_REG_VLDO4_B   0x46
 
#define DA9055_REG_VLDO5_B   0x47
 
#define DA9055_REG_VLDO6_B   0x48
 
#define DA9055_REG_AUTO1_HIGH   0x49
 
#define DA9055_REG_AUTO1_LOW   0x4A
 
#define DA9055_REG_AUTO2_HIGH   0x4B
 
#define DA9055_REG_AUTO2_LOW   0x4C
 
#define DA9055_REG_AUTO3_HIGH   0x4D
 
#define DA9055_REG_AUTO3_LOW   0x4E
 
#define DA9055_REG_OPT_COUNT   0x50
 
#define DA9055_REG_OPT_ADDR   0x51
 
#define DA9055_REG_OPT_DATA   0x52
 
#define DA9055_REG_COUNT_S   0x53
 
#define DA9055_REG_COUNT_MI   0x54
 
#define DA9055_REG_COUNT_H   0x55
 
#define DA9055_REG_COUNT_D   0x56
 
#define DA9055_REG_COUNT_MO   0x57
 
#define DA9055_REG_COUNT_Y   0x58
 
#define DA9055_REG_ALARM_MI   0x59
 
#define DA9055_REG_ALARM_H   0x5A
 
#define DA9055_REG_ALARM_D   0x5B
 
#define DA9055_REG_ALARM_MO   0x5C
 
#define DA9055_REG_ALARM_Y   0x5D
 
#define DA9055_REG_SECOND_A   0x5E
 
#define DA9055_REG_SECOND_B   0x5F
 
#define DA9055_REG_SECOND_C   0x60
 
#define DA9055_REG_SECOND_D   0x61
 
#define DA9055_REG_T_OFFSET   0x63
 
#define DA9055_REG_INTERFACE   0x64
 
#define DA9055_REG_CONFIG_A   0x65
 
#define DA9055_REG_CONFIG_B   0x66
 
#define DA9055_REG_CONFIG_C   0x67
 
#define DA9055_REG_CONFIG_D   0x68
 
#define DA9055_REG_CONFIG_E   0x69
 
#define DA9055_REG_TRIM_CLDR   0x6F
 
#define DA9055_REG_GP_ID_0   0x70
 
#define DA9055_REG_GP_ID_1   0x71
 
#define DA9055_REG_GP_ID_2   0x72
 
#define DA9055_REG_GP_ID_3   0x73
 
#define DA9055_REG_GP_ID_4   0x74
 
#define DA9055_REG_GP_ID_5   0x75
 
#define DA9055_REG_GP_ID_6   0x76
 
#define DA9055_REG_GP_ID_7   0x77
 
#define DA9055_REG_GP_ID_8   0x78
 
#define DA9055_REG_GP_ID_9   0x79
 
#define DA9055_REG_GP_ID_10   0x7A
 
#define DA9055_REG_GP_ID_11   0x7B
 
#define DA9055_REG_GP_ID_12   0x7C
 
#define DA9055_REG_GP_ID_13   0x7D
 
#define DA9055_REG_GP_ID_14   0x7E
 
#define DA9055_REG_GP_ID_15   0x7F
 
#define DA9055_REG_GP_ID_16   0x80
 
#define DA9055_REG_GP_ID_17   0x81
 
#define DA9055_REG_GP_ID_18   0x82
 
#define DA9055_REG_GP_ID_19   0x83
 
#define DA9055_MAX_REGISTER_CNT   DA9055_REG_GP_ID_19
 
#define DA9055_PAGE_WRITE_MODE   (0<<6)
 
#define DA9055_REPEAT_WRITE_MODE   (1<<6)
 
#define DA9055_NOKEY_STS   0x01
 
#define DA9055_WAKE_STS   0x02
 
#define DA9055_DVC_BUSY_STS   0x04
 
#define DA9055_COMP1V2_STS   0x08
 
#define DA9055_NJIG_STS   0x10
 
#define DA9055_LDO5_LIM_STS   0x20
 
#define DA9055_LDO6_LIM_STS   0x40
 
#define DA9055_GPI0_STS   0x01
 
#define DA9055_GPI1_STS   0x02
 
#define DA9055_GPI2_STS   0x04
 
#define DA9055_TWD_ERROR_FLG   0x01
 
#define DA9055_POR_FLG   0x02
 
#define DA9055_VDD_FAULT_FLG   0x04
 
#define DA9055_VDD_START_FLG   0x08
 
#define DA9055_TEMP_CRIT_FLG   0x10
 
#define DA9055_KEY_RESET_FLG   0x20
 
#define DA9055_WAIT_SHUT_FLG   0x80
 
#define DA9055_NOKEY_EINT   0x01
 
#define DA9055_ALARM_EINT   0x02
 
#define DA9055_TICK_EINT   0x04
 
#define DA9055_ADC_RDY_EINT   0x08
 
#define DA9055_SEQ_RDY_EINT   0x10
 
#define DA9055_EVENTS_B_EINT   0x20
 
#define DA9055_EVENTS_C_EINT   0x40
 
#define DA9055_E_WAKE_EINT   0x01
 
#define DA9055_E_TEMP_EINT   0x02
 
#define DA9055_E_COMP1V2_EINT   0x04
 
#define DA9055_E_LDO_LIM_EINT   0x08
 
#define DA9055_E_NJIG_EINT   0x20
 
#define DA9055_E_VDD_MON_EINT   0x40
 
#define DA9055_E_VDD_WARN_EINT   0x80
 
#define DA9055_E_GPI0_EINT   0x01
 
#define DA9055_E_GPI1_EINT   0x02
 
#define DA9055_E_GPI2_EINT   0x04
 
#define DA9055_M_NONKEY_EINT   0x01
 
#define DA9055_M_ALARM_EINT   0x02
 
#define DA9055_M_TICK_EINT   0x04
 
#define DA9055_M_ADC_RDY_EINT   0x08
 
#define DA9055_M_SEQ_RDY_EINT   0x10
 
#define DA9055_M_WAKE_EINT   0x01
 
#define DA9055_M_TEMP_EINT   0x02
 
#define DA9055_M_COMP_1V2_EINT   0x04
 
#define DA9055_M_LDO_LIM_EINT   0x08
 
#define DA9055_M_NJIG_EINT   0x20
 
#define DA9055_M_VDD_MON_EINT   0x40
 
#define DA9055_M_VDD_WARN_EINT   0x80
 
#define DA9055_M_GPI0_EINT   0x01
 
#define DA9055_M_GPI1_EINT   0x02
 
#define DA9055_M_GPI2_EINT   0x04
 
#define DA9055_DEBOUNCING_SHIFT   0x00
 
#define DA9055_DEBOUNCING_MASK   0x07
 
#define DA9055_NRES_MODE_SHIFT   0x03
 
#define DA9055_NRES_MODE_MASK   0x08
 
#define DA9055_SLEW_RATE_SHIFT   0x04
 
#define DA9055_SLEW_RATE_MASK   0x30
 
#define DA9055_NOKEY_LOCK_SHIFT   0x06
 
#define DA9055_NOKEY_LOCK_MASK   0x40
 
#define DA9055_RTC_MODE_PD   0x01
 
#define DA9055_RTC_MODE_SD_SHIFT   0x01
 
#define DA9055_RTC_MODE_SD   0x02
 
#define DA9055_RTC_EN   0x04
 
#define DA9055_ECO_MODE_SHIFT   0x03
 
#define DA9055_ECO_MODE_MASK   0x08
 
#define DA9055_TWDSCALE_SHIFT   4
 
#define DA9055_TWDSCALE_MASK   0x70
 
#define DA9055_V_LOCK_SHIFT   0x07
 
#define DA9055_V_LOCK_MASK   0x80
 
#define DA9055_SYSTEM_EN_SHIFT   0x00
 
#define DA9055_SYSTEM_EN_MASK   0x01
 
#define DA9055_POWERN_EN_SHIFT   0x01
 
#define DA9055_POWERN_EN_MASK   0x02
 
#define DA9055_POWER1_EN_SHIFT   0x02
 
#define DA9055_POWER1_EN_MASK   0x04
 
#define DA9055_STANDBY_SHIFT   0x02
 
#define DA9055_STANDBY_MASK   0x08
 
#define DA9055_AUTO_BOOT_SHIFT   0x03
 
#define DA9055_AUTO_BOOT_MASK   0x04
 
#define DA9055_WATCHDOG_SHIFT   0x00
 
#define DA9055_WATCHDOG_MASK   0x01
 
#define DA9055_SHUTDOWN_SHIFT   0x01
 
#define DA9055_SHUTDOWN_MASK   0x02
 
#define DA9055_WAKE_UP_SHIFT   0x02
 
#define DA9055_WAKE_UP_MASK   0x04
 
#define DA9055_GPIO0_PIN_SHIFT   0x00
 
#define DA9055_GPIO0_PIN_MASK   0x03
 
#define DA9055_GPIO0_TYPE_SHIFT   0x02
 
#define DA9055_GPIO0_TYPE_MASK   0x04
 
#define DA9055_GPIO0_WEN_SHIFT   0x03
 
#define DA9055_GPIO0_WEN_MASK   0x08
 
#define DA9055_GPIO1_PIN_SHIFT   0x04
 
#define DA9055_GPIO1_PIN_MASK   0x30
 
#define DA9055_GPIO1_TYPE_SHIFT   0x06
 
#define DA9055_GPIO1_TYPE_MASK   0x40
 
#define DA9055_GPIO1_WEN_SHIFT   0x07
 
#define DA9055_GPIO1_WEN_MASK   0x80
 
#define DA9055_GPIO2_PIN_SHIFT   0x00
 
#define DA9055_GPIO2_PIN_MASK   0x30
 
#define DA9055_GPIO2_TYPE_SHIFT   0x02
 
#define DA9055_GPIO2_TYPE_MASK   0x04
 
#define DA9055_GPIO2_WEN_SHIFT   0x03
 
#define DA9055_GPIO2_WEN_MASK   0x08
 
#define DA9055_GPIO0_MODE_SHIFT   0x00
 
#define DA9055_GPIO0_MODE_MASK   0x01
 
#define DA9055_GPIO1_MODE_SHIFT   0x01
 
#define DA9055_GPIO1_MODE_MASK   0x02
 
#define DA9055_GPIO2_MODE_SHIFT   0x02
 
#define DA9055_GPIO2_MODE_MASK   0x04
 
#define DA9055_BCORE_EN_SHIFT   0x00
 
#define DA9055_BCORE_EN_MASK   0x01
 
#define DA9055_BCORE_GPI_SHIFT   0x01
 
#define DA9055_BCORE_GPI_MASK   0x02
 
#define DA9055_BCORE_PD_DIS_SHIFT   0x03
 
#define DA9055_BCORE_PD_DIS_MASK   0x04
 
#define DA9055_VBCORE_SEL_SHIFT   0x04
 
#define DA9055_SEL_REG_A   0x0
 
#define DA9055_SEL_REG_B   0x10
 
#define DA9055_VBCORE_SEL_MASK   0x10
 
#define DA9055_V_GPI_MASK   0x60
 
#define DA9055_V_GPI_SHIFT   0x05
 
#define DA9055_E_GPI_MASK   0x06
 
#define DA9055_E_GPI_SHIFT   0x01
 
#define DA9055_VBCORE_GPI_SHIFT   0x05
 
#define DA9055_VBCORE_GPI_MASK   0x60
 
#define DA9055_BCORE_CONF_SHIFT   0x07
 
#define DA9055_BCORE_CONF_MASK   0x80
 
#define DA9055_BMEM_EN_SHIFT   0x00
 
#define DA9055_BMEM_EN_MASK   0x01
 
#define DA9055_BMEM_GPI_SHIFT   0x01
 
#define DA9055_BMEM_GPI_MASK   0x06
 
#define DA9055_BMEM_PD_DIS_SHIFT   0x03
 
#define DA9055_BMEM_PD_DIS_MASK   0x08
 
#define DA9055_VBMEM_SEL_SHIT   0x04
 
#define DA9055_VBMEM_SEL_VBMEM_A   (0<<4)
 
#define DA9055_VBMEM_SEL_VBMEM_B   (1<<4)
 
#define DA9055_VBMEM_SEL_MASK   0x10
 
#define DA9055_VBMEM_GPI_SHIFT   0x05
 
#define DA9055_VBMEM_GPI_MASK   0x60
 
#define DA9055_BMEM_CONF_SHIFT   0x07
 
#define DA9055_BMEM_CONF_MASK   0x80
 
#define DA9055_LDO_EN_SHIFT   0x00
 
#define DA9055_LDO_EN_MASK   0x01
 
#define DA9055_LDO_GPI_SHIFT   0x01
 
#define DA9055_LDO_GPI_MASK   0x06
 
#define DA9055_LDO_PD_DIS_SHIFT   0x03
 
#define DA9055_LDO_PD_DIS_MASK   0x08
 
#define DA9055_VLDO_SEL_SHIFT   0x04
 
#define DA9055_VLDO_SEL_MASK   0x10
 
#define DA9055_VLDO_SEL_VLDO_A   0x00
 
#define DA9055_VLDO_SEL_VLDO_B   0x01
 
#define DA9055_VLDO_GPI_SHIFT   0x05
 
#define DA9055_VLDO_GPI_MASK   0x60
 
#define DA9055_LDO_CONF_SHIFT   0x07
 
#define DA9055_LDO_CONF_MASK   0x80
 
#define DA9055_REGUALTOR_SET_A   0x00
 
#define DA9055_REGUALTOR_SET_B   0x10
 
#define DA9055_ADC_MUX_SHIFT   0
 
#define DA9055_ADC_MUX_MASK   0xF
 
#define DA9055_ADC_MUX_VSYS   0x0
 
#define DA9055_ADC_MUX_ADCIN1   0x01
 
#define DA9055_ADC_MUX_ADCIN2   0x02
 
#define DA9055_ADC_MUX_ADCIN3   0x03
 
#define DA9055_ADC_MUX_T_SENSE   0x04
 
#define DA9055_ADC_MAN_SHIFT   0x04
 
#define DA9055_ADC_MAN_CONV   0x10
 
#define DA9055_ADC_LSB_MASK   0X03
 
#define DA9055_ADC_MODE_MASK   0x20
 
#define DA9055_ADC_MODE_SHIFT   5
 
#define DA9055_ADC_MODE_1MS   (1<<5)
 
#define DA9055_COMP1V2_EN_SHIFT   7
 
#define DA9055_ADC_AUTO_VSYS_EN_SHIFT   0
 
#define DA9055_ADC_AUTO_AD1_EN_SHIFT   1
 
#define DA9055_ADC_AUTO_AD2_EN_SHIFT   2
 
#define DA9055_ADC_AUTO_AD3_EN_SHIFT   3
 
#define DA9055_ADC_ISRC_EN_SHIFT   4
 
#define DA9055_ADC_ADCIN1_DEB_SHIFT   5
 
#define DA9055_ADC_ADCIN2_DEB_SHIFT   6
 
#define DA9055_ADC_ADCIN3_DEB_SHIFT   7
 
#define DA9055_AD1_ISRC_MASK   0x10
 
#define DA9055_AD1_ISRC_SHIFT   4
 
#define DA9055_VSYS_VAL_SHIFT   0
 
#define DA9055_VSYS_VAL_MASK   0xFF
 
#define DA9055_VSYS_VAL_BASE   0x00
 
#define DA9055_VSYS_VAL_MAX   DA9055_VSYS_VAL_MASK
 
#define DA9055_VSYS_VOLT_BASE   2500
 
#define DA9055_VSYS_VOLT_INC   10
 
#define DA9055_VSYS_STEPS   255
 
#define DA9055_VSYS_VOLT_MIN   2500
 
#define DA9055_ADC_VAL_SHIFT   0
 
#define DA9055_ADC_VAL_MASK   0xFF
 
#define DA9055_ADC_VAL_BASE   0x00
 
#define DA9055_ADC_VAL_MAX   DA9055_ADC_VAL_MASK
 
#define DA9055_ADC_VOLT_BASE   0
 
#define DA9055_ADC_VSYS_VOLT_BASE   2500
 
#define DA9055_ADC_VOLT_INC   10
 
#define DA9055_ADC_VSYS_VOLT_INC   12
 
#define DA9055_ADC_STEPS   255
 
#define DA9055_STARTUP_TIME_MASK   0x07
 
#define DA9055_STARTUP_TIME_0S   0x0
 
#define DA9055_STARTUP_TIME_0_52S   0x1
 
#define DA9055_STARTUP_TIME_1S   0x2
 
#define DA9055_CRYSTAL_EN   0x08
 
#define DA9055_DELAY_MODE_EN   0x10
 
#define DA9055_OUT_CLCK_GATED   0x20
 
#define DA9055_RTC_CLOCK_GATED   0x40
 
#define DA9055_EN_32KOUT_BUF   0x80
 
#define DA9055_RESET_TIMER_VAL_SHIFT   0
 
#define DA9055_RESET_LOW_VAL_MASK   0x3F
 
#define DA9055_RESET_LOW_VAL_BASE   0
 
#define DA9055_RESET_LOW_VAL_MAX   DA9055_RESET_LOW_VAL_MASK
 
#define DA9055_RESET_US_LOW_BASE   1024 /* min val in units of us */
 
#define DA9055_RESET_US_LOW_INC   1024 /* inc val in units of us */
 
#define DA9055_RESET_US_LOW_STEP   30
 
#define DA9055_RESET_HIGH_VAL_MASK   0x3F
 
#define DA9055_RESET_HIGH_VAL_BASE   0
 
#define DA9055_RESET_HIGH_VAL_MAX   DA9055_RESET_HIGH_VAL_MASK
 
#define DA9055_RESET_US_HIGH_BASE   32768 /* min val in units of us */
 
#define DA9055_RESET_US_HIGH_INC   32768 /* inv val in units of us */
 
#define DA9055_RESET_US_HIGH_STEP   31
 
#define DA9055_BMEM_ILIM_SHIFT   0
 
#define DA9055_ILIM_MASK   0x3
 
#define DA9055_ILIM_500MA   0x0
 
#define DA9055_ILIM_600MA   0x1
 
#define DA9055_ILIM_700MA   0x2
 
#define DA9055_ILIM_800MA   0x3
 
#define DA9055_BCORE_ILIM_SHIFT   2
 
#define DA9055_BMEM_MODE_SHIFT   0
 
#define DA9055_MODE_MASK   0x3
 
#define DA9055_MODE_AB   0x0
 
#define DA9055_MODE_SLEEP   0x1
 
#define DA9055_MODE_SYNCHRO   0x2
 
#define DA9055_MODE_AUTO   0x3
 
#define DA9055_BCORE_MODE_SHIFT   2
 
#define DA9055_VBCORE_VAL_SHIFT   0
 
#define DA9055_VBCORE_VAL_MASK   0x3F
 
#define DA9055_VBCORE_VAL_BASE   0x09
 
#define DA9055_VBCORE_VAL_MAX   DA9055_VBCORE_VAL_MASK
 
#define DA9055_VBCORE_VOLT_BASE   750
 
#define DA9055_VBCORE_VOLT_INC   25
 
#define DA9055_VBCORE_STEPS   53
 
#define DA9055_VBCORE_VOLT_MIN   DA9055_VBCORE_VOLT_BASE
 
#define DA9055_BCORE_SL_SYNCHRO   (0<<7)
 
#define DA9055_BCORE_SL_SLEEP   (1<<7)
 
#define DA9055_VBMEM_VAL_SHIFT   0
 
#define DA9055_VBMEM_VAL_MASK   0x3F
 
#define DA9055_VBMEM_VAL_BASE   0x00
 
#define DA9055_VBMEM_VAL_MAX   DA9055_VBMEM_VAL_MASK
 
#define DA9055_VBMEM_VOLT_BASE   925
 
#define DA9055_VBMEM_VOLT_INC   25
 
#define DA9055_VBMEM_STEPS   63
 
#define DA9055_VBMEM_VOLT_MIN   DA9055_VBMEM_VOLT_BASE
 
#define DA9055_BCMEM_SL_SYNCHRO   (0<<7)
 
#define DA9055_BCMEM_SL_SLEEP   (1<<7)
 
#define DA9055_VLDO_VAL_SHIFT   0
 
#define DA9055_VLDO_VAL_MASK   0x3F
 
#define DA9055_VLDO6_VAL_MASK   0x7F
 
#define DA9055_VLDO_VAL_BASE   0x02
 
#define DA9055_VLDO2_VAL_BASE   0x03
 
#define DA9055_VLDO6_VAL_BASE   0x00
 
#define DA9055_VLDO_VAL_MAX   DA9055_VLDO_VAL_MASK
 
#define DA9055_VLDO6_VAL_MAX   DA9055_VLDO6_VAL_MASK
 
#define DA9055_VLDO_VOLT_BASE   900
 
#define DA9055_VLDO_VOLT_INC   50
 
#define DA9055_VLDO6_VOLT_INC   20
 
#define DA9055_VLDO_STEPS   48
 
#define DA9055_VLDO5_STEPS   37
 
#define DA9055_VLDO6_STEPS   120
 
#define DA9055_VLDO_VOLT_MIN   DA9055_VLDO_VOLT_BASE
 
#define DA9055_LDO_MODE_SHIFT   7
 
#define DA9055_LDO_SL_NORMAL   0
 
#define DA9055_LDO_SL_SLEEP   1
 
#define DA9055_OTP_TIM_NORMAL   (0<<0)
 
#define DA9055_OTP_TIM_MARGINAL   (1<<0)
 
#define DA9055_OTP_GP_RD_SHIFT   1
 
#define DA9055_OTP_APPS_RD_SHIFT   2
 
#define DA9055_PC_DONE_SHIFT   3
 
#define DA9055_OTP_GP_LOCK_SHIFT   4
 
#define DA9055_OTP_APPS_LOCK_SHIFT   5
 
#define DA9055_OTP_CONF_LOCK_SHIFT   6
 
#define DA9055_OTP_WRITE_DIS_SHIFT   7
 
#define DA9055_RTC_SEC   0x3F
 
#define DA9055_RTC_MONITOR_EN   0x40
 
#define DA9055_RTC_READ   0x80
 
#define DA9055_RTC_MIN   0x3F
 
#define DA9055_RTC_HOUR   0x1F
 
#define DA9055_RTC_DAY   0x1F
 
#define DA9055_RTC_MONTH   0x0F
 
#define DA9055_RTC_YEAR   0x3F
 
#define DA9055_RTC_YEAR_BASE   2000
 
#define DA9055_RTC_ALM_MIN   0x3F
 
#define DA9055_ALARM_STATUS_SHIFT   6
 
#define DA9055_ALARM_STATUS_MASK   0x3
 
#define DA9055_ALARM_STATUS_NO_ALARM   0x0
 
#define DA9055_ALARM_STATUS_TICK   0x1
 
#define DA9055_ALARM_STATUS_TIMER_ALARM   0x2
 
#define DA9055_ALARM_STATUS_BOTH   0x3
 
#define DA9055_RTC_ALM_HOUR   0x1F
 
#define DA9055_RTC_ALM_DAY   0x1F
 
#define DA9055_RTC_ALM_MONTH   0x0F
 
#define DA9055_RTC_TICK_WAKE_MASK   0x20
 
#define DA9055_RTC_TICK_WAKE_SHIFT   5
 
#define DA9055_RTC_TICK_TYPE   0x10
 
#define DA9055_RTC_TICK_TYPE_SHIFT   0x4
 
#define DA9055_RTC_TICK_SEC   0x0
 
#define DA9055_RTC_TICK_MIN   0x1
 
#define DA9055_ALARAM_TICK_WAKE   0x20
 
#define DA9055_RTC_TICK_EN   0x80
 
#define DA9055_RTC_ALM_EN   0x40
 
#define DA9055_RTC_TICK_ALM_MASK   0xC0
 
#define DA9055_RTC_ALM_YEAR   0x3F
 
#define DA9055_TRIM_32K_SHIFT   0
 
#define DA9055_TRIM_32K_MASK   0x7F
 
#define DA9055_TRIM_DECREMENT   (1<<7)
 
#define DA9055_TRIM_INCREMENT   (0<<7)
 
#define DA9055_TRIM_VAL_BASE   0x0
 
#define DA9055_TRIM_PPM_BASE   0x0 /* min val in units of 0.1PPM */
 
#define DA9055_TRIM_PPM_INC   19 /* min inc in units of 0.1PPM */
 
#define DA9055_TRIM_STEPS   127
 
#define DA9055_PM_I_V_VDDCORE   (0<<0)
 
#define DA9055_PM_I_V_VDD_IO   (1<<0)
 
#define DA9055_VDD_FAULT_TYPE_ACT_LOW   (0<<1)
 
#define DA9055_VDD_FAULT_TYPE_ACT_HIGH   (1<<1)
 
#define DA9055_PM_O_TYPE_PUSH_PULL   (0<<2)
 
#define DA9055_PM_O_TYPE_OPEN_DRAIN   (1<<2)
 
#define DA9055_IRQ_TYPE_ACT_LOW   (0<<3)
 
#define DA9055_IRQ_TYPE_ACT_HIGH   (1<<3)
 
#define DA9055_NIRQ_MODE_IMM   (0<<4)
 
#define DA9055_NIRQ_MODE_ACTIVE   (1<<4)
 
#define DA9055_GPI_V_VDDCORE   (0<<5)
 
#define DA9055_GPI_V_VDD_IO   (1<<5)
 
#define DA9055_PM_IF_V_VDDCORE   (0<<6)
 
#define DA9055_PM_IF_V_VDD_IO   (1<<6)
 
#define DA9055_VDD_FAULT_VAL_SHIFT   0
 
#define DA9055_VDD_FAULT_VAL_MASK   0xF
 
#define DA9055_VDD_FAULT_VAL_BASE   0x0
 
#define DA9055_VDD_FAULT_VAL_MAX   DA9055_VDD_FAULT_VAL_MASK
 
#define DA9055_VDD_FAULT_VOLT_BASE   2500
 
#define DA9055_VDD_FAULT_VOLT_INC   50
 
#define DA9055_VDD_FAULT_STEPS   15
 
#define DA9055_VDD_HYST_VAL_SHIFT   4
 
#define DA9055_VDD_HYST_VAL_MASK   0x7
 
#define DA9055_VDD_HYST_VAL_BASE   0x0
 
#define DA9055_VDD_HYST_VAL_MAX   DA9055_VDD_HYST_VAL_MASK
 
#define DA9055_VDD_HYST_VOLT_BASE   100
 
#define DA9055_VDD_HYST_VOLT_INC   50
 
#define DA9055_VDD_HYST_STEPS   7
 
#define DA9055_VDD_HYST_VOLT_MIN   DA9055_VDD_HYST_VOLT_BASE
 
#define DA9055_VDD_FAULT_EN_SHIFT   7
 
#define DA9055_BCORE_CLK_INV_SHIFT   0
 
#define DA9055_BMEM_CLK_INV_SHIFT   1
 
#define DA9055_NFAULT_CONF_SHIFT   2
 
#define DA9055_LDO_SD_SHIFT   4
 
#define DA9055_LDO5_BYP_SHIFT   6
 
#define DA9055_LDO6_BYP_SHIFT   7
 
#define DA9055_NONKEY_PIN_SHIFT   0
 
#define DA9055_NONKEY_PIN_MASK   0x3
 
#define DA9055_NONKEY_PIN_PORT_MODE   0x0
 
#define DA9055_NONKEY_PIN_KEY_MODE   0x1
 
#define DA9055_NONKEY_PIN_MULTI_FUNC   0x2
 
#define DA9055_NONKEY_PIN_DEDICT   0x3
 
#define DA9055_NONKEY_SD_SHIFT   2
 
#define DA9055_KEY_DELAY_SHIFT   3
 
#define DA9055_KEY_DELAY_MASK   0x3
 
#define DA9055_KEY_DELAY_4S   0x0
 
#define DA9055_KEY_DELAY_6S   0x1
 
#define DA9055_KEY_DELAY_8S   0x2
 
#define DA9055_KEY_DELAY_10S   0x3
 
#define DA9055_GPIO_PUPD_PULL_UP   0x0
 
#define DA9055_GPIO_PUPD_OPEN_DRAIN   0x1
 
#define DA9055_GPIO0_PUPD_SHIFT   0
 
#define DA9055_GPIO1_PUPD_SHIFT   1
 
#define DA9055_GPIO2_PUPD_SHIFT   2
 
#define DA9055_UVOV_DELAY_SHIFT   4
 
#define DA9055_UVOV_DELAY_MASK   0x3
 
#define DA9055_RESET_DURATION_SHIFT   6
 
#define DA9055_RESET_DURATION_MASK   0x3
 
#define DA9055_RESET_DURATION_0MS   0x0
 
#define DA9055_RESET_DURATION_100MS   0x1
 
#define DA9055_RESET_DURATION_500MS   0x2
 
#define DA9055_RESET_DURATION_1000MS   0x3
 
#define DA9055_MON_THRES_SHIFT   0
 
#define DA9055_MON_THRES_MASK   0x3
 
#define DA9055_MON_RES_SHIFT   2
 
#define DA9055_MON_DEB_SHIFT   3
 
#define DA9055_MON_MODE_SHIFT   4
 
#define DA9055_MON_MODE_MASK   0x3
 
#define DA9055_START_MAX_SHIFT   6
 
#define DA9055_START_MAX_MASK   0x3
 
#define DA9055_LDO1_MON_EN_SHIFT   0
 
#define DA9055_LDO2_MON_EN_SHIFT   1
 
#define DA9055_LDO3_MON_EN_SHIFT   2
 
#define DA9055_LDO4_MON_EN_SHIFT   3
 
#define DA9055_LDO5_MON_EN_SHIFT   4
 
#define DA9055_LDO6_MON_EN_SHIFT   5
 
#define DA9055_BCORE_MON_EN_SHIFT   6
 
#define DA9055_BMEM_MON_EN_SHIFT   7
 
#define DA9055_LDO1_DEF_SHIFT   0
 
#define DA9055_LDO2_DEF_SHIFT   1
 
#define DA9055_LDO3_DEF_SHIFT   2
 
#define DA9055_LDO4_DEF_SHIFT   3
 
#define DA9055_LDO5_DEF_SHIFT   4
 
#define DA9055_LDO6_DEF_SHIFT   5
 
#define DA9055_BCORE_DEF_SHIFT   6
 
#define DA9055_BMEM_DEF_SHIFT   7
 
#define DA9055_MON_A8_IDX_SHIFT   0
 
#define DA9055_MON_A89_IDX_MASK   0x3
 
#define DA9055_MON_A89_IDX_NONE   0x0
 
#define DA9055_MON_A89_IDX_BUCKCORE   0x1
 
#define DA9055_MON_A89_IDX_LDO3   0x2
 
#define DA9055_MON_A9_IDX_SHIFT   5
 
#define DA9055_MON_A10_IDX_SHIFT   0
 
#define DA9055_MON_A10_IDX_MASK   0x3
 
#define DA9055_MON_A10_IDX_NONE   0x0
 
#define DA9055_MON_A10_IDX_LDO1   0x1
 
#define DA9055_MON_A10_IDX_LDO2   0x2
 
#define DA9055_MON_A10_IDX_LDO5   0x3
 
#define DA9055_MON_A10_IDX_LDO6   0x4
 

Macro Definition Documentation

#define DA9055_AD1_ISRC_MASK   0x10

Definition at line 389 of file reg.h.

#define DA9055_AD1_ISRC_SHIFT   4

Definition at line 390 of file reg.h.

#define DA9055_ADC_ADCIN1_DEB_SHIFT   5

Definition at line 386 of file reg.h.

#define DA9055_ADC_ADCIN2_DEB_SHIFT   6

Definition at line 387 of file reg.h.

#define DA9055_ADC_ADCIN3_DEB_SHIFT   7

Definition at line 388 of file reg.h.

#define DA9055_ADC_AUTO_AD1_EN_SHIFT   1

Definition at line 382 of file reg.h.

#define DA9055_ADC_AUTO_AD2_EN_SHIFT   2

Definition at line 383 of file reg.h.

#define DA9055_ADC_AUTO_AD3_EN_SHIFT   3

Definition at line 384 of file reg.h.

#define DA9055_ADC_AUTO_VSYS_EN_SHIFT   0

Definition at line 381 of file reg.h.

#define DA9055_ADC_ISRC_EN_SHIFT   4

Definition at line 385 of file reg.h.

#define DA9055_ADC_LSB_MASK   0X03

Definition at line 374 of file reg.h.

#define DA9055_ADC_MAN_CONV   0x10

Definition at line 373 of file reg.h.

#define DA9055_ADC_MAN_SHIFT   0x04

Definition at line 372 of file reg.h.

#define DA9055_ADC_MODE_1MS   (1<<5)

Definition at line 377 of file reg.h.

#define DA9055_ADC_MODE_MASK   0x20

Definition at line 375 of file reg.h.

#define DA9055_ADC_MODE_SHIFT   5

Definition at line 376 of file reg.h.

#define DA9055_ADC_MUX_ADCIN1   0x01

Definition at line 368 of file reg.h.

#define DA9055_ADC_MUX_ADCIN2   0x02

Definition at line 369 of file reg.h.

#define DA9055_ADC_MUX_ADCIN3   0x03

Definition at line 370 of file reg.h.

#define DA9055_ADC_MUX_MASK   0xF

Definition at line 366 of file reg.h.

#define DA9055_ADC_MUX_SHIFT   0

Definition at line 365 of file reg.h.

#define DA9055_ADC_MUX_T_SENSE   0x04

Definition at line 371 of file reg.h.

#define DA9055_ADC_MUX_VSYS   0x0

Definition at line 367 of file reg.h.

#define DA9055_ADC_RDY_EINT   0x08

Definition at line 198 of file reg.h.

#define DA9055_ADC_STEPS   255

Definition at line 411 of file reg.h.

#define DA9055_ADC_VAL_BASE   0x00

Definition at line 405 of file reg.h.

#define DA9055_ADC_VAL_MASK   0xFF

Definition at line 404 of file reg.h.

#define DA9055_ADC_VAL_MAX   DA9055_ADC_VAL_MASK

Definition at line 406 of file reg.h.

#define DA9055_ADC_VAL_SHIFT   0

Definition at line 403 of file reg.h.

#define DA9055_ADC_VOLT_BASE   0

Definition at line 407 of file reg.h.

#define DA9055_ADC_VOLT_INC   10

Definition at line 409 of file reg.h.

#define DA9055_ADC_VSYS_VOLT_BASE   2500

Definition at line 408 of file reg.h.

#define DA9055_ADC_VSYS_VOLT_INC   12

Definition at line 410 of file reg.h.

#define DA9055_ALARAM_TICK_WAKE   0x20

Definition at line 560 of file reg.h.

#define DA9055_ALARM_EINT   0x02

Definition at line 196 of file reg.h.

#define DA9055_ALARM_STATUS_BOTH   0x3

Definition at line 544 of file reg.h.

#define DA9055_ALARM_STATUS_MASK   0x3

Definition at line 540 of file reg.h.

#define DA9055_ALARM_STATUS_NO_ALARM   0x0

Definition at line 541 of file reg.h.

#define DA9055_ALARM_STATUS_SHIFT   6

Definition at line 539 of file reg.h.

#define DA9055_ALARM_STATUS_TICK   0x1

Definition at line 542 of file reg.h.

#define DA9055_ALARM_STATUS_TIMER_ALARM   0x2

Definition at line 543 of file reg.h.

#define DA9055_AUTO_BOOT_MASK   0x04

Definition at line 272 of file reg.h.

#define DA9055_AUTO_BOOT_SHIFT   0x03

Definition at line 271 of file reg.h.

#define DA9055_BCMEM_SL_SLEEP   (1<<7)

Definition at line 482 of file reg.h.

#define DA9055_BCMEM_SL_SYNCHRO   (0<<7)

Definition at line 481 of file reg.h.

#define DA9055_BCORE_CLK_INV_SHIFT   0

Definition at line 615 of file reg.h.

#define DA9055_BCORE_CONF_MASK   0x80

Definition at line 328 of file reg.h.

#define DA9055_BCORE_CONF_SHIFT   0x07

Definition at line 327 of file reg.h.

#define DA9055_BCORE_DEF_SHIFT   6

Definition at line 679 of file reg.h.

#define DA9055_BCORE_EN_MASK   0x01

Definition at line 312 of file reg.h.

#define DA9055_BCORE_EN_SHIFT   0x00

Definition at line 311 of file reg.h.

#define DA9055_BCORE_GPI_MASK   0x02

Definition at line 314 of file reg.h.

#define DA9055_BCORE_GPI_SHIFT   0x01

Definition at line 313 of file reg.h.

#define DA9055_BCORE_ILIM_SHIFT   2

Definition at line 449 of file reg.h.

#define DA9055_BCORE_MODE_SHIFT   2

Definition at line 458 of file reg.h.

#define DA9055_BCORE_MON_EN_SHIFT   6

Definition at line 669 of file reg.h.

#define DA9055_BCORE_PD_DIS_MASK   0x04

Definition at line 316 of file reg.h.

#define DA9055_BCORE_PD_DIS_SHIFT   0x03

Definition at line 315 of file reg.h.

#define DA9055_BCORE_SL_SLEEP   (1<<7)

Definition at line 470 of file reg.h.

#define DA9055_BCORE_SL_SYNCHRO   (0<<7)

Definition at line 469 of file reg.h.

#define DA9055_BMEM_CLK_INV_SHIFT   1

Definition at line 616 of file reg.h.

#define DA9055_BMEM_CONF_MASK   0x80

Definition at line 344 of file reg.h.

#define DA9055_BMEM_CONF_SHIFT   0x07

Definition at line 343 of file reg.h.

#define DA9055_BMEM_DEF_SHIFT   7

Definition at line 680 of file reg.h.

#define DA9055_BMEM_EN_MASK   0x01

Definition at line 332 of file reg.h.

#define DA9055_BMEM_EN_SHIFT   0x00

Definition at line 331 of file reg.h.

#define DA9055_BMEM_GPI_MASK   0x06

Definition at line 334 of file reg.h.

#define DA9055_BMEM_GPI_SHIFT   0x01

Definition at line 333 of file reg.h.

#define DA9055_BMEM_ILIM_SHIFT   0

Definition at line 443 of file reg.h.

#define DA9055_BMEM_MODE_SHIFT   0

Definition at line 452 of file reg.h.

#define DA9055_BMEM_MON_EN_SHIFT   7

Definition at line 670 of file reg.h.

#define DA9055_BMEM_PD_DIS_MASK   0x08

Definition at line 336 of file reg.h.

#define DA9055_BMEM_PD_DIS_SHIFT   0x03

Definition at line 335 of file reg.h.

#define DA9055_COMP1V2_EN_SHIFT   7

Definition at line 378 of file reg.h.

#define DA9055_COMP1V2_STS   0x08

Definition at line 175 of file reg.h.

#define DA9055_CRYSTAL_EN   0x08

Definition at line 418 of file reg.h.

#define DA9055_DEBOUNCING_MASK   0x07

Definition at line 240 of file reg.h.

#define DA9055_DEBOUNCING_SHIFT   0x00

Definition at line 239 of file reg.h.

#define DA9055_DELAY_MODE_EN   0x10

Definition at line 419 of file reg.h.

#define DA9055_DVC_BUSY_STS   0x04

Definition at line 174 of file reg.h.

#define DA9055_E_COMP1V2_EINT   0x04

Definition at line 206 of file reg.h.

#define DA9055_E_GPI0_EINT   0x01

Definition at line 213 of file reg.h.

#define DA9055_E_GPI1_EINT   0x02

Definition at line 214 of file reg.h.

#define DA9055_E_GPI2_EINT   0x04

Definition at line 215 of file reg.h.

#define DA9055_E_GPI_MASK   0x06

Definition at line 323 of file reg.h.

#define DA9055_E_GPI_SHIFT   0x01

Definition at line 324 of file reg.h.

#define DA9055_E_LDO_LIM_EINT   0x08

Definition at line 207 of file reg.h.

#define DA9055_E_NJIG_EINT   0x20

Definition at line 208 of file reg.h.

#define DA9055_E_TEMP_EINT   0x02

Definition at line 205 of file reg.h.

#define DA9055_E_VDD_MON_EINT   0x40

Definition at line 209 of file reg.h.

#define DA9055_E_VDD_WARN_EINT   0x80

Definition at line 210 of file reg.h.

#define DA9055_E_WAKE_EINT   0x01

Definition at line 204 of file reg.h.

#define DA9055_ECO_MODE_MASK   0x08

Definition at line 254 of file reg.h.

#define DA9055_ECO_MODE_SHIFT   0x03

Definition at line 253 of file reg.h.

#define DA9055_EN_32KOUT_BUF   0x80

Definition at line 422 of file reg.h.

#define DA9055_EVENTS_B_EINT   0x20

Definition at line 200 of file reg.h.

#define DA9055_EVENTS_C_EINT   0x40

Definition at line 201 of file reg.h.

#define DA9055_GPI0_STS   0x01

Definition at line 181 of file reg.h.

#define DA9055_GPI1_STS   0x02

Definition at line 182 of file reg.h.

#define DA9055_GPI2_STS   0x04

Definition at line 183 of file reg.h.

#define DA9055_GPI_V_VDD_IO   (1<<5)

Definition at line 590 of file reg.h.

#define DA9055_GPI_V_VDDCORE   (0<<5)

Definition at line 589 of file reg.h.

#define DA9055_GPIO0_MODE_MASK   0x01

Definition at line 304 of file reg.h.

#define DA9055_GPIO0_MODE_SHIFT   0x00

Definition at line 303 of file reg.h.

#define DA9055_GPIO0_PIN_MASK   0x03

Definition at line 284 of file reg.h.

#define DA9055_GPIO0_PIN_SHIFT   0x00

Definition at line 283 of file reg.h.

#define DA9055_GPIO0_PUPD_SHIFT   0

Definition at line 640 of file reg.h.

#define DA9055_GPIO0_TYPE_MASK   0x04

Definition at line 286 of file reg.h.

#define DA9055_GPIO0_TYPE_SHIFT   0x02

Definition at line 285 of file reg.h.

#define DA9055_GPIO0_WEN_MASK   0x08

Definition at line 288 of file reg.h.

#define DA9055_GPIO0_WEN_SHIFT   0x03

Definition at line 287 of file reg.h.

#define DA9055_GPIO1_MODE_MASK   0x02

Definition at line 306 of file reg.h.

#define DA9055_GPIO1_MODE_SHIFT   0x01

Definition at line 305 of file reg.h.

#define DA9055_GPIO1_PIN_MASK   0x30

Definition at line 290 of file reg.h.

#define DA9055_GPIO1_PIN_SHIFT   0x04

Definition at line 289 of file reg.h.

#define DA9055_GPIO1_PUPD_SHIFT   1

Definition at line 641 of file reg.h.

#define DA9055_GPIO1_TYPE_MASK   0x40

Definition at line 292 of file reg.h.

#define DA9055_GPIO1_TYPE_SHIFT   0x06

Definition at line 291 of file reg.h.

#define DA9055_GPIO1_WEN_MASK   0x80

Definition at line 294 of file reg.h.

#define DA9055_GPIO1_WEN_SHIFT   0x07

Definition at line 293 of file reg.h.

#define DA9055_GPIO2_MODE_MASK   0x04

Definition at line 308 of file reg.h.

#define DA9055_GPIO2_MODE_SHIFT   0x02

Definition at line 307 of file reg.h.

#define DA9055_GPIO2_PIN_MASK   0x30

Definition at line 296 of file reg.h.

#define DA9055_GPIO2_PIN_SHIFT   0x00

Definition at line 295 of file reg.h.

#define DA9055_GPIO2_PUPD_SHIFT   2

Definition at line 642 of file reg.h.

#define DA9055_GPIO2_TYPE_MASK   0x04

Definition at line 298 of file reg.h.

#define DA9055_GPIO2_TYPE_SHIFT   0x02

Definition at line 297 of file reg.h.

#define DA9055_GPIO2_WEN_MASK   0x08

Definition at line 300 of file reg.h.

#define DA9055_GPIO2_WEN_SHIFT   0x03

Definition at line 299 of file reg.h.

#define DA9055_GPIO_PUPD_OPEN_DRAIN   0x1

Definition at line 639 of file reg.h.

#define DA9055_GPIO_PUPD_PULL_UP   0x0

Definition at line 638 of file reg.h.

#define DA9055_ILIM_500MA   0x0

Definition at line 445 of file reg.h.

#define DA9055_ILIM_600MA   0x1

Definition at line 446 of file reg.h.

#define DA9055_ILIM_700MA   0x2

Definition at line 447 of file reg.h.

#define DA9055_ILIM_800MA   0x3

Definition at line 448 of file reg.h.

#define DA9055_ILIM_MASK   0x3

Definition at line 444 of file reg.h.

#define DA9055_IRQ_TYPE_ACT_HIGH   (1<<3)

Definition at line 586 of file reg.h.

#define DA9055_IRQ_TYPE_ACT_LOW   (0<<3)

Definition at line 585 of file reg.h.

#define DA9055_KEY_DELAY_10S   0x3

Definition at line 635 of file reg.h.

#define DA9055_KEY_DELAY_4S   0x0

Definition at line 632 of file reg.h.

#define DA9055_KEY_DELAY_6S   0x1

Definition at line 633 of file reg.h.

#define DA9055_KEY_DELAY_8S   0x2

Definition at line 634 of file reg.h.

#define DA9055_KEY_DELAY_MASK   0x3

Definition at line 631 of file reg.h.

#define DA9055_KEY_DELAY_SHIFT   3

Definition at line 630 of file reg.h.

#define DA9055_KEY_RESET_FLG   0x20

Definition at line 191 of file reg.h.

#define DA9055_LDO1_DEF_SHIFT   0

Definition at line 673 of file reg.h.

#define DA9055_LDO1_MON_EN_SHIFT   0

Definition at line 663 of file reg.h.

#define DA9055_LDO2_DEF_SHIFT   1

Definition at line 674 of file reg.h.

#define DA9055_LDO2_MON_EN_SHIFT   1

Definition at line 664 of file reg.h.

#define DA9055_LDO3_DEF_SHIFT   2

Definition at line 675 of file reg.h.

#define DA9055_LDO3_MON_EN_SHIFT   2

Definition at line 665 of file reg.h.

#define DA9055_LDO4_DEF_SHIFT   3

Definition at line 676 of file reg.h.

#define DA9055_LDO4_MON_EN_SHIFT   3

Definition at line 666 of file reg.h.

#define DA9055_LDO5_BYP_SHIFT   6

Definition at line 619 of file reg.h.

#define DA9055_LDO5_DEF_SHIFT   4

Definition at line 677 of file reg.h.

#define DA9055_LDO5_LIM_STS   0x20

Definition at line 177 of file reg.h.

#define DA9055_LDO5_MON_EN_SHIFT   4

Definition at line 667 of file reg.h.

#define DA9055_LDO6_BYP_SHIFT   7

Definition at line 620 of file reg.h.

#define DA9055_LDO6_DEF_SHIFT   5

Definition at line 678 of file reg.h.

#define DA9055_LDO6_LIM_STS   0x40

Definition at line 178 of file reg.h.

#define DA9055_LDO6_MON_EN_SHIFT   5

Definition at line 668 of file reg.h.

#define DA9055_LDO_CONF_MASK   0x80

Definition at line 360 of file reg.h.

#define DA9055_LDO_CONF_SHIFT   0x07

Definition at line 359 of file reg.h.

#define DA9055_LDO_EN_MASK   0x01

Definition at line 348 of file reg.h.

#define DA9055_LDO_EN_SHIFT   0x00

Definition at line 347 of file reg.h.

#define DA9055_LDO_GPI_MASK   0x06

Definition at line 350 of file reg.h.

#define DA9055_LDO_GPI_SHIFT   0x01

Definition at line 349 of file reg.h.

#define DA9055_LDO_MODE_SHIFT   7

Definition at line 501 of file reg.h.

#define DA9055_LDO_PD_DIS_MASK   0x08

Definition at line 352 of file reg.h.

#define DA9055_LDO_PD_DIS_SHIFT   0x03

Definition at line 351 of file reg.h.

#define DA9055_LDO_SD_SHIFT   4

Definition at line 618 of file reg.h.

#define DA9055_LDO_SL_NORMAL   0

Definition at line 502 of file reg.h.

#define DA9055_LDO_SL_SLEEP   1

Definition at line 503 of file reg.h.

#define DA9055_M_ADC_RDY_EINT   0x08

Definition at line 221 of file reg.h.

#define DA9055_M_ALARM_EINT   0x02

Definition at line 219 of file reg.h.

#define DA9055_M_COMP_1V2_EINT   0x04

Definition at line 227 of file reg.h.

#define DA9055_M_GPI0_EINT   0x01

Definition at line 234 of file reg.h.

#define DA9055_M_GPI1_EINT   0x02

Definition at line 235 of file reg.h.

#define DA9055_M_GPI2_EINT   0x04

Definition at line 236 of file reg.h.

#define DA9055_M_LDO_LIM_EINT   0x08

Definition at line 228 of file reg.h.

#define DA9055_M_NJIG_EINT   0x20

Definition at line 229 of file reg.h.

#define DA9055_M_NONKEY_EINT   0x01

Definition at line 218 of file reg.h.

#define DA9055_M_SEQ_RDY_EINT   0x10

Definition at line 222 of file reg.h.

#define DA9055_M_TEMP_EINT   0x02

Definition at line 226 of file reg.h.

#define DA9055_M_TICK_EINT   0x04

Definition at line 220 of file reg.h.

#define DA9055_M_VDD_MON_EINT   0x40

Definition at line 230 of file reg.h.

#define DA9055_M_VDD_WARN_EINT   0x80

Definition at line 231 of file reg.h.

#define DA9055_M_WAKE_EINT   0x01

Definition at line 225 of file reg.h.

#define DA9055_MAX_REGISTER_CNT   DA9055_REG_GP_ID_19

Definition at line 161 of file reg.h.

#define DA9055_MODE_AB   0x0

Definition at line 454 of file reg.h.

#define DA9055_MODE_AUTO   0x3

Definition at line 457 of file reg.h.

#define DA9055_MODE_MASK   0x3

Definition at line 453 of file reg.h.

#define DA9055_MODE_SLEEP   0x1

Definition at line 455 of file reg.h.

#define DA9055_MODE_SYNCHRO   0x2

Definition at line 456 of file reg.h.

#define DA9055_MON_A10_IDX_LDO1   0x1

Definition at line 694 of file reg.h.

#define DA9055_MON_A10_IDX_LDO2   0x2

Definition at line 695 of file reg.h.

#define DA9055_MON_A10_IDX_LDO5   0x3

Definition at line 696 of file reg.h.

#define DA9055_MON_A10_IDX_LDO6   0x4

Definition at line 697 of file reg.h.

#define DA9055_MON_A10_IDX_MASK   0x3

Definition at line 692 of file reg.h.

#define DA9055_MON_A10_IDX_NONE   0x0

Definition at line 693 of file reg.h.

#define DA9055_MON_A10_IDX_SHIFT   0

Definition at line 691 of file reg.h.

#define DA9055_MON_A89_IDX_BUCKCORE   0x1

Definition at line 686 of file reg.h.

#define DA9055_MON_A89_IDX_LDO3   0x2

Definition at line 687 of file reg.h.

#define DA9055_MON_A89_IDX_MASK   0x3

Definition at line 684 of file reg.h.

#define DA9055_MON_A89_IDX_NONE   0x0

Definition at line 685 of file reg.h.

#define DA9055_MON_A8_IDX_SHIFT   0

Definition at line 683 of file reg.h.

#define DA9055_MON_A9_IDX_SHIFT   5

Definition at line 688 of file reg.h.

#define DA9055_MON_DEB_SHIFT   3

Definition at line 656 of file reg.h.

#define DA9055_MON_MODE_MASK   0x3

Definition at line 658 of file reg.h.

#define DA9055_MON_MODE_SHIFT   4

Definition at line 657 of file reg.h.

#define DA9055_MON_RES_SHIFT   2

Definition at line 655 of file reg.h.

#define DA9055_MON_THRES_MASK   0x3

Definition at line 654 of file reg.h.

#define DA9055_MON_THRES_SHIFT   0

Definition at line 653 of file reg.h.

#define DA9055_NFAULT_CONF_SHIFT   2

Definition at line 617 of file reg.h.

#define DA9055_NIRQ_MODE_ACTIVE   (1<<4)

Definition at line 588 of file reg.h.

#define DA9055_NIRQ_MODE_IMM   (0<<4)

Definition at line 587 of file reg.h.

#define DA9055_NJIG_STS   0x10

Definition at line 176 of file reg.h.

#define DA9055_NOKEY_EINT   0x01

Definition at line 195 of file reg.h.

#define DA9055_NOKEY_LOCK_MASK   0x40

Definition at line 246 of file reg.h.

#define DA9055_NOKEY_LOCK_SHIFT   0x06

Definition at line 245 of file reg.h.

#define DA9055_NOKEY_STS   0x01

Definition at line 172 of file reg.h.

#define DA9055_NONKEY_PIN_DEDICT   0x3

Definition at line 628 of file reg.h.

#define DA9055_NONKEY_PIN_KEY_MODE   0x1

Definition at line 626 of file reg.h.

#define DA9055_NONKEY_PIN_MASK   0x3

Definition at line 624 of file reg.h.

#define DA9055_NONKEY_PIN_MULTI_FUNC   0x2

Definition at line 627 of file reg.h.

#define DA9055_NONKEY_PIN_PORT_MODE   0x0

Definition at line 625 of file reg.h.

#define DA9055_NONKEY_PIN_SHIFT   0

Definition at line 623 of file reg.h.

#define DA9055_NONKEY_SD_SHIFT   2

Definition at line 629 of file reg.h.

#define DA9055_NRES_MODE_MASK   0x08

Definition at line 242 of file reg.h.

#define DA9055_NRES_MODE_SHIFT   0x03

Definition at line 241 of file reg.h.

#define DA9055_OTP_APPS_LOCK_SHIFT   5

Definition at line 512 of file reg.h.

#define DA9055_OTP_APPS_RD_SHIFT   2

Definition at line 509 of file reg.h.

#define DA9055_OTP_CONF_LOCK_SHIFT   6

Definition at line 513 of file reg.h.

#define DA9055_OTP_GP_LOCK_SHIFT   4

Definition at line 511 of file reg.h.

#define DA9055_OTP_GP_RD_SHIFT   1

Definition at line 508 of file reg.h.

#define DA9055_OTP_TIM_MARGINAL   (1<<0)

Definition at line 507 of file reg.h.

#define DA9055_OTP_TIM_NORMAL   (0<<0)

Definition at line 506 of file reg.h.

#define DA9055_OTP_WRITE_DIS_SHIFT   7

Definition at line 514 of file reg.h.

#define DA9055_OUT_CLCK_GATED   0x20

Definition at line 420 of file reg.h.

#define DA9055_PAGE_WRITE_MODE   (0<<6)

Definition at line 168 of file reg.h.

#define DA9055_PC_DONE_SHIFT   3

Definition at line 510 of file reg.h.

#define DA9055_PM_I_V_VDD_IO   (1<<0)

Definition at line 580 of file reg.h.

#define DA9055_PM_I_V_VDDCORE   (0<<0)

Definition at line 579 of file reg.h.

#define DA9055_PM_IF_V_VDD_IO   (1<<6)

Definition at line 592 of file reg.h.

#define DA9055_PM_IF_V_VDDCORE   (0<<6)

Definition at line 591 of file reg.h.

#define DA9055_PM_O_TYPE_OPEN_DRAIN   (1<<2)

Definition at line 584 of file reg.h.

#define DA9055_PM_O_TYPE_PUSH_PULL   (0<<2)

Definition at line 583 of file reg.h.

#define DA9055_POR_FLG   0x02

Definition at line 187 of file reg.h.

#define DA9055_POWER1_EN_MASK   0x04

Definition at line 266 of file reg.h.

#define DA9055_POWER1_EN_SHIFT   0x02

Definition at line 265 of file reg.h.

#define DA9055_POWERN_EN_MASK   0x02

Definition at line 264 of file reg.h.

#define DA9055_POWERN_EN_SHIFT   0x01

Definition at line 263 of file reg.h.

#define DA9055_REG_ADC_CONT   0x1C

Definition at line 67 of file reg.h.

#define DA9055_REG_ADC_MAN   0x1B

Definition at line 66 of file reg.h.

#define DA9055_REG_ADC_RES_H   0x1F

Definition at line 70 of file reg.h.

#define DA9055_REG_ADC_RES_L   0x1E

Definition at line 69 of file reg.h.

#define DA9055_REG_ADCIN1_RES   0x21

Definition at line 72 of file reg.h.

#define DA9055_REG_ADCIN2_RES   0x22

Definition at line 73 of file reg.h.

#define DA9055_REG_ADCIN3_RES   0x23

Definition at line 74 of file reg.h.

#define DA9055_REG_ALARM_D   0x5B

Definition at line 121 of file reg.h.

#define DA9055_REG_ALARM_H   0x5A

Definition at line 120 of file reg.h.

#define DA9055_REG_ALARM_MI   0x59

Definition at line 119 of file reg.h.

#define DA9055_REG_ALARM_MO   0x5C

Definition at line 122 of file reg.h.

#define DA9055_REG_ALARM_Y   0x5D

Definition at line 123 of file reg.h.

#define DA9055_REG_AUTO1_HIGH   0x49

Definition at line 100 of file reg.h.

#define DA9055_REG_AUTO1_LOW   0x4A

Definition at line 101 of file reg.h.

#define DA9055_REG_AUTO2_HIGH   0x4B

Definition at line 102 of file reg.h.

#define DA9055_REG_AUTO2_LOW   0x4C

Definition at line 103 of file reg.h.

#define DA9055_REG_AUTO3_HIGH   0x4D

Definition at line 104 of file reg.h.

#define DA9055_REG_AUTO3_LOW   0x4E

Definition at line 105 of file reg.h.

#define DA9055_REG_BCORE_CONT   0x13

Definition at line 56 of file reg.h.

#define DA9055_REG_BCORE_MODE   0x38

Definition at line 81 of file reg.h.

#define DA9055_REG_BMEM_CONT   0x14

Definition at line 57 of file reg.h.

#define DA9055_REG_BUCK_LIM   0x37

Definition at line 80 of file reg.h.

#define DA9055_REG_CONFIG_A   0x65

Definition at line 132 of file reg.h.

#define DA9055_REG_CONFIG_B   0x66

Definition at line 133 of file reg.h.

#define DA9055_REG_CONFIG_C   0x67

Definition at line 134 of file reg.h.

#define DA9055_REG_CONFIG_D   0x68

Definition at line 135 of file reg.h.

#define DA9055_REG_CONFIG_E   0x69

Definition at line 136 of file reg.h.

#define DA9055_REG_CONTROL_A   0x0A

Definition at line 43 of file reg.h.

#define DA9055_REG_CONTROL_B   0x0B

Definition at line 44 of file reg.h.

#define DA9055_REG_CONTROL_C   0x0C

Definition at line 45 of file reg.h.

#define DA9055_REG_CONTROL_D   0x0D

Definition at line 46 of file reg.h.

#define DA9055_REG_CONTROL_E   0x0E

Definition at line 47 of file reg.h.

#define DA9055_REG_COUNT_D   0x56

Definition at line 116 of file reg.h.

#define DA9055_REG_COUNT_H   0x55

Definition at line 115 of file reg.h.

#define DA9055_REG_COUNT_MI   0x54

Definition at line 114 of file reg.h.

#define DA9055_REG_COUNT_MO   0x57

Definition at line 117 of file reg.h.

#define DA9055_REG_COUNT_S   0x53

Definition at line 113 of file reg.h.

#define DA9055_REG_COUNT_Y   0x58

Definition at line 118 of file reg.h.

#define DA9055_REG_EN_32K   0x35

Definition at line 77 of file reg.h.

#define DA9055_REG_EVENT_A   0x04

Definition at line 37 of file reg.h.

#define DA9055_REG_EVENT_B   0x05

Definition at line 38 of file reg.h.

#define DA9055_REG_EVENT_C   0x06

Definition at line 39 of file reg.h.

#define DA9055_REG_FAULT_LOG   0x03

Definition at line 36 of file reg.h.

#define DA9055_REG_GP_ID_0   0x70

Definition at line 140 of file reg.h.

#define DA9055_REG_GP_ID_1   0x71

Definition at line 141 of file reg.h.

#define DA9055_REG_GP_ID_10   0x7A

Definition at line 150 of file reg.h.

#define DA9055_REG_GP_ID_11   0x7B

Definition at line 151 of file reg.h.

#define DA9055_REG_GP_ID_12   0x7C

Definition at line 152 of file reg.h.

#define DA9055_REG_GP_ID_13   0x7D

Definition at line 153 of file reg.h.

#define DA9055_REG_GP_ID_14   0x7E

Definition at line 154 of file reg.h.

#define DA9055_REG_GP_ID_15   0x7F

Definition at line 155 of file reg.h.

#define DA9055_REG_GP_ID_16   0x80

Definition at line 156 of file reg.h.

#define DA9055_REG_GP_ID_17   0x81

Definition at line 157 of file reg.h.

#define DA9055_REG_GP_ID_18   0x82

Definition at line 158 of file reg.h.

#define DA9055_REG_GP_ID_19   0x83

Definition at line 159 of file reg.h.

#define DA9055_REG_GP_ID_2   0x72

Definition at line 142 of file reg.h.

#define DA9055_REG_GP_ID_3   0x73

Definition at line 143 of file reg.h.

#define DA9055_REG_GP_ID_4   0x74

Definition at line 144 of file reg.h.

#define DA9055_REG_GP_ID_5   0x75

Definition at line 145 of file reg.h.

#define DA9055_REG_GP_ID_6   0x76

Definition at line 146 of file reg.h.

#define DA9055_REG_GP_ID_7   0x77

Definition at line 147 of file reg.h.

#define DA9055_REG_GP_ID_8   0x78

Definition at line 148 of file reg.h.

#define DA9055_REG_GP_ID_9   0x79

Definition at line 149 of file reg.h.

#define DA9055_REG_GPIO0_1   0x10

Definition at line 51 of file reg.h.

#define DA9055_REG_GPIO2   0x11

Definition at line 52 of file reg.h.

#define DA9055_REG_GPIO_MODE0_2   0x12

Definition at line 53 of file reg.h.

#define DA9055_REG_INTERFACE   0x64

Definition at line 131 of file reg.h.

#define DA9055_REG_IRQ_MASK_A   0x07

Definition at line 40 of file reg.h.

#define DA9055_REG_IRQ_MASK_B   0x08

Definition at line 41 of file reg.h.

#define DA9055_REG_IRQ_MASK_C   0x09

Definition at line 42 of file reg.h.

#define DA9055_REG_LDO1_CONT   0x15

Definition at line 58 of file reg.h.

#define DA9055_REG_LDO2_CONT   0x16

Definition at line 59 of file reg.h.

#define DA9055_REG_LDO3_CONT   0x17

Definition at line 60 of file reg.h.

#define DA9055_REG_LDO4_CONT   0x18

Definition at line 61 of file reg.h.

#define DA9055_REG_LDO5_CONT   0x19

Definition at line 62 of file reg.h.

#define DA9055_REG_LDO6_CONT   0x1A

Definition at line 63 of file reg.h.

#define DA9055_REG_OPT_ADDR   0x51

Definition at line 109 of file reg.h.

#define DA9055_REG_OPT_COUNT   0x50

Definition at line 108 of file reg.h.

#define DA9055_REG_OPT_DATA   0x52

Definition at line 110 of file reg.h.

#define DA9055_REG_PAGE_CON   0x00

Definition at line 31 of file reg.h.

#define DA9055_REG_PD_DIS   0x0F

Definition at line 48 of file reg.h.

#define DA9055_REG_SECOND_A   0x5E

Definition at line 124 of file reg.h.

#define DA9055_REG_SECOND_B   0x5F

Definition at line 125 of file reg.h.

#define DA9055_REG_SECOND_C   0x60

Definition at line 126 of file reg.h.

#define DA9055_REG_SECOND_D   0x61

Definition at line 127 of file reg.h.

#define DA9055_REG_STATUS_A   0x01

Definition at line 34 of file reg.h.

#define DA9055_REG_STATUS_B   0x02

Definition at line 35 of file reg.h.

#define DA9055_REG_T_OFFSET   0x63

Definition at line 130 of file reg.h.

#define DA9055_REG_TRIM_CLDR   0x6F

Definition at line 137 of file reg.h.

#define DA9055_REG_VBCORE_A   0x39

Definition at line 82 of file reg.h.

#define DA9055_REG_VBCORE_B   0x41

Definition at line 90 of file reg.h.

#define DA9055_REG_VBMEM_A   0x3A

Definition at line 83 of file reg.h.

#define DA9055_REG_VBMEM_B   0x42

Definition at line 91 of file reg.h.

#define DA9055_REG_VLDO1_A   0x3B

Definition at line 84 of file reg.h.

#define DA9055_REG_VLDO1_B   0x43

Definition at line 92 of file reg.h.

#define DA9055_REG_VLDO2_A   0x3C

Definition at line 85 of file reg.h.

#define DA9055_REG_VLDO2_B   0x44

Definition at line 93 of file reg.h.

#define DA9055_REG_VLDO3_A   0x3D

Definition at line 86 of file reg.h.

#define DA9055_REG_VLDO3_B   0x45

Definition at line 94 of file reg.h.

#define DA9055_REG_VLDO4_A   0x3E

Definition at line 87 of file reg.h.

#define DA9055_REG_VLDO4_B   0x46

Definition at line 95 of file reg.h.

#define DA9055_REG_VLDO5_A   0x3F

Definition at line 88 of file reg.h.

#define DA9055_REG_VLDO5_B   0x47

Definition at line 96 of file reg.h.

#define DA9055_REG_VLDO6_A   0x40

Definition at line 89 of file reg.h.

#define DA9055_REG_VLDO6_B   0x48

Definition at line 97 of file reg.h.

#define DA9055_REG_VSYS_MON   0x1D

Definition at line 68 of file reg.h.

#define DA9055_REG_VSYS_RES   0x20

Definition at line 71 of file reg.h.

#define DA9055_REGUALTOR_SET_A   0x00

Definition at line 361 of file reg.h.

#define DA9055_REGUALTOR_SET_B   0x10

Definition at line 362 of file reg.h.

#define DA9055_REPEAT_WRITE_MODE   (1<<6)

Definition at line 169 of file reg.h.

#define DA9055_RESET_DURATION_0MS   0x0

Definition at line 647 of file reg.h.

#define DA9055_RESET_DURATION_1000MS   0x3

Definition at line 650 of file reg.h.

#define DA9055_RESET_DURATION_100MS   0x1

Definition at line 648 of file reg.h.

#define DA9055_RESET_DURATION_500MS   0x2

Definition at line 649 of file reg.h.

#define DA9055_RESET_DURATION_MASK   0x3

Definition at line 646 of file reg.h.

#define DA9055_RESET_DURATION_SHIFT   6

Definition at line 645 of file reg.h.

#define DA9055_RESET_HIGH_VAL_BASE   0

Definition at line 436 of file reg.h.

#define DA9055_RESET_HIGH_VAL_MASK   0x3F

Definition at line 435 of file reg.h.

#define DA9055_RESET_HIGH_VAL_MAX   DA9055_RESET_HIGH_VAL_MASK

Definition at line 437 of file reg.h.

#define DA9055_RESET_LOW_VAL_BASE   0

Definition at line 428 of file reg.h.

#define DA9055_RESET_LOW_VAL_MASK   0x3F

Definition at line 427 of file reg.h.

#define DA9055_RESET_LOW_VAL_MAX   DA9055_RESET_LOW_VAL_MASK

Definition at line 429 of file reg.h.

#define DA9055_RESET_TIMER_VAL_SHIFT   0

Definition at line 426 of file reg.h.

#define DA9055_RESET_US_HIGH_BASE   32768 /* min val in units of us */

Definition at line 438 of file reg.h.

#define DA9055_RESET_US_HIGH_INC   32768 /* inv val in units of us */

Definition at line 439 of file reg.h.

#define DA9055_RESET_US_HIGH_STEP   31

Definition at line 440 of file reg.h.

#define DA9055_RESET_US_LOW_BASE   1024 /* min val in units of us */

Definition at line 430 of file reg.h.

#define DA9055_RESET_US_LOW_INC   1024 /* inc val in units of us */

Definition at line 431 of file reg.h.

#define DA9055_RESET_US_LOW_STEP   30

Definition at line 432 of file reg.h.

#define DA9055_RTC_ALM_DAY   0x1F

Definition at line 550 of file reg.h.

#define DA9055_RTC_ALM_EN   0x40

Definition at line 564 of file reg.h.

#define DA9055_RTC_ALM_HOUR   0x1F

Definition at line 547 of file reg.h.

#define DA9055_RTC_ALM_MIN   0x3F

Definition at line 538 of file reg.h.

#define DA9055_RTC_ALM_MONTH   0x0F

Definition at line 553 of file reg.h.

#define DA9055_RTC_ALM_YEAR   0x3F

Definition at line 566 of file reg.h.

#define DA9055_RTC_CLOCK_GATED   0x40

Definition at line 421 of file reg.h.

#define DA9055_RTC_DAY   0x1F

Definition at line 528 of file reg.h.

#define DA9055_RTC_EN   0x04

Definition at line 252 of file reg.h.

#define DA9055_RTC_HOUR   0x1F

Definition at line 525 of file reg.h.

#define DA9055_RTC_MIN   0x3F

Definition at line 522 of file reg.h.

#define DA9055_RTC_MODE_PD   0x01

Definition at line 249 of file reg.h.

#define DA9055_RTC_MODE_SD   0x02

Definition at line 251 of file reg.h.

#define DA9055_RTC_MODE_SD_SHIFT   0x01

Definition at line 250 of file reg.h.

#define DA9055_RTC_MONITOR_EN   0x40

Definition at line 518 of file reg.h.

#define DA9055_RTC_MONTH   0x0F

Definition at line 531 of file reg.h.

#define DA9055_RTC_READ   0x80

Definition at line 519 of file reg.h.

#define DA9055_RTC_SEC   0x3F

Definition at line 517 of file reg.h.

#define DA9055_RTC_TICK_ALM_MASK   0xC0

Definition at line 565 of file reg.h.

#define DA9055_RTC_TICK_EN   0x80

Definition at line 563 of file reg.h.

#define DA9055_RTC_TICK_MIN   0x1

Definition at line 559 of file reg.h.

#define DA9055_RTC_TICK_SEC   0x0

Definition at line 558 of file reg.h.

#define DA9055_RTC_TICK_TYPE   0x10

Definition at line 556 of file reg.h.

#define DA9055_RTC_TICK_TYPE_SHIFT   0x4

Definition at line 557 of file reg.h.

#define DA9055_RTC_TICK_WAKE_MASK   0x20

Definition at line 554 of file reg.h.

#define DA9055_RTC_TICK_WAKE_SHIFT   5

Definition at line 555 of file reg.h.

#define DA9055_RTC_YEAR   0x3F

Definition at line 534 of file reg.h.

#define DA9055_RTC_YEAR_BASE   2000

Definition at line 535 of file reg.h.

#define DA9055_SEL_REG_A   0x0

Definition at line 318 of file reg.h.

#define DA9055_SEL_REG_B   0x10

Definition at line 319 of file reg.h.

#define DA9055_SEQ_RDY_EINT   0x10

Definition at line 199 of file reg.h.

#define DA9055_SHUTDOWN_MASK   0x02

Definition at line 278 of file reg.h.

#define DA9055_SHUTDOWN_SHIFT   0x01

Definition at line 277 of file reg.h.

#define DA9055_SLEW_RATE_MASK   0x30

Definition at line 244 of file reg.h.

#define DA9055_SLEW_RATE_SHIFT   0x04

Definition at line 243 of file reg.h.

#define DA9055_STANDBY_MASK   0x08

Definition at line 270 of file reg.h.

#define DA9055_STANDBY_SHIFT   0x02

Definition at line 269 of file reg.h.

#define DA9055_START_MAX_MASK   0x3

Definition at line 660 of file reg.h.

#define DA9055_START_MAX_SHIFT   6

Definition at line 659 of file reg.h.

#define DA9055_STARTUP_TIME_0_52S   0x1

Definition at line 416 of file reg.h.

#define DA9055_STARTUP_TIME_0S   0x0

Definition at line 415 of file reg.h.

#define DA9055_STARTUP_TIME_1S   0x2

Definition at line 417 of file reg.h.

#define DA9055_STARTUP_TIME_MASK   0x07

Definition at line 414 of file reg.h.

#define DA9055_SYSTEM_EN_MASK   0x01

Definition at line 262 of file reg.h.

#define DA9055_SYSTEM_EN_SHIFT   0x00

Definition at line 261 of file reg.h.

#define DA9055_TEMP_CRIT_FLG   0x10

Definition at line 190 of file reg.h.

#define DA9055_TICK_EINT   0x04

Definition at line 197 of file reg.h.

#define DA9055_TRIM_32K_MASK   0x7F

Definition at line 570 of file reg.h.

#define DA9055_TRIM_32K_SHIFT   0

Definition at line 569 of file reg.h.

#define DA9055_TRIM_DECREMENT   (1<<7)

Definition at line 571 of file reg.h.

#define DA9055_TRIM_INCREMENT   (0<<7)

Definition at line 572 of file reg.h.

#define DA9055_TRIM_PPM_BASE   0x0 /* min val in units of 0.1PPM */

Definition at line 574 of file reg.h.

#define DA9055_TRIM_PPM_INC   19 /* min inc in units of 0.1PPM */

Definition at line 575 of file reg.h.

#define DA9055_TRIM_STEPS   127

Definition at line 576 of file reg.h.

#define DA9055_TRIM_VAL_BASE   0x0

Definition at line 573 of file reg.h.

#define DA9055_TWD_ERROR_FLG   0x01

Definition at line 186 of file reg.h.

#define DA9055_TWDSCALE_MASK   0x70

Definition at line 256 of file reg.h.

#define DA9055_TWDSCALE_SHIFT   4

Definition at line 255 of file reg.h.

#define DA9055_UVOV_DELAY_MASK   0x3

Definition at line 644 of file reg.h.

#define DA9055_UVOV_DELAY_SHIFT   4

Definition at line 643 of file reg.h.

#define DA9055_V_GPI_MASK   0x60

Definition at line 321 of file reg.h.

#define DA9055_V_GPI_SHIFT   0x05

Definition at line 322 of file reg.h.

#define DA9055_V_LOCK_MASK   0x80

Definition at line 258 of file reg.h.

#define DA9055_V_LOCK_SHIFT   0x07

Definition at line 257 of file reg.h.

#define DA9055_VBCORE_GPI_MASK   0x60

Definition at line 326 of file reg.h.

#define DA9055_VBCORE_GPI_SHIFT   0x05

Definition at line 325 of file reg.h.

#define DA9055_VBCORE_SEL_MASK   0x10

Definition at line 320 of file reg.h.

#define DA9055_VBCORE_SEL_SHIFT   0x04

Definition at line 317 of file reg.h.

#define DA9055_VBCORE_STEPS   53

Definition at line 467 of file reg.h.

#define DA9055_VBCORE_VAL_BASE   0x09

Definition at line 463 of file reg.h.

#define DA9055_VBCORE_VAL_MASK   0x3F

Definition at line 462 of file reg.h.

#define DA9055_VBCORE_VAL_MAX   DA9055_VBCORE_VAL_MASK

Definition at line 464 of file reg.h.

#define DA9055_VBCORE_VAL_SHIFT   0

Definition at line 461 of file reg.h.

#define DA9055_VBCORE_VOLT_BASE   750

Definition at line 465 of file reg.h.

#define DA9055_VBCORE_VOLT_INC   25

Definition at line 466 of file reg.h.

#define DA9055_VBCORE_VOLT_MIN   DA9055_VBCORE_VOLT_BASE

Definition at line 468 of file reg.h.

#define DA9055_VBMEM_GPI_MASK   0x60

Definition at line 342 of file reg.h.

#define DA9055_VBMEM_GPI_SHIFT   0x05

Definition at line 341 of file reg.h.

#define DA9055_VBMEM_SEL_MASK   0x10

Definition at line 340 of file reg.h.

#define DA9055_VBMEM_SEL_SHIT   0x04

Definition at line 337 of file reg.h.

#define DA9055_VBMEM_SEL_VBMEM_A   (0<<4)

Definition at line 338 of file reg.h.

#define DA9055_VBMEM_SEL_VBMEM_B   (1<<4)

Definition at line 339 of file reg.h.

#define DA9055_VBMEM_STEPS   63

Definition at line 479 of file reg.h.

#define DA9055_VBMEM_VAL_BASE   0x00

Definition at line 475 of file reg.h.

#define DA9055_VBMEM_VAL_MASK   0x3F

Definition at line 474 of file reg.h.

#define DA9055_VBMEM_VAL_MAX   DA9055_VBMEM_VAL_MASK

Definition at line 476 of file reg.h.

#define DA9055_VBMEM_VAL_SHIFT   0

Definition at line 473 of file reg.h.

#define DA9055_VBMEM_VOLT_BASE   925

Definition at line 477 of file reg.h.

#define DA9055_VBMEM_VOLT_INC   25

Definition at line 478 of file reg.h.

#define DA9055_VBMEM_VOLT_MIN   DA9055_VBMEM_VOLT_BASE

Definition at line 480 of file reg.h.

#define DA9055_VDD_FAULT_EN_SHIFT   7

Definition at line 612 of file reg.h.

#define DA9055_VDD_FAULT_FLG   0x04

Definition at line 188 of file reg.h.

#define DA9055_VDD_FAULT_STEPS   15

Definition at line 601 of file reg.h.

#define DA9055_VDD_FAULT_TYPE_ACT_HIGH   (1<<1)

Definition at line 582 of file reg.h.

#define DA9055_VDD_FAULT_TYPE_ACT_LOW   (0<<1)

Definition at line 581 of file reg.h.

#define DA9055_VDD_FAULT_VAL_BASE   0x0

Definition at line 597 of file reg.h.

#define DA9055_VDD_FAULT_VAL_MASK   0xF

Definition at line 596 of file reg.h.

#define DA9055_VDD_FAULT_VAL_MAX   DA9055_VDD_FAULT_VAL_MASK

Definition at line 598 of file reg.h.

#define DA9055_VDD_FAULT_VAL_SHIFT   0

Definition at line 595 of file reg.h.

#define DA9055_VDD_FAULT_VOLT_BASE   2500

Definition at line 599 of file reg.h.

#define DA9055_VDD_FAULT_VOLT_INC   50

Definition at line 600 of file reg.h.

#define DA9055_VDD_HYST_STEPS   7

Definition at line 609 of file reg.h.

#define DA9055_VDD_HYST_VAL_BASE   0x0

Definition at line 605 of file reg.h.

#define DA9055_VDD_HYST_VAL_MASK   0x7

Definition at line 604 of file reg.h.

#define DA9055_VDD_HYST_VAL_MAX   DA9055_VDD_HYST_VAL_MASK

Definition at line 606 of file reg.h.

#define DA9055_VDD_HYST_VAL_SHIFT   4

Definition at line 603 of file reg.h.

#define DA9055_VDD_HYST_VOLT_BASE   100

Definition at line 607 of file reg.h.

#define DA9055_VDD_HYST_VOLT_INC   50

Definition at line 608 of file reg.h.

#define DA9055_VDD_HYST_VOLT_MIN   DA9055_VDD_HYST_VOLT_BASE

Definition at line 610 of file reg.h.

#define DA9055_VDD_START_FLG   0x08

Definition at line 189 of file reg.h.

#define DA9055_VLDO2_VAL_BASE   0x03

Definition at line 490 of file reg.h.

#define DA9055_VLDO5_STEPS   37

Definition at line 498 of file reg.h.

#define DA9055_VLDO6_STEPS   120

Definition at line 499 of file reg.h.

#define DA9055_VLDO6_VAL_BASE   0x00

Definition at line 491 of file reg.h.

#define DA9055_VLDO6_VAL_MASK   0x7F

Definition at line 488 of file reg.h.

#define DA9055_VLDO6_VAL_MAX   DA9055_VLDO6_VAL_MASK

Definition at line 493 of file reg.h.

#define DA9055_VLDO6_VOLT_INC   20

Definition at line 496 of file reg.h.

#define DA9055_VLDO_GPI_MASK   0x60

Definition at line 358 of file reg.h.

#define DA9055_VLDO_GPI_SHIFT   0x05

Definition at line 357 of file reg.h.

#define DA9055_VLDO_SEL_MASK   0x10

Definition at line 354 of file reg.h.

#define DA9055_VLDO_SEL_SHIFT   0x04

Definition at line 353 of file reg.h.

#define DA9055_VLDO_SEL_VLDO_A   0x00

Definition at line 355 of file reg.h.

#define DA9055_VLDO_SEL_VLDO_B   0x01

Definition at line 356 of file reg.h.

#define DA9055_VLDO_STEPS   48

Definition at line 497 of file reg.h.

#define DA9055_VLDO_VAL_BASE   0x02

Definition at line 489 of file reg.h.

#define DA9055_VLDO_VAL_MASK   0x3F

Definition at line 487 of file reg.h.

#define DA9055_VLDO_VAL_MAX   DA9055_VLDO_VAL_MASK

Definition at line 492 of file reg.h.

#define DA9055_VLDO_VAL_SHIFT   0

Definition at line 486 of file reg.h.

#define DA9055_VLDO_VOLT_BASE   900

Definition at line 494 of file reg.h.

#define DA9055_VLDO_VOLT_INC   50

Definition at line 495 of file reg.h.

#define DA9055_VLDO_VOLT_MIN   DA9055_VLDO_VOLT_BASE

Definition at line 500 of file reg.h.

#define DA9055_VSYS_STEPS   255

Definition at line 399 of file reg.h.

#define DA9055_VSYS_VAL_BASE   0x00

Definition at line 395 of file reg.h.

#define DA9055_VSYS_VAL_MASK   0xFF

Definition at line 394 of file reg.h.

#define DA9055_VSYS_VAL_MAX   DA9055_VSYS_VAL_MASK

Definition at line 396 of file reg.h.

#define DA9055_VSYS_VAL_SHIFT   0

Definition at line 393 of file reg.h.

#define DA9055_VSYS_VOLT_BASE   2500

Definition at line 397 of file reg.h.

#define DA9055_VSYS_VOLT_INC   10

Definition at line 398 of file reg.h.

#define DA9055_VSYS_VOLT_MIN   2500

Definition at line 400 of file reg.h.

#define DA9055_WAIT_SHUT_FLG   0x80

Definition at line 192 of file reg.h.

#define DA9055_WAKE_STS   0x02

Definition at line 173 of file reg.h.

#define DA9055_WAKE_UP_MASK   0x04

Definition at line 280 of file reg.h.

#define DA9055_WAKE_UP_SHIFT   0x02

Definition at line 279 of file reg.h.

#define DA9055_WATCHDOG_MASK   0x01

Definition at line 276 of file reg.h.

#define DA9055_WATCHDOG_SHIFT   0x00

Definition at line 275 of file reg.h.