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 DA9052_PAGE0_CON_REG   0
 
#define DA9052_PAGE1_CON_REG   128
 
#define DA9052_STATUS_A_REG   1
 
#define DA9052_STATUS_B_REG   2
 
#define DA9052_STATUS_C_REG   3
 
#define DA9052_STATUS_D_REG   4
 
#define DA9052_EVENT_A_REG   5
 
#define DA9052_EVENT_B_REG   6
 
#define DA9052_EVENT_C_REG   7
 
#define DA9052_EVENT_D_REG   8
 
#define DA9052_FAULTLOG_REG   9
 
#define DA9052_IRQ_MASK_A_REG   10
 
#define DA9052_IRQ_MASK_B_REG   11
 
#define DA9052_IRQ_MASK_C_REG   12
 
#define DA9052_IRQ_MASK_D_REG   13
 
#define DA9052_CONTROL_A_REG   14
 
#define DA9052_CONTROL_B_REG   15
 
#define DA9052_CONTROL_C_REG   16
 
#define DA9052_CONTROL_D_REG   17
 
#define DA9052_PDDIS_REG   18
 
#define DA9052_INTERFACE_REG   19
 
#define DA9052_RESET_REG   20
 
#define DA9052_GPIO_0_1_REG   21
 
#define DA9052_GPIO_2_3_REG   22
 
#define DA9052_GPIO_4_5_REG   23
 
#define DA9052_GPIO_6_7_REG   24
 
#define DA9052_GPIO_14_15_REG   28
 
#define DA9052_ID_0_1_REG   29
 
#define DA9052_ID_2_3_REG   30
 
#define DA9052_ID_4_5_REG   31
 
#define DA9052_ID_6_7_REG   32
 
#define DA9052_ID_8_9_REG   33
 
#define DA9052_ID_10_11_REG   34
 
#define DA9052_ID_12_13_REG   35
 
#define DA9052_ID_14_15_REG   36
 
#define DA9052_ID_16_17_REG   37
 
#define DA9052_ID_18_19_REG   38
 
#define DA9052_ID_20_21_REG   39
 
#define DA9052_SEQ_STATUS_REG   40
 
#define DA9052_SEQ_A_REG   41
 
#define DA9052_SEQ_B_REG   42
 
#define DA9052_SEQ_TIMER_REG   43
 
#define DA9052_BUCKA_REG   44
 
#define DA9052_BUCKB_REG   45
 
#define DA9052_BUCKCORE_REG   46
 
#define DA9052_BUCKPRO_REG   47
 
#define DA9052_BUCKMEM_REG   48
 
#define DA9052_BUCKPERI_REG   49
 
#define DA9052_LDO1_REG   50
 
#define DA9052_LDO2_REG   51
 
#define DA9052_LDO3_REG   52
 
#define DA9052_LDO4_REG   53
 
#define DA9052_LDO5_REG   54
 
#define DA9052_LDO6_REG   55
 
#define DA9052_LDO7_REG   56
 
#define DA9052_LDO8_REG   57
 
#define DA9052_LDO9_REG   58
 
#define DA9052_LDO10_REG   59
 
#define DA9052_SUPPLY_REG   60
 
#define DA9052_PULLDOWN_REG   61
 
#define DA9052_CHGBUCK_REG   62
 
#define DA9052_WAITCONT_REG   63
 
#define DA9052_ISET_REG   64
 
#define DA9052_BATCHG_REG   65
 
#define DA9052_CHG_CONT_REG   66
 
#define DA9052_INPUT_CONT_REG   67
 
#define DA9052_CHG_TIME_REG   68
 
#define DA9052_BBAT_CONT_REG   69
 
#define DA9052_BOOST_REG   70
 
#define DA9052_LED_CONT_REG   71
 
#define DA9052_LEDMIN123_REG   72
 
#define DA9052_LED1_CONF_REG   73
 
#define DA9052_LED2_CONF_REG   74
 
#define DA9052_LED3_CONF_REG   75
 
#define DA9052_LED1CONT_REG   76
 
#define DA9052_LED2CONT_REG   77
 
#define DA9052_LED3CONT_REG   78
 
#define DA9052_LED_CONT_4_REG   79
 
#define DA9052_LED_CONT_5_REG   80
 
#define DA9052_ADC_MAN_REG   81
 
#define DA9052_ADC_CONT_REG   82
 
#define DA9052_ADC_RES_L_REG   83
 
#define DA9052_ADC_RES_H_REG   84
 
#define DA9052_VDD_RES_REG   85
 
#define DA9052_VDD_MON_REG   86
 
#define DA9052_ICHG_AV_REG   87
 
#define DA9052_ICHG_THD_REG   88
 
#define DA9052_ICHG_END_REG   89
 
#define DA9052_TBAT_RES_REG   90
 
#define DA9052_TBAT_HIGHP_REG   91
 
#define DA9052_TBAT_HIGHN_REG   92
 
#define DA9052_TBAT_LOW_REG   93
 
#define DA9052_T_OFFSET_REG   94
 
#define DA9052_ADCIN4_RES_REG   95
 
#define DA9052_AUTO4_HIGH_REG   96
 
#define DA9052_AUTO4_LOW_REG   97
 
#define DA9052_ADCIN5_RES_REG   98
 
#define DA9052_AUTO5_HIGH_REG   99
 
#define DA9052_AUTO5_LOW_REG   100
 
#define DA9052_ADCIN6_RES_REG   101
 
#define DA9052_AUTO6_HIGH_REG   102
 
#define DA9052_AUTO6_LOW_REG   103
 
#define DA9052_TJUNC_RES_REG   104
 
#define DA9052_TSI_CONT_A_REG   105
 
#define DA9052_TSI_CONT_B_REG   106
 
#define DA9052_TSI_X_MSB_REG   107
 
#define DA9052_TSI_Y_MSB_REG   108
 
#define DA9052_TSI_LSB_REG   109
 
#define DA9052_TSI_Z_MSB_REG   110
 
#define DA9052_COUNT_S_REG   111
 
#define DA9052_COUNT_MI_REG   112
 
#define DA9052_COUNT_H_REG   113
 
#define DA9052_COUNT_D_REG   114
 
#define DA9052_COUNT_MO_REG   115
 
#define DA9052_COUNT_Y_REG   116
 
#define DA9052_ALARM_MI_REG   117
 
#define DA9052_ALARM_H_REG   118
 
#define DA9052_ALARM_D_REG   119
 
#define DA9052_ALARM_MO_REG   120
 
#define DA9052_ALARM_Y_REG   121
 
#define DA9052_SECOND_A_REG   122
 
#define DA9052_SECOND_B_REG   123
 
#define DA9052_SECOND_C_REG   124
 
#define DA9052_SECOND_D_REG   125
 
#define DA9052_PAGE_CONF   0X80
 
#define DA9052_STATUSA_VDATDET   0X80
 
#define DA9052_STATUSA_VBUSSEL   0X40
 
#define DA9052_STATUSA_DCINSEL   0X20
 
#define DA9052_STATUSA_VBUSDET   0X10
 
#define DA9052_STATUSA_DCINDET   0X08
 
#define DA9052_STATUSA_IDGND   0X04
 
#define DA9052_STATUSA_IDFLOAT   0X02
 
#define DA9052_STATUSA_NONKEY   0X01
 
#define DA9052_STATUSB_COMPDET   0X80
 
#define DA9052_STATUSB_SEQUENCING   0X40
 
#define DA9052_STATUSB_GPFB2   0X20
 
#define DA9052_STATUSB_CHGTO   0X10
 
#define DA9052_STATUSB_CHGEND   0X08
 
#define DA9052_STATUSB_CHGLIM   0X04
 
#define DA9052_STATUSB_CHGPRE   0X02
 
#define DA9052_STATUSB_CHGATT   0X01
 
#define DA9052_STATUSC_GPI7   0X80
 
#define DA9052_STATUSC_GPI6   0X40
 
#define DA9052_STATUSC_GPI5   0X20
 
#define DA9052_STATUSC_GPI4   0X10
 
#define DA9052_STATUSC_GPI3   0X08
 
#define DA9052_STATUSC_GPI2   0X04
 
#define DA9052_STATUSC_GPI1   0X02
 
#define DA9052_STATUSC_GPI0   0X01
 
#define DA9052_STATUSD_GPI15   0X80
 
#define DA9052_STATUSD_GPI14   0X40
 
#define DA9052_STATUSD_GPI13   0X20
 
#define DA9052_STATUSD_GPI12   0X10
 
#define DA9052_STATUSD_GPI11   0X08
 
#define DA9052_STATUSD_GPI10   0X04
 
#define DA9052_STATUSD_GPI9   0X02
 
#define DA9052_STATUSD_GPI8   0X01
 
#define DA9052_EVENTA_ECOMP1V2   0X80
 
#define DA9052_EVENTA_ESEQRDY   0X40
 
#define DA9052_EVENTA_EALRAM   0X20
 
#define DA9052_EVENTA_EVDDLOW   0X10
 
#define DA9052_EVENTA_EVBUSREM   0X08
 
#define DA9052_EVENTA_EDCINREM   0X04
 
#define DA9052_EVENTA_EVBUSDET   0X02
 
#define DA9052_EVENTA_EDCINDET   0X01
 
#define DA9052_EVENTB_ETSIREADY   0X80
 
#define DA9052_EVENTB_EPENDOWN   0X40
 
#define DA9052_EVENTB_EADCEOM   0X20
 
#define DA9052_EVENTB_ETBAT   0X10
 
#define DA9052_EVENTB_ECHGEND   0X08
 
#define DA9052_EVENTB_EIDGND   0X04
 
#define DA9052_EVENTB_EIDFLOAT   0X02
 
#define DA9052_EVENTB_ENONKEY   0X01
 
#define DA9052_EVENTC_EGPI7   0X80
 
#define DA9052_EVENTC_EGPI6   0X40
 
#define DA9052_EVENTC_EGPI5   0X20
 
#define DA9052_EVENTC_EGPI4   0X10
 
#define DA9052_EVENTC_EGPI3   0X08
 
#define DA9052_EVENTC_EGPI2   0X04
 
#define DA9052_EVENTC_EGPI1   0X02
 
#define DA9052_EVENTC_EGPI0   0X01
 
#define DA9052_EVENTD_EGPI15   0X80
 
#define DA9052_EVENTD_EGPI14   0X40
 
#define DA9052_EVENTD_EGPI13   0X20
 
#define DA9052_EVENTD_EGPI12   0X10
 
#define DA9052_EVENTD_EGPI11   0X08
 
#define DA9052_EVENTD_EGPI10   0X04
 
#define DA9052_EVENTD_EGPI9   0X02
 
#define DA9052_EVENTD_EGPI8   0X01
 
#define DA9052_M_NONKEY   0X0100
 
#define DA9052_E_PEN_DOWN   0X4000
 
#define DA9052_E_TSI_READY   0X8000
 
#define DA9052_FAULTLOG_WAITSET   0X80
 
#define DA9052_FAULTLOG_NSDSET   0X40
 
#define DA9052_FAULTLOG_KEYSHUT   0X20
 
#define DA9052_FAULTLOG_TEMPOVER   0X08
 
#define DA9052_FAULTLOG_VDDSTART   0X04
 
#define DA9052_FAULTLOG_VDDFAULT   0X02
 
#define DA9052_FAULTLOG_TWDERROR   0X01
 
#define DA9052_CONTROLA_GPIV   0X80
 
#define DA9052_CONTROLA_PMOTYPE   0X20
 
#define DA9052_CONTROLA_PMOV   0X10
 
#define DA9052_CONTROLA_PMIV   0X08
 
#define DA9052_CONTROLA_PMIFV   0X08
 
#define DA9052_CONTROLA_PWR1EN   0X04
 
#define DA9052_CONTROLA_PWREN   0X02
 
#define DA9052_CONTROLA_SYSEN   0X01
 
#define DA9052_CONTROLB_SHUTDOWN   0X80
 
#define DA9052_CONTROLB_DEEPSLEEP   0X40
 
#define DA9052_CONTROL_B_WRITEMODE   0X20
 
#define DA9052_CONTROLB_BBATEN   0X10
 
#define DA9052_CONTROLB_OTPREADEN   0X08
 
#define DA9052_CONTROLB_AUTOBOOT   0X04
 
#define DA9052_CONTROLB_ACTDIODE   0X02
 
#define DA9052_CONTROLB_BUCKMERGE   0X01
 
#define DA9052_CONTROLC_BLINKDUR   0X80
 
#define DA9052_CONTROLC_BLINKFRQ   0X60
 
#define DA9052_CONTROLC_DEBOUNCING   0X1C
 
#define DA9052_CONTROLC_PMFB2PIN   0X02
 
#define DA9052_CONTROLC_PMFB1PIN   0X01
 
#define DA9052_CONTROLD_WATCHDOG   0X80
 
#define DA9052_CONTROLD_ACCDETEN   0X40
 
#define DA9052_CONTROLD_GPI1415SD   0X20
 
#define DA9052_CONTROLD_NONKEYSD   0X10
 
#define DA9052_CONTROLD_KEEPACTEN   0X08
 
#define DA9052_CONTROLD_TWDSCALE   0X07
 
#define DA9052_PDDIS_PMCONTPD   0X80
 
#define DA9052_PDDIS_OUT32KPD   0X40
 
#define DA9052_PDDIS_CHGBBATPD   0X20
 
#define DA9052_PDDIS_CHGPD   0X10
 
#define DA9052_PDDIS_HS2WIREPD   0X08
 
#define DA9052_PDDIS_PMIFPD   0X04
 
#define DA9052_PDDIS_GPADCPD   0X02
 
#define DA9052_PDDIS_GPIOPD   0X01
 
#define DA9052_INTERFACE_IFBASEADDR   0XE0
 
#define DA9052_INTERFACE_NCSPOL   0X10
 
#define DA9052_INTERFACE_RWPOL   0X08
 
#define DA9052_INTERFACE_CPHA   0X04
 
#define DA9052_INTERFACE_CPOL   0X02
 
#define DA9052_INTERFACE_IFTYPE   0X01
 
#define DA9052_RESET_RESETEVENT   0XC0
 
#define DA9052_RESET_RESETTIMER   0X3F
 
#define DA9052_GPIO_EVEN_PORT_PIN   0X03
 
#define DA9052_GPIO_EVEN_PORT_TYPE   0X04
 
#define DA9052_GPIO_EVEN_PORT_MODE   0X08
 
#define DA9052_GPIO_ODD_PORT_PIN   0X30
 
#define DA9052_GPIO_ODD_PORT_TYPE   0X40
 
#define DA9052_GPIO_ODD_PORT_MODE   0X80
 
#define DA9052_ID01_LDO1STEP   0XF0
 
#define DA9052_ID01_SYSPRE   0X04
 
#define DA9052_ID01_DEFSUPPLY   0X02
 
#define DA9052_ID01_NRESMODE   0X01
 
#define DA9052_ID23_LDO3STEP   0XF0
 
#define DA9052_ID23_LDO2STEP   0X0F
 
#define DA9052_ID45_LDO5STEP   0XF0
 
#define DA9052_ID45_LDO4STEP   0X0F
 
#define DA9052_ID67_LDO7STEP   0XF0
 
#define DA9052_ID67_LDO6STEP   0X0F
 
#define DA9052_ID89_LDO9STEP   0XF0
 
#define DA9052_ID89_LDO8STEP   0X0F
 
#define DA9052_ID1011_PDDISSTEP   0XF0
 
#define DA9052_ID1011_LDO10STEP   0X0F
 
#define DA9052_ID1213_VMEMSWSTEP   0XF0
 
#define DA9052_ID1213_VPERISWSTEP   0X0F
 
#define DA9052_ID1415_BUCKPROSTEP   0XF0
 
#define DA9052_ID1415_BUCKCORESTEP   0X0F
 
#define DA9052_ID1617_BUCKPERISTEP   0XF0
 
#define DA9052_ID1617_BUCKMEMSTEP   0X0F
 
#define DA9052_ID1819_GPRISE2STEP   0XF0
 
#define DA9052_ID1819_GPRISE1STEP   0X0F
 
#define DA9052_ID2021_GPFALL2STEP   0XF0
 
#define DA9052_ID2021_GPFALL1STEP   0X0F
 
#define DA9052_SEQSTATUS_SEQPOINTER   0XF0
 
#define DA9052_SEQSTATUS_WAITSTEP   0X0F
 
#define DA9052_SEQA_POWEREND   0XF0
 
#define DA9052_SEQA_SYSTEMEND   0X0F
 
#define DA9052_SEQB_PARTDOWN   0XF0
 
#define DA9052_SEQB_MAXCOUNT   0X0F
 
#define DA9052_SEQTIMER_SEQDUMMY   0XF0
 
#define DA9052_SEQTIMER_SEQTIME   0X0F
 
#define DA9052_BUCKA_BPROILIM   0XC0
 
#define DA9052_BUCKA_BPROMODE   0X30
 
#define DA9052_BUCKA_BCOREILIM   0X0C
 
#define DA9052_BUCKA_BCOREMODE   0X03
 
#define DA9052_BUCKB_BERIILIM   0XC0
 
#define DA9052_BUCKB_BPERIMODE   0X30
 
#define DA9052_BUCKB_BMEMILIM   0X0C
 
#define DA9052_BUCKB_BMEMMODE   0X03
 
#define DA9052_BUCKCORE_BCORECONF   0X80
 
#define DA9052_BUCKCORE_BCOREEN   0X40
 
#define DA9052_BUCKCORE_VBCORE   0X3F
 
#define DA9052_BUCKPRO_BPROCONF   0X80
 
#define DA9052_BUCKPRO_BPROEN   0X40
 
#define DA9052_BUCKPRO_VBPRO   0X3F
 
#define DA9052_BUCKMEM_BMEMCONF   0X80
 
#define DA9052_BUCKMEM_BMEMEN   0X40
 
#define DA9052_BUCKMEM_VBMEM   0X3F
 
#define DA9052_BUCKPERI_BPERICONF   0X80
 
#define DA9052_BUCKPERI_BPERIEN   0X40
 
#define DA9052_BUCKPERI_BPERIHS   0X20
 
#define DA9052_BUCKPERI_VBPERI   0X1F
 
#define DA9052_LDO1_LDO1CONF   0X80
 
#define DA9052_LDO1_LDO1EN   0X40
 
#define DA9052_LDO1_VLDO1   0X1F
 
#define DA9052_LDO2_LDO2CONF   0X80
 
#define DA9052_LDO2_LDO2EN   0X40
 
#define DA9052_LDO2_VLDO2   0X3F
 
#define DA9052_LDO3_LDO3CONF   0X80
 
#define DA9052_LDO3_LDO3EN   0X40
 
#define DA9052_LDO3_VLDO3   0X3F
 
#define DA9052_LDO4_LDO4CONF   0X80
 
#define DA9052_LDO4_LDO4EN   0X40
 
#define DA9052_LDO4_VLDO4   0X3F
 
#define DA9052_LDO5_LDO5CONF   0X80
 
#define DA9052_LDO5_LDO5EN   0X40
 
#define DA9052_LDO5_VLDO5   0X3F
 
#define DA9052_LDO6_LDO6CONF   0X80
 
#define DA9052_LDO6_LDO6EN   0X40
 
#define DA9052_LDO6_VLDO6   0X3F
 
#define DA9052_LDO7_LDO7CONF   0X80
 
#define DA9052_LDO7_LDO7EN   0X40
 
#define DA9052_LDO7_VLDO7   0X3F
 
#define DA9052_LDO8_LDO8CONF   0X80
 
#define DA9052_LDO8_LDO8EN   0X40
 
#define DA9052_LDO8_VLDO8   0X3F
 
#define DA9052_LDO9_LDO9CONF   0X80
 
#define DA9052_LDO9_LDO9EN   0X40
 
#define DA9052_LDO9_VLDO9   0X3F
 
#define DA9052_LDO10_LDO10CONF   0X80
 
#define DA9052_LDO10_LDO10EN   0X40
 
#define DA9052_LDO10_VLDO10   0X3F
 
#define DA9052_SUPPLY_VLOCK   0X80
 
#define DA9052_SUPPLY_VMEMSWEN   0X40
 
#define DA9052_SUPPLY_VPERISWEN   0X20
 
#define DA9052_SUPPLY_VLDO3GO   0X10
 
#define DA9052_SUPPLY_VLDO2GO   0X08
 
#define DA9052_SUPPLY_VBMEMGO   0X04
 
#define DA9052_SUPPLY_VBPROGO   0X02
 
#define DA9052_SUPPLY_VBCOREGO   0X01
 
#define DA9052_PULLDOWN_LDO5PDDIS   0X20
 
#define DA9052_PULLDOWN_LDO2PDDIS   0X10
 
#define DA9052_PULLDOWN_LDO1PDDIS   0X08
 
#define DA9052_PULLDOWN_MEMPDDIS   0X04
 
#define DA9052_PULLDOWN_PROPDDIS   0X02
 
#define DA9052_PULLDOWN_COREPDDIS   0X01
 
#define DA9052_CHGBUCK_CHGTEMP   0X80
 
#define DA9052_CHGBUCK_CHGUSBILIM   0X40
 
#define DA9052_CHGBUCK_CHGBUCKLP   0X20
 
#define DA9052_CHGBUCK_CHGBUCKEN   0X10
 
#define DA9052_CHGBUCK_ISETBUCK   0X0F
 
#define DA9052_WAITCONT_WAITDIR   0X80
 
#define DA9052_WAITCONT_RTCCLOCK   0X40
 
#define DA9052_WAITCONT_WAITMODE   0X20
 
#define DA9052_WAITCONT_EN32KOUT   0X10
 
#define DA9052_WAITCONT_DELAYTIME   0X0F
 
#define DA9052_ISET_ISETDCIN   0XF0
 
#define DA9052_ISET_ISETVBUS   0X0F
 
#define DA9052_BATCHG_ICHGPRE   0XC0
 
#define DA9052_BATCHG_ICHGBAT   0X3F
 
#define DA9052_CHG_CONT_VCHG_BAT   0XF8
 
#define DA9052_CHG_CONT_TCTR   0X07
 
#define DA9052_INPUT_CONT_TCTR_MODE   0X80
 
#define DA9052_INPUT_CONT_VBUS_SUSP   0X10
 
#define DA9052_INPUT_CONT_DCIN_SUSP   0X08
 
#define DA9052_CHGTIME_CHGTIME   0XFF
 
#define DA9052_BBATCONT_BCHARGERISET   0XF0
 
#define DA9052_BBATCONT_BCHARGERVSET   0X0F
 
#define DA9052_BOOST_EBFAULT   0X80
 
#define DA9052_BOOST_MBFAULT   0X40
 
#define DA9052_BOOST_BOOSTFRQ   0X20
 
#define DA9052_BOOST_BOOSTILIM   0X10
 
#define DA9052_BOOST_LED3INEN   0X08
 
#define DA9052_BOOST_LED2INEN   0X04
 
#define DA9052_BOOST_LED1INEN   0X02
 
#define DA9052_BOOST_BOOSTEN   0X01
 
#define DA9052_LEDCONT_SELLEDMODE   0X80
 
#define DA9052_LEDCONT_LED3ICONT   0X40
 
#define DA9052_LEDCONT_LED3RAMP   0X20
 
#define DA9052_LEDCONT_LED3EN   0X10
 
#define DA9052_LEDCONT_LED2RAMP   0X08
 
#define DA9052_LEDCONT_LED2EN   0X04
 
#define DA9052_LEDCONT_LED1RAMP   0X02
 
#define DA9052_LEDCONT_LED1EN   0X01
 
#define DA9052_LEDMIN123_LEDMINCURRENT   0XFF
 
#define DA9052_LED1CONF_LED1CURRENT   0XFF
 
#define DA9052_LED2CONF_LED2CURRENT   0XFF
 
#define DA9052_LED3CONF_LED3CURRENT   0XFF
 
#define DA9052_LED_CONT_DIM   0X80
 
#define DA9052_ADC_MAN_MAN_CONV   0X10
 
#define DA9052_ADC_MAN_MUXSEL_VDDOUT   0X00
 
#define DA9052_ADC_MAN_MUXSEL_ICH   0X01
 
#define DA9052_ADC_MAN_MUXSEL_TBAT   0X02
 
#define DA9052_ADC_MAN_MUXSEL_VBAT   0X03
 
#define DA9052_ADC_MAN_MUXSEL_AD4   0X04
 
#define DA9052_ADC_MAN_MUXSEL_AD5   0X05
 
#define DA9052_ADC_MAN_MUXSEL_AD6   0X06
 
#define DA9052_ADC_MAN_MUXSEL_VBBAT   0X09
 
#define DA9052_ADCCONT_COMP1V2EN   0X80
 
#define DA9052_ADCCONT_ADCMODE   0X40
 
#define DA9052_ADCCONT_TBATISRCEN   0X20
 
#define DA9052_ADCCONT_AD4ISRCEN   0X10
 
#define DA9052_ADCCONT_AUTOAD6EN   0X08
 
#define DA9052_ADCCONT_AUTOAD5EN   0X04
 
#define DA9052_ADCCONT_AUTOAD4EN   0X02
 
#define DA9052_ADCCONT_AUTOVDDEN   0X01
 
#define DA9052_ADC_RES_LSB   0X03
 
#define DA9052_ADCRESH_ADCRESMSB   0XFF
 
#define DA9052_VDDRES_VDDOUTRES   0XFF
 
#define DA9052_VDDMON_VDDOUTMON   0XFF
 
#define DA9052_ICHGAV_ICHGAV   0XFF
 
#define DA9052_ICHGTHD_ICHGTHD   0XFF
 
#define DA9052_ICHGEND_ICHGEND   0XFF
 
#define DA9052_TBATRES_TBATRES   0XFF
 
#define DA9052_TBATHIGHP_TBATHIGHP   0XFF
 
#define DA9052_TBATHIGHN_TBATHIGHN   0XFF
 
#define DA9052_TBATLOW_TBATLOW   0XFF
 
#define DA9052_TOFFSET_TOFFSET   0XFF
 
#define DA9052_ADCIN4RES_ADCIN4RES   0XFF
 
#define DA9052_AUTO4HIGH_AUTO4HIGH   0XFF
 
#define DA9052_AUTO4LOW_AUTO4LOW   0XFF
 
#define DA9052_ADCIN5RES_ADCIN5RES   0XFF
 
#define DA9052_AUTO5HIGH_AUTOHIGH   0XFF
 
#define DA9052_AUTO5LOW_AUTO5LOW   0XFF
 
#define DA9052_ADCIN6RES_ADCIN6RES   0XFF
 
#define DA9052_AUTO6HIGH_AUTO6HIGH   0XFF
 
#define DA9052_AUTO6LOW_AUTO6LOW   0XFF
 
#define DA9052_TJUNCRES_TJUNCRES   0XFF
 
#define DA9052_TSICONTA_TSIDELAY   0XC0
 
#define DA9052_TSICONTA_TSISKIP   0X38
 
#define DA9052_TSICONTA_TSIMODE   0X04
 
#define DA9052_TSICONTA_PENDETEN   0X02
 
#define DA9052_TSICONTA_AUTOTSIEN   0X01
 
#define DA9052_TSICONTB_ADCREF   0X80
 
#define DA9052_TSICONTB_TSIMAN   0X40
 
#define DA9052_TSICONTB_TSIMUX   0X30
 
#define DA9052_TSICONTB_TSISEL3   0X08
 
#define DA9052_TSICONTB_TSISEL2   0X04
 
#define DA9052_TSICONTB_TSISEL1   0X02
 
#define DA9052_TSICONTB_TSISEL0   0X01
 
#define DA9052_TSIXMSB_TSIXM   0XFF
 
#define DA9052_TSIYMSB_TSIYM   0XFF
 
#define DA9052_TSILSB_PENDOWN   0X40
 
#define DA9052_TSILSB_TSIZL   0X30
 
#define DA9052_TSILSB_TSIYL   0X0C
 
#define DA9052_TSILSB_TSIXL   0X03
 
#define DA9052_TSIZMSB_TSIZM   0XFF
 
#define DA9052_COUNTS_MONITOR   0X40
 
#define DA9052_RTC_SEC   0X3F
 
#define DA9052_RTC_MIN   0X3F
 
#define DA9052_RTC_HOUR   0X1F
 
#define DA9052_RTC_DAY   0X1F
 
#define DA9052_RTC_MONTH   0X0F
 
#define DA9052_RTC_YEAR   0X3F
 
#define DA9052_ALARMM_I_TICK_TYPE   0X80
 
#define DA9052_ALARMMI_ALARMTYPE   0X40
 
#define DA9052_ALARM_Y_TICK_ON   0X80
 
#define DA9052_ALARM_Y_ALARM_ON   0X40
 
#define DA9052_SECONDA_SECONDSA   0XFF
 
#define DA9052_SECONDB_SECONDSB   0XFF
 
#define DA9052_SECONDC_SECONDSC   0XFF
 
#define DA9052_SECONDD_SECONDSD   0XFF
 

Macro Definition Documentation

#define DA9052_ADC_CONT_REG   82

Definition at line 129 of file reg.h.

#define DA9052_ADC_MAN_MAN_CONV   0X10

Definition at line 590 of file reg.h.

#define DA9052_ADC_MAN_MUXSEL_AD4   0X04

Definition at line 595 of file reg.h.

#define DA9052_ADC_MAN_MUXSEL_AD5   0X05

Definition at line 596 of file reg.h.

#define DA9052_ADC_MAN_MUXSEL_AD6   0X06

Definition at line 597 of file reg.h.

#define DA9052_ADC_MAN_MUXSEL_ICH   0X01

Definition at line 592 of file reg.h.

#define DA9052_ADC_MAN_MUXSEL_TBAT   0X02

Definition at line 593 of file reg.h.

#define DA9052_ADC_MAN_MUXSEL_VBAT   0X03

Definition at line 594 of file reg.h.

#define DA9052_ADC_MAN_MUXSEL_VBBAT   0X09

Definition at line 598 of file reg.h.

#define DA9052_ADC_MAN_MUXSEL_VDDOUT   0X00

Definition at line 591 of file reg.h.

#define DA9052_ADC_MAN_REG   81

Definition at line 128 of file reg.h.

#define DA9052_ADC_RES_H_REG   84

Definition at line 131 of file reg.h.

#define DA9052_ADC_RES_L_REG   83

Definition at line 130 of file reg.h.

#define DA9052_ADC_RES_LSB   0X03

Definition at line 611 of file reg.h.

#define DA9052_ADCCONT_AD4ISRCEN   0X10

Definition at line 604 of file reg.h.

#define DA9052_ADCCONT_ADCMODE   0X40

Definition at line 602 of file reg.h.

#define DA9052_ADCCONT_AUTOAD4EN   0X02

Definition at line 607 of file reg.h.

#define DA9052_ADCCONT_AUTOAD5EN   0X04

Definition at line 606 of file reg.h.

#define DA9052_ADCCONT_AUTOAD6EN   0X08

Definition at line 605 of file reg.h.

#define DA9052_ADCCONT_AUTOVDDEN   0X01

Definition at line 608 of file reg.h.

#define DA9052_ADCCONT_COMP1V2EN   0X80

Definition at line 601 of file reg.h.

#define DA9052_ADCCONT_TBATISRCEN   0X20

Definition at line 603 of file reg.h.

#define DA9052_ADCIN4_RES_REG   95

Definition at line 144 of file reg.h.

#define DA9052_ADCIN4RES_ADCIN4RES   0XFF

Definition at line 647 of file reg.h.

#define DA9052_ADCIN5_RES_REG   98

Definition at line 147 of file reg.h.

#define DA9052_ADCIN5RES_ADCIN5RES   0XFF

Definition at line 656 of file reg.h.

#define DA9052_ADCIN6_RES_REG   101

Definition at line 150 of file reg.h.

#define DA9052_ADCIN6RES_ADCIN6RES   0XFF

Definition at line 665 of file reg.h.

#define DA9052_ADCRESH_ADCRESMSB   0XFF

Definition at line 614 of file reg.h.

#define DA9052_ALARM_D_REG   119

Definition at line 175 of file reg.h.

#define DA9052_ALARM_H_REG   118

Definition at line 174 of file reg.h.

#define DA9052_ALARM_MI_REG   117

Definition at line 173 of file reg.h.

#define DA9052_ALARM_MO_REG   120

Definition at line 176 of file reg.h.

#define DA9052_ALARM_Y_ALARM_ON   0X40

Definition at line 734 of file reg.h.

#define DA9052_ALARM_Y_REG   121

Definition at line 177 of file reg.h.

#define DA9052_ALARM_Y_TICK_ON   0X80

Definition at line 733 of file reg.h.

#define DA9052_ALARMM_I_TICK_TYPE   0X80

Definition at line 729 of file reg.h.

#define DA9052_ALARMMI_ALARMTYPE   0X40

Definition at line 730 of file reg.h.

#define DA9052_AUTO4_HIGH_REG   96

Definition at line 145 of file reg.h.

#define DA9052_AUTO4_LOW_REG   97

Definition at line 146 of file reg.h.

#define DA9052_AUTO4HIGH_AUTO4HIGH   0XFF

Definition at line 650 of file reg.h.

#define DA9052_AUTO4LOW_AUTO4LOW   0XFF

Definition at line 653 of file reg.h.

#define DA9052_AUTO5_HIGH_REG   99

Definition at line 148 of file reg.h.

#define DA9052_AUTO5_LOW_REG   100

Definition at line 149 of file reg.h.

#define DA9052_AUTO5HIGH_AUTOHIGH   0XFF

Definition at line 659 of file reg.h.

#define DA9052_AUTO5LOW_AUTO5LOW   0XFF

Definition at line 662 of file reg.h.

#define DA9052_AUTO6_HIGH_REG   102

Definition at line 151 of file reg.h.

#define DA9052_AUTO6_LOW_REG   103

Definition at line 152 of file reg.h.

#define DA9052_AUTO6HIGH_AUTO6HIGH   0XFF

Definition at line 668 of file reg.h.

#define DA9052_AUTO6LOW_AUTO6LOW   0XFF

Definition at line 671 of file reg.h.

#define DA9052_BATCHG_ICHGBAT   0X3F

Definition at line 535 of file reg.h.

#define DA9052_BATCHG_ICHGPRE   0XC0

Definition at line 534 of file reg.h.

#define DA9052_BATCHG_REG   65

Definition at line 106 of file reg.h.

#define DA9052_BBAT_CONT_REG   69

Definition at line 112 of file reg.h.

#define DA9052_BBATCONT_BCHARGERISET   0XF0

Definition at line 550 of file reg.h.

#define DA9052_BBATCONT_BCHARGERVSET   0X0F

Definition at line 551 of file reg.h.

#define DA9052_BOOST_BOOSTEN   0X01

Definition at line 562 of file reg.h.

#define DA9052_BOOST_BOOSTFRQ   0X20

Definition at line 557 of file reg.h.

#define DA9052_BOOST_BOOSTILIM   0X10

Definition at line 558 of file reg.h.

#define DA9052_BOOST_EBFAULT   0X80

Definition at line 555 of file reg.h.

#define DA9052_BOOST_LED1INEN   0X02

Definition at line 561 of file reg.h.

#define DA9052_BOOST_LED2INEN   0X04

Definition at line 560 of file reg.h.

#define DA9052_BOOST_LED3INEN   0X08

Definition at line 559 of file reg.h.

#define DA9052_BOOST_MBFAULT   0X40

Definition at line 556 of file reg.h.

#define DA9052_BOOST_REG   70

Definition at line 115 of file reg.h.

#define DA9052_BUCKA_BCOREILIM   0X0C

Definition at line 416 of file reg.h.

#define DA9052_BUCKA_BCOREMODE   0X03

Definition at line 417 of file reg.h.

#define DA9052_BUCKA_BPROILIM   0XC0

Definition at line 414 of file reg.h.

#define DA9052_BUCKA_BPROMODE   0X30

Definition at line 415 of file reg.h.

#define DA9052_BUCKA_REG   44

Definition at line 85 of file reg.h.

#define DA9052_BUCKB_BERIILIM   0XC0

Definition at line 420 of file reg.h.

#define DA9052_BUCKB_BMEMILIM   0X0C

Definition at line 422 of file reg.h.

#define DA9052_BUCKB_BMEMMODE   0X03

Definition at line 423 of file reg.h.

#define DA9052_BUCKB_BPERIMODE   0X30

Definition at line 421 of file reg.h.

#define DA9052_BUCKB_REG   45

Definition at line 86 of file reg.h.

#define DA9052_BUCKCORE_BCORECONF   0X80

Definition at line 426 of file reg.h.

#define DA9052_BUCKCORE_BCOREEN   0X40

Definition at line 427 of file reg.h.

#define DA9052_BUCKCORE_REG   46

Definition at line 87 of file reg.h.

#define DA9052_BUCKCORE_VBCORE   0X3F

Definition at line 428 of file reg.h.

#define DA9052_BUCKMEM_BMEMCONF   0X80

Definition at line 436 of file reg.h.

#define DA9052_BUCKMEM_BMEMEN   0X40

Definition at line 437 of file reg.h.

#define DA9052_BUCKMEM_REG   48

Definition at line 89 of file reg.h.

#define DA9052_BUCKMEM_VBMEM   0X3F

Definition at line 438 of file reg.h.

#define DA9052_BUCKPERI_BPERICONF   0X80

Definition at line 441 of file reg.h.

#define DA9052_BUCKPERI_BPERIEN   0X40

Definition at line 442 of file reg.h.

#define DA9052_BUCKPERI_BPERIHS   0X20

Definition at line 443 of file reg.h.

#define DA9052_BUCKPERI_REG   49

Definition at line 90 of file reg.h.

#define DA9052_BUCKPERI_VBPERI   0X1F

Definition at line 444 of file reg.h.

#define DA9052_BUCKPRO_BPROCONF   0X80

Definition at line 431 of file reg.h.

#define DA9052_BUCKPRO_BPROEN   0X40

Definition at line 432 of file reg.h.

#define DA9052_BUCKPRO_REG   47

Definition at line 88 of file reg.h.

#define DA9052_BUCKPRO_VBPRO   0X3F

Definition at line 433 of file reg.h.

#define DA9052_CHG_CONT_REG   66

Definition at line 109 of file reg.h.

#define DA9052_CHG_CONT_TCTR   0X07

Definition at line 539 of file reg.h.

#define DA9052_CHG_CONT_VCHG_BAT   0XF8

Definition at line 538 of file reg.h.

#define DA9052_CHG_TIME_REG   68

Definition at line 111 of file reg.h.

#define DA9052_CHGBUCK_CHGBUCKEN   0X10

Definition at line 519 of file reg.h.

#define DA9052_CHGBUCK_CHGBUCKLP   0X20

Definition at line 518 of file reg.h.

#define DA9052_CHGBUCK_CHGTEMP   0X80

Definition at line 516 of file reg.h.

#define DA9052_CHGBUCK_CHGUSBILIM   0X40

Definition at line 517 of file reg.h.

#define DA9052_CHGBUCK_ISETBUCK   0X0F

Definition at line 520 of file reg.h.

#define DA9052_CHGBUCK_REG   62

Definition at line 103 of file reg.h.

#define DA9052_CHGTIME_CHGTIME   0XFF

Definition at line 547 of file reg.h.

#define DA9052_CONTROL_A_REG   14

Definition at line 51 of file reg.h.

#define DA9052_CONTROL_B_REG   15

Definition at line 52 of file reg.h.

#define DA9052_CONTROL_B_WRITEMODE   0X20

Definition at line 295 of file reg.h.

#define DA9052_CONTROL_C_REG   16

Definition at line 53 of file reg.h.

#define DA9052_CONTROL_D_REG   17

Definition at line 54 of file reg.h.

#define DA9052_CONTROLA_GPIV   0X80

Definition at line 283 of file reg.h.

#define DA9052_CONTROLA_PMIFV   0X08

Definition at line 287 of file reg.h.

#define DA9052_CONTROLA_PMIV   0X08

Definition at line 286 of file reg.h.

#define DA9052_CONTROLA_PMOTYPE   0X20

Definition at line 284 of file reg.h.

#define DA9052_CONTROLA_PMOV   0X10

Definition at line 285 of file reg.h.

#define DA9052_CONTROLA_PWR1EN   0X04

Definition at line 288 of file reg.h.

#define DA9052_CONTROLA_PWREN   0X02

Definition at line 289 of file reg.h.

#define DA9052_CONTROLA_SYSEN   0X01

Definition at line 290 of file reg.h.

#define DA9052_CONTROLB_ACTDIODE   0X02

Definition at line 299 of file reg.h.

#define DA9052_CONTROLB_AUTOBOOT   0X04

Definition at line 298 of file reg.h.

#define DA9052_CONTROLB_BBATEN   0X10

Definition at line 296 of file reg.h.

#define DA9052_CONTROLB_BUCKMERGE   0X01

Definition at line 300 of file reg.h.

#define DA9052_CONTROLB_DEEPSLEEP   0X40

Definition at line 294 of file reg.h.

#define DA9052_CONTROLB_OTPREADEN   0X08

Definition at line 297 of file reg.h.

#define DA9052_CONTROLB_SHUTDOWN   0X80

Definition at line 293 of file reg.h.

#define DA9052_CONTROLC_BLINKDUR   0X80

Definition at line 303 of file reg.h.

#define DA9052_CONTROLC_BLINKFRQ   0X60

Definition at line 304 of file reg.h.

#define DA9052_CONTROLC_DEBOUNCING   0X1C

Definition at line 305 of file reg.h.

#define DA9052_CONTROLC_PMFB1PIN   0X01

Definition at line 307 of file reg.h.

#define DA9052_CONTROLC_PMFB2PIN   0X02

Definition at line 306 of file reg.h.

#define DA9052_CONTROLD_ACCDETEN   0X40

Definition at line 311 of file reg.h.

#define DA9052_CONTROLD_GPI1415SD   0X20

Definition at line 312 of file reg.h.

#define DA9052_CONTROLD_KEEPACTEN   0X08

Definition at line 314 of file reg.h.

#define DA9052_CONTROLD_NONKEYSD   0X10

Definition at line 313 of file reg.h.

#define DA9052_CONTROLD_TWDSCALE   0X07

Definition at line 315 of file reg.h.

#define DA9052_CONTROLD_WATCHDOG   0X80

Definition at line 310 of file reg.h.

#define DA9052_COUNT_D_REG   114

Definition at line 168 of file reg.h.

#define DA9052_COUNT_H_REG   113

Definition at line 167 of file reg.h.

#define DA9052_COUNT_MI_REG   112

Definition at line 166 of file reg.h.

#define DA9052_COUNT_MO_REG   115

Definition at line 169 of file reg.h.

#define DA9052_COUNT_S_REG   111

Definition at line 165 of file reg.h.

#define DA9052_COUNT_Y_REG   116

Definition at line 170 of file reg.h.

#define DA9052_COUNTS_MONITOR   0X40

Definition at line 710 of file reg.h.

#define DA9052_E_PEN_DOWN   0X4000

Definition at line 270 of file reg.h.

#define DA9052_E_TSI_READY   0X8000

Definition at line 271 of file reg.h.

#define DA9052_EVENT_A_REG   5

Definition at line 38 of file reg.h.

#define DA9052_EVENT_B_REG   6

Definition at line 39 of file reg.h.

#define DA9052_EVENT_C_REG   7

Definition at line 40 of file reg.h.

#define DA9052_EVENT_D_REG   8

Definition at line 41 of file reg.h.

#define DA9052_EVENTA_EALRAM   0X20

Definition at line 229 of file reg.h.

#define DA9052_EVENTA_ECOMP1V2   0X80

Definition at line 227 of file reg.h.

#define DA9052_EVENTA_EDCINDET   0X01

Definition at line 234 of file reg.h.

#define DA9052_EVENTA_EDCINREM   0X04

Definition at line 232 of file reg.h.

#define DA9052_EVENTA_ESEQRDY   0X40

Definition at line 228 of file reg.h.

#define DA9052_EVENTA_EVBUSDET   0X02

Definition at line 233 of file reg.h.

#define DA9052_EVENTA_EVBUSREM   0X08

Definition at line 231 of file reg.h.

#define DA9052_EVENTA_EVDDLOW   0X10

Definition at line 230 of file reg.h.

#define DA9052_EVENTB_EADCEOM   0X20

Definition at line 239 of file reg.h.

#define DA9052_EVENTB_ECHGEND   0X08

Definition at line 241 of file reg.h.

#define DA9052_EVENTB_EIDFLOAT   0X02

Definition at line 243 of file reg.h.

#define DA9052_EVENTB_EIDGND   0X04

Definition at line 242 of file reg.h.

#define DA9052_EVENTB_ENONKEY   0X01

Definition at line 244 of file reg.h.

#define DA9052_EVENTB_EPENDOWN   0X40

Definition at line 238 of file reg.h.

#define DA9052_EVENTB_ETBAT   0X10

Definition at line 240 of file reg.h.

#define DA9052_EVENTB_ETSIREADY   0X80

Definition at line 237 of file reg.h.

#define DA9052_EVENTC_EGPI0   0X01

Definition at line 254 of file reg.h.

#define DA9052_EVENTC_EGPI1   0X02

Definition at line 253 of file reg.h.

#define DA9052_EVENTC_EGPI2   0X04

Definition at line 252 of file reg.h.

#define DA9052_EVENTC_EGPI3   0X08

Definition at line 251 of file reg.h.

#define DA9052_EVENTC_EGPI4   0X10

Definition at line 250 of file reg.h.

#define DA9052_EVENTC_EGPI5   0X20

Definition at line 249 of file reg.h.

#define DA9052_EVENTC_EGPI6   0X40

Definition at line 248 of file reg.h.

#define DA9052_EVENTC_EGPI7   0X80

Definition at line 247 of file reg.h.

#define DA9052_EVENTD_EGPI10   0X04

Definition at line 262 of file reg.h.

#define DA9052_EVENTD_EGPI11   0X08

Definition at line 261 of file reg.h.

#define DA9052_EVENTD_EGPI12   0X10

Definition at line 260 of file reg.h.

#define DA9052_EVENTD_EGPI13   0X20

Definition at line 259 of file reg.h.

#define DA9052_EVENTD_EGPI14   0X40

Definition at line 258 of file reg.h.

#define DA9052_EVENTD_EGPI15   0X80

Definition at line 257 of file reg.h.

#define DA9052_EVENTD_EGPI8   0X01

Definition at line 264 of file reg.h.

#define DA9052_EVENTD_EGPI9   0X02

Definition at line 263 of file reg.h.

#define DA9052_FAULTLOG_KEYSHUT   0X20

Definition at line 276 of file reg.h.

#define DA9052_FAULTLOG_NSDSET   0X40

Definition at line 275 of file reg.h.

#define DA9052_FAULTLOG_REG   9

Definition at line 42 of file reg.h.

#define DA9052_FAULTLOG_TEMPOVER   0X08

Definition at line 277 of file reg.h.

#define DA9052_FAULTLOG_TWDERROR   0X01

Definition at line 280 of file reg.h.

#define DA9052_FAULTLOG_VDDFAULT   0X02

Definition at line 279 of file reg.h.

#define DA9052_FAULTLOG_VDDSTART   0X04

Definition at line 278 of file reg.h.

#define DA9052_FAULTLOG_WAITSET   0X80

Definition at line 274 of file reg.h.

#define DA9052_GPIO_0_1_REG   21

Definition at line 61 of file reg.h.

#define DA9052_GPIO_14_15_REG   28

Definition at line 65 of file reg.h.

#define DA9052_GPIO_2_3_REG   22

Definition at line 62 of file reg.h.

#define DA9052_GPIO_4_5_REG   23

Definition at line 63 of file reg.h.

#define DA9052_GPIO_6_7_REG   24

Definition at line 64 of file reg.h.

#define DA9052_GPIO_EVEN_PORT_MODE   0X08

Definition at line 343 of file reg.h.

#define DA9052_GPIO_EVEN_PORT_PIN   0X03

Definition at line 341 of file reg.h.

#define DA9052_GPIO_EVEN_PORT_TYPE   0X04

Definition at line 342 of file reg.h.

#define DA9052_GPIO_ODD_PORT_MODE   0X80

Definition at line 347 of file reg.h.

#define DA9052_GPIO_ODD_PORT_PIN   0X30

Definition at line 345 of file reg.h.

#define DA9052_GPIO_ODD_PORT_TYPE   0X40

Definition at line 346 of file reg.h.

#define DA9052_ICHG_AV_REG   87

Definition at line 135 of file reg.h.

#define DA9052_ICHG_END_REG   89

Definition at line 137 of file reg.h.

#define DA9052_ICHG_THD_REG   88

Definition at line 136 of file reg.h.

#define DA9052_ICHGAV_ICHGAV   0XFF

Definition at line 623 of file reg.h.

#define DA9052_ICHGEND_ICHGEND   0XFF

Definition at line 629 of file reg.h.

#define DA9052_ICHGTHD_ICHGTHD   0XFF

Definition at line 626 of file reg.h.

#define DA9052_ID01_DEFSUPPLY   0X02

Definition at line 353 of file reg.h.

#define DA9052_ID01_LDO1STEP   0XF0

Definition at line 351 of file reg.h.

#define DA9052_ID01_NRESMODE   0X01

Definition at line 354 of file reg.h.

#define DA9052_ID01_SYSPRE   0X04

Definition at line 352 of file reg.h.

#define DA9052_ID1011_LDO10STEP   0X0F

Definition at line 374 of file reg.h.

#define DA9052_ID1011_PDDISSTEP   0XF0

Definition at line 373 of file reg.h.

#define DA9052_ID1213_VMEMSWSTEP   0XF0

Definition at line 377 of file reg.h.

#define DA9052_ID1213_VPERISWSTEP   0X0F

Definition at line 378 of file reg.h.

#define DA9052_ID1415_BUCKCORESTEP   0X0F

Definition at line 382 of file reg.h.

#define DA9052_ID1415_BUCKPROSTEP   0XF0

Definition at line 381 of file reg.h.

#define DA9052_ID1617_BUCKMEMSTEP   0X0F

Definition at line 386 of file reg.h.

#define DA9052_ID1617_BUCKPERISTEP   0XF0

Definition at line 385 of file reg.h.

#define DA9052_ID1819_GPRISE1STEP   0X0F

Definition at line 390 of file reg.h.

#define DA9052_ID1819_GPRISE2STEP   0XF0

Definition at line 389 of file reg.h.

#define DA9052_ID2021_GPFALL1STEP   0X0F

Definition at line 394 of file reg.h.

#define DA9052_ID2021_GPFALL2STEP   0XF0

Definition at line 393 of file reg.h.

#define DA9052_ID23_LDO2STEP   0X0F

Definition at line 358 of file reg.h.

#define DA9052_ID23_LDO3STEP   0XF0

Definition at line 357 of file reg.h.

#define DA9052_ID45_LDO4STEP   0X0F

Definition at line 362 of file reg.h.

#define DA9052_ID45_LDO5STEP   0XF0

Definition at line 361 of file reg.h.

#define DA9052_ID67_LDO6STEP   0X0F

Definition at line 366 of file reg.h.

#define DA9052_ID67_LDO7STEP   0XF0

Definition at line 365 of file reg.h.

#define DA9052_ID89_LDO8STEP   0X0F

Definition at line 370 of file reg.h.

#define DA9052_ID89_LDO9STEP   0XF0

Definition at line 369 of file reg.h.

#define DA9052_ID_0_1_REG   29

Definition at line 68 of file reg.h.

#define DA9052_ID_10_11_REG   34

Definition at line 73 of file reg.h.

#define DA9052_ID_12_13_REG   35

Definition at line 74 of file reg.h.

#define DA9052_ID_14_15_REG   36

Definition at line 75 of file reg.h.

#define DA9052_ID_16_17_REG   37

Definition at line 76 of file reg.h.

#define DA9052_ID_18_19_REG   38

Definition at line 77 of file reg.h.

#define DA9052_ID_20_21_REG   39

Definition at line 78 of file reg.h.

#define DA9052_ID_2_3_REG   30

Definition at line 69 of file reg.h.

#define DA9052_ID_4_5_REG   31

Definition at line 70 of file reg.h.

#define DA9052_ID_6_7_REG   32

Definition at line 71 of file reg.h.

#define DA9052_ID_8_9_REG   33

Definition at line 72 of file reg.h.

#define DA9052_INPUT_CONT_DCIN_SUSP   0X08

Definition at line 544 of file reg.h.

#define DA9052_INPUT_CONT_REG   67

Definition at line 110 of file reg.h.

#define DA9052_INPUT_CONT_TCTR_MODE   0X80

Definition at line 542 of file reg.h.

#define DA9052_INPUT_CONT_VBUS_SUSP   0X10

Definition at line 543 of file reg.h.

#define DA9052_INTERFACE_CPHA   0X04

Definition at line 331 of file reg.h.

#define DA9052_INTERFACE_CPOL   0X02

Definition at line 332 of file reg.h.

#define DA9052_INTERFACE_IFBASEADDR   0XE0

Definition at line 328 of file reg.h.

#define DA9052_INTERFACE_IFTYPE   0X01

Definition at line 333 of file reg.h.

#define DA9052_INTERFACE_NCSPOL   0X10

Definition at line 329 of file reg.h.

#define DA9052_INTERFACE_REG   19

Definition at line 57 of file reg.h.

#define DA9052_INTERFACE_RWPOL   0X08

Definition at line 330 of file reg.h.

#define DA9052_IRQ_MASK_A_REG   10

Definition at line 45 of file reg.h.

#define DA9052_IRQ_MASK_B_REG   11

Definition at line 46 of file reg.h.

#define DA9052_IRQ_MASK_C_REG   12

Definition at line 47 of file reg.h.

#define DA9052_IRQ_MASK_D_REG   13

Definition at line 48 of file reg.h.

#define DA9052_ISET_ISETDCIN   0XF0

Definition at line 530 of file reg.h.

#define DA9052_ISET_ISETVBUS   0X0F

Definition at line 531 of file reg.h.

#define DA9052_ISET_REG   64

Definition at line 105 of file reg.h.

#define DA9052_LDO10_LDO10CONF   0X80

Definition at line 492 of file reg.h.

#define DA9052_LDO10_LDO10EN   0X40

Definition at line 493 of file reg.h.

#define DA9052_LDO10_REG   59

Definition at line 100 of file reg.h.

#define DA9052_LDO10_VLDO10   0X3F

Definition at line 494 of file reg.h.

#define DA9052_LDO1_LDO1CONF   0X80

Definition at line 447 of file reg.h.

#define DA9052_LDO1_LDO1EN   0X40

Definition at line 448 of file reg.h.

#define DA9052_LDO1_REG   50

Definition at line 91 of file reg.h.

#define DA9052_LDO1_VLDO1   0X1F

Definition at line 449 of file reg.h.

#define DA9052_LDO2_LDO2CONF   0X80

Definition at line 452 of file reg.h.

#define DA9052_LDO2_LDO2EN   0X40

Definition at line 453 of file reg.h.

#define DA9052_LDO2_REG   51

Definition at line 92 of file reg.h.

#define DA9052_LDO2_VLDO2   0X3F

Definition at line 454 of file reg.h.

#define DA9052_LDO3_LDO3CONF   0X80

Definition at line 457 of file reg.h.

#define DA9052_LDO3_LDO3EN   0X40

Definition at line 458 of file reg.h.

#define DA9052_LDO3_REG   52

Definition at line 93 of file reg.h.

#define DA9052_LDO3_VLDO3   0X3F

Definition at line 459 of file reg.h.

#define DA9052_LDO4_LDO4CONF   0X80

Definition at line 462 of file reg.h.

#define DA9052_LDO4_LDO4EN   0X40

Definition at line 463 of file reg.h.

#define DA9052_LDO4_REG   53

Definition at line 94 of file reg.h.

#define DA9052_LDO4_VLDO4   0X3F

Definition at line 464 of file reg.h.

#define DA9052_LDO5_LDO5CONF   0X80

Definition at line 467 of file reg.h.

#define DA9052_LDO5_LDO5EN   0X40

Definition at line 468 of file reg.h.

#define DA9052_LDO5_REG   54

Definition at line 95 of file reg.h.

#define DA9052_LDO5_VLDO5   0X3F

Definition at line 469 of file reg.h.

#define DA9052_LDO6_LDO6CONF   0X80

Definition at line 472 of file reg.h.

#define DA9052_LDO6_LDO6EN   0X40

Definition at line 473 of file reg.h.

#define DA9052_LDO6_REG   55

Definition at line 96 of file reg.h.

#define DA9052_LDO6_VLDO6   0X3F

Definition at line 474 of file reg.h.

#define DA9052_LDO7_LDO7CONF   0X80

Definition at line 477 of file reg.h.

#define DA9052_LDO7_LDO7EN   0X40

Definition at line 478 of file reg.h.

#define DA9052_LDO7_REG   56

Definition at line 97 of file reg.h.

#define DA9052_LDO7_VLDO7   0X3F

Definition at line 479 of file reg.h.

#define DA9052_LDO8_LDO8CONF   0X80

Definition at line 482 of file reg.h.

#define DA9052_LDO8_LDO8EN   0X40

Definition at line 483 of file reg.h.

#define DA9052_LDO8_REG   57

Definition at line 98 of file reg.h.

#define DA9052_LDO8_VLDO8   0X3F

Definition at line 484 of file reg.h.

#define DA9052_LDO9_LDO9CONF   0X80

Definition at line 487 of file reg.h.

#define DA9052_LDO9_LDO9EN   0X40

Definition at line 488 of file reg.h.

#define DA9052_LDO9_REG   58

Definition at line 99 of file reg.h.

#define DA9052_LDO9_VLDO9   0X3F

Definition at line 489 of file reg.h.

#define DA9052_LED1_CONF_REG   73

Definition at line 118 of file reg.h.

#define DA9052_LED1CONF_LED1CURRENT   0XFF

Definition at line 578 of file reg.h.

#define DA9052_LED1CONT_REG   76

Definition at line 121 of file reg.h.

#define DA9052_LED2_CONF_REG   74

Definition at line 119 of file reg.h.

#define DA9052_LED2CONF_LED2CURRENT   0XFF

Definition at line 581 of file reg.h.

#define DA9052_LED2CONT_REG   77

Definition at line 122 of file reg.h.

#define DA9052_LED3_CONF_REG   75

Definition at line 120 of file reg.h.

#define DA9052_LED3CONF_LED3CURRENT   0XFF

Definition at line 584 of file reg.h.

#define DA9052_LED3CONT_REG   78

Definition at line 123 of file reg.h.

#define DA9052_LED_CONT_4_REG   79

Definition at line 124 of file reg.h.

#define DA9052_LED_CONT_5_REG   80

Definition at line 125 of file reg.h.

#define DA9052_LED_CONT_DIM   0X80

Definition at line 587 of file reg.h.

#define DA9052_LED_CONT_REG   71

Definition at line 116 of file reg.h.

#define DA9052_LEDCONT_LED1EN   0X01

Definition at line 572 of file reg.h.

#define DA9052_LEDCONT_LED1RAMP   0X02

Definition at line 571 of file reg.h.

#define DA9052_LEDCONT_LED2EN   0X04

Definition at line 570 of file reg.h.

#define DA9052_LEDCONT_LED2RAMP   0X08

Definition at line 569 of file reg.h.

#define DA9052_LEDCONT_LED3EN   0X10

Definition at line 568 of file reg.h.

#define DA9052_LEDCONT_LED3ICONT   0X40

Definition at line 566 of file reg.h.

#define DA9052_LEDCONT_LED3RAMP   0X20

Definition at line 567 of file reg.h.

#define DA9052_LEDCONT_SELLEDMODE   0X80

Definition at line 565 of file reg.h.

#define DA9052_LEDMIN123_LEDMINCURRENT   0XFF

Definition at line 575 of file reg.h.

#define DA9052_LEDMIN123_REG   72

Definition at line 117 of file reg.h.

#define DA9052_M_NONKEY   0X0100

Definition at line 267 of file reg.h.

#define DA9052_PAGE0_CON_REG   0

Definition at line 28 of file reg.h.

#define DA9052_PAGE1_CON_REG   128

Definition at line 29 of file reg.h.

#define DA9052_PAGE_CONF   0X80

Definition at line 184 of file reg.h.

#define DA9052_PDDIS_CHGBBATPD   0X20

Definition at line 320 of file reg.h.

#define DA9052_PDDIS_CHGPD   0X10

Definition at line 321 of file reg.h.

#define DA9052_PDDIS_GPADCPD   0X02

Definition at line 324 of file reg.h.

#define DA9052_PDDIS_GPIOPD   0X01

Definition at line 325 of file reg.h.

#define DA9052_PDDIS_HS2WIREPD   0X08

Definition at line 322 of file reg.h.

#define DA9052_PDDIS_OUT32KPD   0X40

Definition at line 319 of file reg.h.

#define DA9052_PDDIS_PMCONTPD   0X80

Definition at line 318 of file reg.h.

#define DA9052_PDDIS_PMIFPD   0X04

Definition at line 323 of file reg.h.

#define DA9052_PDDIS_REG   18

Definition at line 56 of file reg.h.

#define DA9052_PULLDOWN_COREPDDIS   0X01

Definition at line 512 of file reg.h.

#define DA9052_PULLDOWN_LDO1PDDIS   0X08

Definition at line 509 of file reg.h.

#define DA9052_PULLDOWN_LDO2PDDIS   0X10

Definition at line 508 of file reg.h.

#define DA9052_PULLDOWN_LDO5PDDIS   0X20

Definition at line 507 of file reg.h.

#define DA9052_PULLDOWN_MEMPDDIS   0X04

Definition at line 510 of file reg.h.

#define DA9052_PULLDOWN_PROPDDIS   0X02

Definition at line 511 of file reg.h.

#define DA9052_PULLDOWN_REG   61

Definition at line 102 of file reg.h.

#define DA9052_RESET_REG   20

Definition at line 58 of file reg.h.

#define DA9052_RESET_RESETEVENT   0XC0

Definition at line 336 of file reg.h.

#define DA9052_RESET_RESETTIMER   0X3F

Definition at line 337 of file reg.h.

#define DA9052_RTC_DAY   0X1F

Definition at line 720 of file reg.h.

#define DA9052_RTC_HOUR   0X1F

Definition at line 717 of file reg.h.

#define DA9052_RTC_MIN   0X3F

Definition at line 714 of file reg.h.

#define DA9052_RTC_MONTH   0X0F

Definition at line 723 of file reg.h.

#define DA9052_RTC_SEC   0X3F

Definition at line 711 of file reg.h.

#define DA9052_RTC_YEAR   0X3F

Definition at line 726 of file reg.h.

#define DA9052_SECOND_A_REG   122

Definition at line 178 of file reg.h.

#define DA9052_SECOND_B_REG   123

Definition at line 179 of file reg.h.

#define DA9052_SECOND_C_REG   124

Definition at line 180 of file reg.h.

#define DA9052_SECOND_D_REG   125

Definition at line 181 of file reg.h.

#define DA9052_SECONDA_SECONDSA   0XFF

Definition at line 737 of file reg.h.

#define DA9052_SECONDB_SECONDSB   0XFF

Definition at line 740 of file reg.h.

#define DA9052_SECONDC_SECONDSC   0XFF

Definition at line 743 of file reg.h.

#define DA9052_SECONDD_SECONDSD   0XFF

Definition at line 746 of file reg.h.

#define DA9052_SEQ_A_REG   41

Definition at line 80 of file reg.h.

#define DA9052_SEQ_B_REG   42

Definition at line 81 of file reg.h.

#define DA9052_SEQ_STATUS_REG   40

Definition at line 79 of file reg.h.

#define DA9052_SEQ_TIMER_REG   43

Definition at line 82 of file reg.h.

#define DA9052_SEQA_POWEREND   0XF0

Definition at line 401 of file reg.h.

#define DA9052_SEQA_SYSTEMEND   0X0F

Definition at line 402 of file reg.h.

#define DA9052_SEQB_MAXCOUNT   0X0F

Definition at line 406 of file reg.h.

#define DA9052_SEQB_PARTDOWN   0XF0

Definition at line 405 of file reg.h.

#define DA9052_SEQSTATUS_SEQPOINTER   0XF0

Definition at line 397 of file reg.h.

#define DA9052_SEQSTATUS_WAITSTEP   0X0F

Definition at line 398 of file reg.h.

#define DA9052_SEQTIMER_SEQDUMMY   0XF0

Definition at line 409 of file reg.h.

#define DA9052_SEQTIMER_SEQTIME   0X0F

Definition at line 410 of file reg.h.

#define DA9052_STATUS_A_REG   1

Definition at line 32 of file reg.h.

#define DA9052_STATUS_B_REG   2

Definition at line 33 of file reg.h.

#define DA9052_STATUS_C_REG   3

Definition at line 34 of file reg.h.

#define DA9052_STATUS_D_REG   4

Definition at line 35 of file reg.h.

#define DA9052_STATUSA_DCINDET   0X08

Definition at line 191 of file reg.h.

#define DA9052_STATUSA_DCINSEL   0X20

Definition at line 189 of file reg.h.

#define DA9052_STATUSA_IDFLOAT   0X02

Definition at line 193 of file reg.h.

#define DA9052_STATUSA_IDGND   0X04

Definition at line 192 of file reg.h.

#define DA9052_STATUSA_NONKEY   0X01

Definition at line 194 of file reg.h.

#define DA9052_STATUSA_VBUSDET   0X10

Definition at line 190 of file reg.h.

#define DA9052_STATUSA_VBUSSEL   0X40

Definition at line 188 of file reg.h.

#define DA9052_STATUSA_VDATDET   0X80

Definition at line 187 of file reg.h.

#define DA9052_STATUSB_CHGATT   0X01

Definition at line 204 of file reg.h.

#define DA9052_STATUSB_CHGEND   0X08

Definition at line 201 of file reg.h.

#define DA9052_STATUSB_CHGLIM   0X04

Definition at line 202 of file reg.h.

#define DA9052_STATUSB_CHGPRE   0X02

Definition at line 203 of file reg.h.

#define DA9052_STATUSB_CHGTO   0X10

Definition at line 200 of file reg.h.

#define DA9052_STATUSB_COMPDET   0X80

Definition at line 197 of file reg.h.

#define DA9052_STATUSB_GPFB2   0X20

Definition at line 199 of file reg.h.

#define DA9052_STATUSB_SEQUENCING   0X40

Definition at line 198 of file reg.h.

#define DA9052_STATUSC_GPI0   0X01

Definition at line 214 of file reg.h.

#define DA9052_STATUSC_GPI1   0X02

Definition at line 213 of file reg.h.

#define DA9052_STATUSC_GPI2   0X04

Definition at line 212 of file reg.h.

#define DA9052_STATUSC_GPI3   0X08

Definition at line 211 of file reg.h.

#define DA9052_STATUSC_GPI4   0X10

Definition at line 210 of file reg.h.

#define DA9052_STATUSC_GPI5   0X20

Definition at line 209 of file reg.h.

#define DA9052_STATUSC_GPI6   0X40

Definition at line 208 of file reg.h.

#define DA9052_STATUSC_GPI7   0X80

Definition at line 207 of file reg.h.

#define DA9052_STATUSD_GPI10   0X04

Definition at line 222 of file reg.h.

#define DA9052_STATUSD_GPI11   0X08

Definition at line 221 of file reg.h.

#define DA9052_STATUSD_GPI12   0X10

Definition at line 220 of file reg.h.

#define DA9052_STATUSD_GPI13   0X20

Definition at line 219 of file reg.h.

#define DA9052_STATUSD_GPI14   0X40

Definition at line 218 of file reg.h.

#define DA9052_STATUSD_GPI15   0X80

Definition at line 217 of file reg.h.

#define DA9052_STATUSD_GPI8   0X01

Definition at line 224 of file reg.h.

#define DA9052_STATUSD_GPI9   0X02

Definition at line 223 of file reg.h.

#define DA9052_SUPPLY_REG   60

Definition at line 101 of file reg.h.

#define DA9052_SUPPLY_VBCOREGO   0X01

Definition at line 504 of file reg.h.

#define DA9052_SUPPLY_VBMEMGO   0X04

Definition at line 502 of file reg.h.

#define DA9052_SUPPLY_VBPROGO   0X02

Definition at line 503 of file reg.h.

#define DA9052_SUPPLY_VLDO2GO   0X08

Definition at line 501 of file reg.h.

#define DA9052_SUPPLY_VLDO3GO   0X10

Definition at line 500 of file reg.h.

#define DA9052_SUPPLY_VLOCK   0X80

Definition at line 497 of file reg.h.

#define DA9052_SUPPLY_VMEMSWEN   0X40

Definition at line 498 of file reg.h.

#define DA9052_SUPPLY_VPERISWEN   0X20

Definition at line 499 of file reg.h.

#define DA9052_T_OFFSET_REG   94

Definition at line 142 of file reg.h.

#define DA9052_TBAT_HIGHN_REG   92

Definition at line 140 of file reg.h.

#define DA9052_TBAT_HIGHP_REG   91

Definition at line 139 of file reg.h.

#define DA9052_TBAT_LOW_REG   93

Definition at line 141 of file reg.h.

#define DA9052_TBAT_RES_REG   90

Definition at line 138 of file reg.h.

#define DA9052_TBATHIGHN_TBATHIGHN   0XFF

Definition at line 638 of file reg.h.

#define DA9052_TBATHIGHP_TBATHIGHP   0XFF

Definition at line 635 of file reg.h.

#define DA9052_TBATLOW_TBATLOW   0XFF

Definition at line 641 of file reg.h.

#define DA9052_TBATRES_TBATRES   0XFF

Definition at line 632 of file reg.h.

#define DA9052_TJUNC_RES_REG   104

Definition at line 154 of file reg.h.

#define DA9052_TJUNCRES_TJUNCRES   0XFF

Definition at line 674 of file reg.h.

#define DA9052_TOFFSET_TOFFSET   0XFF

Definition at line 644 of file reg.h.

#define DA9052_TSI_CONT_A_REG   105

Definition at line 157 of file reg.h.

#define DA9052_TSI_CONT_B_REG   106

Definition at line 158 of file reg.h.

#define DA9052_TSI_LSB_REG   109

Definition at line 161 of file reg.h.

#define DA9052_TSI_X_MSB_REG   107

Definition at line 159 of file reg.h.

#define DA9052_TSI_Y_MSB_REG   108

Definition at line 160 of file reg.h.

#define DA9052_TSI_Z_MSB_REG   110

Definition at line 162 of file reg.h.

#define DA9052_TSICONTA_AUTOTSIEN   0X01

Definition at line 682 of file reg.h.

#define DA9052_TSICONTA_PENDETEN   0X02

Definition at line 681 of file reg.h.

#define DA9052_TSICONTA_TSIDELAY   0XC0

Definition at line 678 of file reg.h.

#define DA9052_TSICONTA_TSIMODE   0X04

Definition at line 680 of file reg.h.

#define DA9052_TSICONTA_TSISKIP   0X38

Definition at line 679 of file reg.h.

#define DA9052_TSICONTB_ADCREF   0X80

Definition at line 685 of file reg.h.

#define DA9052_TSICONTB_TSIMAN   0X40

Definition at line 686 of file reg.h.

#define DA9052_TSICONTB_TSIMUX   0X30

Definition at line 687 of file reg.h.

#define DA9052_TSICONTB_TSISEL0   0X01

Definition at line 691 of file reg.h.

#define DA9052_TSICONTB_TSISEL1   0X02

Definition at line 690 of file reg.h.

#define DA9052_TSICONTB_TSISEL2   0X04

Definition at line 689 of file reg.h.

#define DA9052_TSICONTB_TSISEL3   0X08

Definition at line 688 of file reg.h.

#define DA9052_TSILSB_PENDOWN   0X40

Definition at line 700 of file reg.h.

#define DA9052_TSILSB_TSIXL   0X03

Definition at line 703 of file reg.h.

#define DA9052_TSILSB_TSIYL   0X0C

Definition at line 702 of file reg.h.

#define DA9052_TSILSB_TSIZL   0X30

Definition at line 701 of file reg.h.

#define DA9052_TSIXMSB_TSIXM   0XFF

Definition at line 694 of file reg.h.

#define DA9052_TSIYMSB_TSIYM   0XFF

Definition at line 697 of file reg.h.

#define DA9052_TSIZMSB_TSIZM   0XFF

Definition at line 706 of file reg.h.

#define DA9052_VDD_MON_REG   86

Definition at line 133 of file reg.h.

#define DA9052_VDD_RES_REG   85

Definition at line 132 of file reg.h.

#define DA9052_VDDMON_VDDOUTMON   0XFF

Definition at line 620 of file reg.h.

#define DA9052_VDDRES_VDDOUTRES   0XFF

Definition at line 617 of file reg.h.

#define DA9052_WAITCONT_DELAYTIME   0X0F

Definition at line 527 of file reg.h.

#define DA9052_WAITCONT_EN32KOUT   0X10

Definition at line 526 of file reg.h.

#define DA9052_WAITCONT_REG   63

Definition at line 104 of file reg.h.

#define DA9052_WAITCONT_RTCCLOCK   0X40

Definition at line 524 of file reg.h.

#define DA9052_WAITCONT_WAITDIR   0X80

Definition at line 523 of file reg.h.

#define DA9052_WAITCONT_WAITMODE   0X20

Definition at line 525 of file reg.h.