Lines Matching +full:0 +full:xf0

14 #define DA9052_PAGE0_CON_REG		0
176 #define DA9052_PAGE_CONF 0X80
179 #define DA9052_STATUSA_VDATDET 0X80
180 #define DA9052_STATUSA_VBUSSEL 0X40
181 #define DA9052_STATUSA_DCINSEL 0X20
182 #define DA9052_STATUSA_VBUSDET 0X10
183 #define DA9052_STATUSA_DCINDET 0X08
184 #define DA9052_STATUSA_IDGND 0X04
185 #define DA9052_STATUSA_IDFLOAT 0X02
186 #define DA9052_STATUSA_NONKEY 0X01
189 #define DA9052_STATUSB_COMPDET 0X80
190 #define DA9052_STATUSB_SEQUENCING 0X40
191 #define DA9052_STATUSB_GPFB2 0X20
192 #define DA9052_STATUSB_CHGTO 0X10
193 #define DA9052_STATUSB_CHGEND 0X08
194 #define DA9052_STATUSB_CHGLIM 0X04
195 #define DA9052_STATUSB_CHGPRE 0X02
196 #define DA9052_STATUSB_CHGATT 0X01
199 #define DA9052_STATUSC_GPI7 0X80
200 #define DA9052_STATUSC_GPI6 0X40
201 #define DA9052_STATUSC_GPI5 0X20
202 #define DA9052_STATUSC_GPI4 0X10
203 #define DA9052_STATUSC_GPI3 0X08
204 #define DA9052_STATUSC_GPI2 0X04
205 #define DA9052_STATUSC_GPI1 0X02
206 #define DA9052_STATUSC_GPI0 0X01
209 #define DA9052_STATUSD_GPI15 0X80
210 #define DA9052_STATUSD_GPI14 0X40
211 #define DA9052_STATUSD_GPI13 0X20
212 #define DA9052_STATUSD_GPI12 0X10
213 #define DA9052_STATUSD_GPI11 0X08
214 #define DA9052_STATUSD_GPI10 0X04
215 #define DA9052_STATUSD_GPI9 0X02
216 #define DA9052_STATUSD_GPI8 0X01
219 #define DA9052_EVENTA_ECOMP1V2 0X80
220 #define DA9052_EVENTA_ESEQRDY 0X40
221 #define DA9052_EVENTA_EALRAM 0X20
222 #define DA9052_EVENTA_EVDDLOW 0X10
223 #define DA9052_EVENTA_EVBUSREM 0X08
224 #define DA9052_EVENTA_EDCINREM 0X04
225 #define DA9052_EVENTA_EVBUSDET 0X02
226 #define DA9052_EVENTA_EDCINDET 0X01
229 #define DA9052_EVENTB_ETSIREADY 0X80
230 #define DA9052_EVENTB_EPENDOWN 0X40
231 #define DA9052_EVENTB_EADCEOM 0X20
232 #define DA9052_EVENTB_ETBAT 0X10
233 #define DA9052_EVENTB_ECHGEND 0X08
234 #define DA9052_EVENTB_EIDGND 0X04
235 #define DA9052_EVENTB_EIDFLOAT 0X02
236 #define DA9052_EVENTB_ENONKEY 0X01
239 #define DA9052_EVENTC_EGPI7 0X80
240 #define DA9052_EVENTC_EGPI6 0X40
241 #define DA9052_EVENTC_EGPI5 0X20
242 #define DA9052_EVENTC_EGPI4 0X10
243 #define DA9052_EVENTC_EGPI3 0X08
244 #define DA9052_EVENTC_EGPI2 0X04
245 #define DA9052_EVENTC_EGPI1 0X02
246 #define DA9052_EVENTC_EGPI0 0X01
249 #define DA9052_EVENTD_EGPI15 0X80
250 #define DA9052_EVENTD_EGPI14 0X40
251 #define DA9052_EVENTD_EGPI13 0X20
252 #define DA9052_EVENTD_EGPI12 0X10
253 #define DA9052_EVENTD_EGPI11 0X08
254 #define DA9052_EVENTD_EGPI10 0X04
255 #define DA9052_EVENTD_EGPI9 0X02
256 #define DA9052_EVENTD_EGPI8 0X01
259 #define DA9052_M_NONKEY 0X0100
262 #define DA9052_E_PEN_DOWN 0X4000
263 #define DA9052_E_TSI_READY 0X8000
266 #define DA9052_FAULTLOG_WAITSET 0X80
267 #define DA9052_FAULTLOG_NSDSET 0X40
268 #define DA9052_FAULTLOG_KEYSHUT 0X20
269 #define DA9052_FAULTLOG_TEMPOVER 0X08
270 #define DA9052_FAULTLOG_VDDSTART 0X04
271 #define DA9052_FAULTLOG_VDDFAULT 0X02
272 #define DA9052_FAULTLOG_TWDERROR 0X01
275 #define DA9052_CONTROLA_GPIV 0X80
276 #define DA9052_CONTROLA_PMOTYPE 0X20
277 #define DA9052_CONTROLA_PMOV 0X10
278 #define DA9052_CONTROLA_PMIV 0X08
279 #define DA9052_CONTROLA_PMIFV 0X08
280 #define DA9052_CONTROLA_PWR1EN 0X04
281 #define DA9052_CONTROLA_PWREN 0X02
282 #define DA9052_CONTROLA_SYSEN 0X01
285 #define DA9052_CONTROLB_SHUTDOWN 0X80
286 #define DA9052_CONTROLB_DEEPSLEEP 0X40
287 #define DA9052_CONTROL_B_WRITEMODE 0X20
288 #define DA9052_CONTROLB_BBATEN 0X10
289 #define DA9052_CONTROLB_OTPREADEN 0X08
290 #define DA9052_CONTROLB_AUTOBOOT 0X04
291 #define DA9052_CONTROLB_ACTDIODE 0X02
292 #define DA9052_CONTROLB_BUCKMERGE 0X01
295 #define DA9052_CONTROLC_BLINKDUR 0X80
296 #define DA9052_CONTROLC_BLINKFRQ 0X60
297 #define DA9052_CONTROLC_DEBOUNCING 0X1C
298 #define DA9052_CONTROLC_PMFB2PIN 0X02
299 #define DA9052_CONTROLC_PMFB1PIN 0X01
302 #define DA9052_CONTROLD_WATCHDOG 0X80
303 #define DA9052_CONTROLD_ACCDETEN 0X40
304 #define DA9052_CONTROLD_GPI1415SD 0X20
305 #define DA9052_CONTROLD_NONKEYSD 0X10
306 #define DA9052_CONTROLD_KEEPACTEN 0X08
307 #define DA9052_CONTROLD_TWDSCALE 0X07
310 #define DA9052_PDDIS_PMCONTPD 0X80
311 #define DA9052_PDDIS_OUT32KPD 0X40
312 #define DA9052_PDDIS_CHGBBATPD 0X20
313 #define DA9052_PDDIS_CHGPD 0X10
314 #define DA9052_PDDIS_HS2WIREPD 0X08
315 #define DA9052_PDDIS_PMIFPD 0X04
316 #define DA9052_PDDIS_GPADCPD 0X02
317 #define DA9052_PDDIS_GPIOPD 0X01
320 #define DA9052_INTERFACE_IFBASEADDR 0XE0
321 #define DA9052_INTERFACE_NCSPOL 0X10
322 #define DA9052_INTERFACE_RWPOL 0X08
323 #define DA9052_INTERFACE_CPHA 0X04
324 #define DA9052_INTERFACE_CPOL 0X02
325 #define DA9052_INTERFACE_IFTYPE 0X01
328 #define DA9052_RESET_RESETEVENT 0XC0
329 #define DA9052_RESET_RESETTIMER 0X3F
333 #define DA9052_GPIO_EVEN_PORT_PIN 0X03
334 #define DA9052_GPIO_EVEN_PORT_TYPE 0X04
335 #define DA9052_GPIO_EVEN_PORT_MODE 0X08
337 #define DA9052_GPIO_ODD_PORT_PIN 0X30
338 #define DA9052_GPIO_ODD_PORT_TYPE 0X40
339 #define DA9052_GPIO_ODD_PORT_MODE 0X80
342 /* SEQ CONTROL REGISTER BITS FOR ID 0 AND 1 */
343 #define DA9052_ID01_LDO1STEP 0XF0
344 #define DA9052_ID01_SYSPRE 0X04
345 #define DA9052_ID01_DEFSUPPLY 0X02
346 #define DA9052_ID01_NRESMODE 0X01
349 #define DA9052_ID23_LDO3STEP 0XF0
350 #define DA9052_ID23_LDO2STEP 0X0F
353 #define DA9052_ID45_LDO5STEP 0XF0
354 #define DA9052_ID45_LDO4STEP 0X0F
357 #define DA9052_ID67_LDO7STEP 0XF0
358 #define DA9052_ID67_LDO6STEP 0X0F
361 #define DA9052_ID89_LDO9STEP 0XF0
362 #define DA9052_ID89_LDO8STEP 0X0F
365 #define DA9052_ID1011_PDDISSTEP 0XF0
366 #define DA9052_ID1011_LDO10STEP 0X0F
369 #define DA9052_ID1213_VMEMSWSTEP 0XF0
370 #define DA9052_ID1213_VPERISWSTEP 0X0F
373 #define DA9052_ID1415_BUCKPROSTEP 0XF0
374 #define DA9052_ID1415_BUCKCORESTEP 0X0F
377 #define DA9052_ID1617_BUCKPERISTEP 0XF0
378 #define DA9052_ID1617_BUCKMEMSTEP 0X0F
381 #define DA9052_ID1819_GPRISE2STEP 0XF0
382 #define DA9052_ID1819_GPRISE1STEP 0X0F
385 #define DA9052_ID2021_GPFALL2STEP 0XF0
386 #define DA9052_ID2021_GPFALL1STEP 0X0F
389 #define DA9052_SEQSTATUS_SEQPOINTER 0XF0
390 #define DA9052_SEQSTATUS_WAITSTEP 0X0F
393 #define DA9052_SEQA_POWEREND 0XF0
394 #define DA9052_SEQA_SYSTEMEND 0X0F
397 #define DA9052_SEQB_PARTDOWN 0XF0
398 #define DA9052_SEQB_MAXCOUNT 0X0F
401 #define DA9052_SEQTIMER_SEQDUMMY 0XF0
402 #define DA9052_SEQTIMER_SEQTIME 0X0F
406 #define DA9052_BUCKA_BPROILIM 0XC0
407 #define DA9052_BUCKA_BPROMODE 0X30
408 #define DA9052_BUCKA_BCOREILIM 0X0C
409 #define DA9052_BUCKA_BCOREMODE 0X03
412 #define DA9052_BUCKB_BERIILIM 0XC0
413 #define DA9052_BUCKB_BPERIMODE 0X30
414 #define DA9052_BUCKB_BMEMILIM 0X0C
415 #define DA9052_BUCKB_BMEMMODE 0X03
418 #define DA9052_BUCKCORE_BCORECONF 0X80
419 #define DA9052_BUCKCORE_BCOREEN 0X40
420 #define DA9052_BUCKCORE_VBCORE 0X3F
423 #define DA9052_BUCKPRO_BPROCONF 0X80
424 #define DA9052_BUCKPRO_BPROEN 0X40
425 #define DA9052_BUCKPRO_VBPRO 0X3F
428 #define DA9052_BUCKMEM_BMEMCONF 0X80
429 #define DA9052_BUCKMEM_BMEMEN 0X40
430 #define DA9052_BUCKMEM_VBMEM 0X3F
433 #define DA9052_BUCKPERI_BPERICONF 0X80
434 #define DA9052_BUCKPERI_BPERIEN 0X40
435 #define DA9052_BUCKPERI_BPERIHS 0X20
436 #define DA9052_BUCKPERI_VBPERI 0X1F
439 #define DA9052_LDO1_LDO1CONF 0X80
440 #define DA9052_LDO1_LDO1EN 0X40
441 #define DA9052_LDO1_VLDO1 0X1F
444 #define DA9052_LDO2_LDO2CONF 0X80
445 #define DA9052_LDO2_LDO2EN 0X40
446 #define DA9052_LDO2_VLDO2 0X3F
449 #define DA9052_LDO3_LDO3CONF 0X80
450 #define DA9052_LDO3_LDO3EN 0X40
451 #define DA9052_LDO3_VLDO3 0X3F
454 #define DA9052_LDO4_LDO4CONF 0X80
455 #define DA9052_LDO4_LDO4EN 0X40
456 #define DA9052_LDO4_VLDO4 0X3F
459 #define DA9052_LDO5_LDO5CONF 0X80
460 #define DA9052_LDO5_LDO5EN 0X40
461 #define DA9052_LDO5_VLDO5 0X3F
464 #define DA9052_LDO6_LDO6CONF 0X80
465 #define DA9052_LDO6_LDO6EN 0X40
466 #define DA9052_LDO6_VLDO6 0X3F
469 #define DA9052_LDO7_LDO7CONF 0X80
470 #define DA9052_LDO7_LDO7EN 0X40
471 #define DA9052_LDO7_VLDO7 0X3F
474 #define DA9052_LDO8_LDO8CONF 0X80
475 #define DA9052_LDO8_LDO8EN 0X40
476 #define DA9052_LDO8_VLDO8 0X3F
479 #define DA9052_LDO9_LDO9CONF 0X80
480 #define DA9052_LDO9_LDO9EN 0X40
481 #define DA9052_LDO9_VLDO9 0X3F
484 #define DA9052_LDO10_LDO10CONF 0X80
485 #define DA9052_LDO10_LDO10EN 0X40
486 #define DA9052_LDO10_VLDO10 0X3F
489 #define DA9052_SUPPLY_VLOCK 0X80
490 #define DA9052_SUPPLY_VMEMSWEN 0X40
491 #define DA9052_SUPPLY_VPERISWEN 0X20
492 #define DA9052_SUPPLY_VLDO3GO 0X10
493 #define DA9052_SUPPLY_VLDO2GO 0X08
494 #define DA9052_SUPPLY_VBMEMGO 0X04
495 #define DA9052_SUPPLY_VBPROGO 0X02
496 #define DA9052_SUPPLY_VBCOREGO 0X01
499 #define DA9052_PULLDOWN_LDO5PDDIS 0X20
500 #define DA9052_PULLDOWN_LDO2PDDIS 0X10
501 #define DA9052_PULLDOWN_LDO1PDDIS 0X08
502 #define DA9052_PULLDOWN_MEMPDDIS 0X04
503 #define DA9052_PULLDOWN_PROPDDIS 0X02
504 #define DA9052_PULLDOWN_COREPDDIS 0X01
508 #define DA9052_CHGBUCK_CHGTEMP 0X80
509 #define DA9052_CHGBUCK_CHGUSBILIM 0X40
510 #define DA9052_CHGBUCK_CHGBUCKLP 0X20
511 #define DA9052_CHGBUCK_CHGBUCKEN 0X10
512 #define DA9052_CHGBUCK_ISETBUCK 0X0F
515 #define DA9052_WAITCONT_WAITDIR 0X80
516 #define DA9052_WAITCONT_RTCCLOCK 0X40
517 #define DA9052_WAITCONT_WAITMODE 0X20
518 #define DA9052_WAITCONT_EN32KOUT 0X10
519 #define DA9052_WAITCONT_DELAYTIME 0X0F
522 #define DA9052_ISET_ISETDCIN 0XF0
523 #define DA9052_ISET_ISETVBUS 0X0F
526 #define DA9052_BATCHG_ICHGPRE 0XC0
527 #define DA9052_BATCHG_ICHGBAT 0X3F
530 #define DA9052_CHG_CONT_VCHG_BAT 0XF8
531 #define DA9052_CHG_CONT_TCTR 0X07
534 #define DA9052_INPUT_CONT_TCTR_MODE 0X80
535 #define DA9052_INPUT_CONT_VBUS_SUSP 0X10
536 #define DA9052_INPUT_CONT_DCIN_SUSP 0X08
539 #define DA9052_CHGTIME_CHGTIME 0XFF
542 #define DA9052_BBATCONT_BCHARGERISET 0XF0
543 #define DA9052_BBATCONT_BCHARGERVSET 0X0F
547 #define DA9052_BOOST_EBFAULT 0X80
548 #define DA9052_BOOST_MBFAULT 0X40
549 #define DA9052_BOOST_BOOSTFRQ 0X20
550 #define DA9052_BOOST_BOOSTILIM 0X10
551 #define DA9052_BOOST_LED3INEN 0X08
552 #define DA9052_BOOST_LED2INEN 0X04
553 #define DA9052_BOOST_LED1INEN 0X02
554 #define DA9052_BOOST_BOOSTEN 0X01
557 #define DA9052_LEDCONT_SELLEDMODE 0X80
558 #define DA9052_LEDCONT_LED3ICONT 0X40
559 #define DA9052_LEDCONT_LED3RAMP 0X20
560 #define DA9052_LEDCONT_LED3EN 0X10
561 #define DA9052_LEDCONT_LED2RAMP 0X08
562 #define DA9052_LEDCONT_LED2EN 0X04
563 #define DA9052_LEDCONT_LED1RAMP 0X02
564 #define DA9052_LEDCONT_LED1EN 0X01
567 #define DA9052_LEDMIN123_LEDMINCURRENT 0XFF
570 #define DA9052_LED1CONF_LED1CURRENT 0XFF
573 #define DA9052_LED2CONF_LED2CURRENT 0XFF
576 #define DA9052_LED3CONF_LED3CURRENT 0XFF
579 #define DA9052_LED_CONT_DIM 0X80
582 #define DA9052_ADC_MAN_MAN_CONV 0X10
583 #define DA9052_ADC_MAN_MUXSEL_VDDOUT 0X00
584 #define DA9052_ADC_MAN_MUXSEL_ICH 0X01
585 #define DA9052_ADC_MAN_MUXSEL_TBAT 0X02
586 #define DA9052_ADC_MAN_MUXSEL_VBAT 0X03
587 #define DA9052_ADC_MAN_MUXSEL_AD4 0X04
588 #define DA9052_ADC_MAN_MUXSEL_AD5 0X05
589 #define DA9052_ADC_MAN_MUXSEL_AD6 0X06
590 #define DA9052_ADC_MAN_MUXSEL_VBBAT 0X09
593 #define DA9052_ADCCONT_COMP1V2EN 0X80
594 #define DA9052_ADCCONT_ADCMODE 0X40
595 #define DA9052_ADCCONT_TBATISRCEN 0X20
596 #define DA9052_ADCCONT_AD4ISRCEN 0X10
597 #define DA9052_ADCCONT_AUTOAD6EN 0X08
598 #define DA9052_ADCCONT_AUTOAD5EN 0X04
599 #define DA9052_ADCCONT_AUTOAD4EN 0X02
600 #define DA9052_ADCCONT_AUTOVDDEN 0X01
603 #define DA9052_ADC_RES_LSB 0X03
606 #define DA9052_ADCRESH_ADCRESMSB 0XFF
609 #define DA9052_VDDRES_VDDOUTRES 0XFF
612 #define DA9052_VDDMON_VDDOUTMON 0XFF
615 #define DA9052_ICHGAV_ICHGAV 0XFF
618 #define DA9052_ICHGTHD_ICHGTHD 0XFF
621 #define DA9052_ICHGEND_ICHGEND 0XFF
624 #define DA9052_TBATRES_TBATRES 0XFF
627 #define DA9052_TBATHIGHP_TBATHIGHP 0XFF
630 #define DA9052_TBATHIGHN_TBATHIGHN 0XFF
633 #define DA9052_TBATLOW_TBATLOW 0XFF
636 #define DA9052_TOFFSET_TOFFSET 0XFF
639 #define DA9052_ADCIN4RES_ADCIN4RES 0XFF
642 #define DA9052_AUTO4HIGH_AUTO4HIGH 0XFF
645 #define DA9052_AUTO4LOW_AUTO4LOW 0XFF
648 #define DA9052_ADCIN5RES_ADCIN5RES 0XFF
651 #define DA9052_AUTO5HIGH_AUTOHIGH 0XFF
654 #define DA9052_AUTO5LOW_AUTO5LOW 0XFF
657 #define DA9052_ADCIN6RES_ADCIN6RES 0XFF
660 #define DA9052_AUTO6HIGH_AUTO6HIGH 0XFF
663 #define DA9052_AUTO6LOW_AUTO6LOW 0XFF
666 #define DA9052_TJUNCRES_TJUNCRES 0XFF
670 #define DA9052_TSICONTA_TSIDELAY 0XC0
671 #define DA9052_TSICONTA_TSISKIP 0X38
672 #define DA9052_TSICONTA_TSIMODE 0X04
673 #define DA9052_TSICONTA_PENDETEN 0X02
674 #define DA9052_TSICONTA_AUTOTSIEN 0X01
677 #define DA9052_TSICONTB_ADCREF 0X80
678 #define DA9052_TSICONTB_TSIMAN 0X40
679 #define DA9052_TSICONTB_TSIMUX_XP 0X00
680 #define DA9052_TSICONTB_TSIMUX_YP 0X10
681 #define DA9052_TSICONTB_TSIMUX_XN 0X20
682 #define DA9052_TSICONTB_TSIMUX_YN 0X30
683 #define DA9052_TSICONTB_TSISEL3 0X08
684 #define DA9052_TSICONTB_TSISEL2 0X04
685 #define DA9052_TSICONTB_TSISEL1 0X02
686 #define DA9052_TSICONTB_TSISEL0 0X01
689 #define DA9052_TSIXMSB_TSIXM 0XFF
692 #define DA9052_TSIYMSB_TSIYM 0XFF
695 #define DA9052_TSILSB_PENDOWN 0X40
696 #define DA9052_TSILSB_TSIZL 0X30
699 #define DA9052_TSILSB_TSIYL 0X0C
702 #define DA9052_TSILSB_TSIXL 0X03
703 #define DA9052_TSILSB_TSIXL_SHIFT 0
707 #define DA9052_TSIZMSB_TSIZM 0XFF
711 #define DA9052_COUNTS_MONITOR 0X40
712 #define DA9052_RTC_SEC 0X3F
715 #define DA9052_RTC_MIN 0X3F
718 #define DA9052_RTC_HOUR 0X1F
721 #define DA9052_RTC_DAY 0X1F
724 #define DA9052_RTC_MONTH 0X0F
727 #define DA9052_RTC_YEAR 0X3F
730 #define DA9052_ALARMM_I_TICK_TYPE 0X80
731 #define DA9052_ALARMMI_ALARMTYPE 0X40
734 #define DA9052_ALARM_Y_TICK_ON 0X80
735 #define DA9052_ALARM_Y_ALARM_ON 0X40
738 #define DA9052_SECONDA_SECONDSA 0XFF
741 #define DA9052_SECONDB_SECONDSB 0XFF
744 #define DA9052_SECONDC_SECONDSC 0XFF
747 #define DA9052_SECONDD_SECONDSD 0XFF