Ticket #2181: dump-decoded

File dump-decoded, 21.0 KB (added by werner, 10 years ago)

Decoded dump (svn.openmoko.org/developers/werner/greg/ds.pl)

Line 
100 VERSION = 0x13 -- Version ID
201 VARIANT = 0x84 -- Version ID
302 INT1 = 0x80 -- Interrupt 1
4    adpins -- ADAPTSNS has risen above Vth(adaptpres)
5        0 (0x0)
6    adprem -- ADAPTSNS has dropped below Vth(adaptpres)
7        0 (0x0)
8    usbins -- USBx has risen above Vth(usbpres)
9        0 (0x0)
10    usbrem -- USBx has dropped below Vth(usbpres)
11        0 (0x0)
12    rtcalarm -- RTC alarm time expired
13        0 (0x0)
14    second -- RTC periodic one second interrupt
15        1 (0x1)
1603 INT2 = 0x00 -- Interrupt 2
17    onkeyr -- rising edge on nONKEY
18        0 (0x0)
19    onkeyf -- falling edge on nONKEY
20        0 (0x0)
21    exton1r -- rising edge on EXTON1
22        0 (0x0)
23    exton1f -- falling edge on EXTON1
24        0 (0x0)
25    exton2r -- rising edge on EXTON2
26        0 (0x0)
27    exton2f -- falling edge on EXTON2
28        0 (0x0)
29    exton3r -- rising edge on EXTON3
30        0 (0x0)
31    exton3f -- falling edge on EXTON3
32        0 (0x0)
3304 INT3 = 0x00 -- Interrupt 3
34    batfull -- battery is fully charged
35        0 (0x0)
36    chghalt -- charger has entered HALT mode
37        0 (0x0)
38    thlimon -- charger has activated thermal-loop current limiting in the USB-to-SYS path
39        0 (0x0)
40    thlimoff -- charger has deactivated thermal-loop current limiting in the USB-to-SYS path
41        0 (0x0)
42    usblimon -- charger has activated USB current limiting in the USB-to-SYS path
43        0 (0x0)
44    usblimoff -- charger has deactivated USB current limiting in the USB-to-SYS path
45        0 (0x0)
46    adcrdy -- ADC conversion completed
47        0 (0x0)
48    onkey1s -- nONKEY low for at least 1 second
49        0 (0x0)
5005 INT4 = 0x00 -- Interrupt 4
51    lowsys -- SYS voltage fallen below Vth(sysok)
52        0 (0x0)
53    lowbat -- BAT voltage fallen below Vth(batok)
54        0 (0x0)
55    hightmp -- Tth(die) exceeded
56        0 (0x0)
57    autopwrfail -- AUTO output voltage below 90% of target
58        0 (0x0)
59    dwn1pwrfail -- DOWN1 output voltage below 90% of target
60        0 (0x0)
61    dwn2pwrfail -- DOWN2 output voltage below 90% of target
62        0 (0x0)
63    ledpwrfail -- LED output current below 90% of target
64        0 (0x0)
65    ledovp -- overvoltage detected at output of LED converter
66        0 (0x0)
6706 INT5 = 0x00 -- Interrupt 5
68    ldo1pwrfail -- LDO1 output voltage below 90% of target
69        0 (0x0)
70    ldo2pwrfail -- LDO2 output voltage below 90% of target
71        0 (0x0)
72    ldo3pwrfail -- LDO3 output voltage below 90% of target
73        0 (0x0)
74    ldo4pwrfail -- LDO4 output voltage below 90% of target
75        0 (0x0)
76    ldo5pwrfail -- LDO5 output voltage below 90% of target
77        0 (0x0)
78    ldo6pwrfail -- LDO6 output voltage below 90% of target
79        0 (0x0)
80    hcldopwrfail -- HCLDO output voltage below 90% of target
81        0 (0x0)
82    hcldoovl -- overload (Io > 350mA) detected in HCLDO regulator
83        0 (0x0)
8407 INT1MASK = 0xc0 -- Interrupt mask 1
85    adpinsm
86        0 (0x0)
87    adpremm
88        0 (0x0)
89    usbinsm
90        0 (0x0)
91    usbremm
92        0 (0x0)
93    rtcalarmm
94        1 (0x1)
95    secondm
96        1 (0x1)
9708 INT2MASK = 0x00 -- Interrupt mask 2
98    onkeyrm
99        0 (0x0)
100    onkeyfm
101        0 (0x0)
102    exton1rm
103        0 (0x0)
104    exton1fm
105        0 (0x0)
106    exton2rm
107        0 (0x0)
108    exton2fm
109        0 (0x0)
110    exton3rm
111        0 (0x0)
112    exton3fm
113        0 (0x0)
11409 INT3MASK = 0x00 -- Interrupt mask 3
115    batfullm
116        0 (0x0)
117    chghaltm
118        0 (0x0)
119    thlimonm
120        0 (0x0)
121    thlimoffm
122        0 (0x0)
123    usblimonm
124        0 (0x0)
125    usblimoffm
126        0 (0x0)
127    adcrdym
128        0 (0x0)
129    onkey1sm
130        0 (0x0)
1310a INT4MASK = 0x00 -- Interrupt mask 4
132    lowsysm
133        0 (0x0)
134    lowbatm
135        0 (0x0)
136    hightmpm
137        0 (0x0)
138    autopwrfailm
139        0 (0x0)
140    dwn1pwrfailm
141        0 (0x0)
142    dwn2pwrfailm
143        0 (0x0)
144    ledpwrfailm
145        0 (0x0)
146    ledovpm
147        0 (0x0)
1480b INT5MASK = 0x00 -- Interrupt mask 5
149    ldo1pwrfailm
150        0 (0x0)
151    ldo2pwrfailm
152        0 (0x0)
153    ldo3pwrfailm
154        0 (0x0)
155    ldo4pwrfailm
156        0 (0x0)
157    ldo5pwrfailm
158        0 (0x0)
159    ldo6pwrfailm
160        0 (0x0)
161    hcldopwrfailm
162        0 (0x0)
163    hcldoovlm
164        0 (0x0)
1650c OOCSHDWN = 0x00 -- OOC shutdown
166    go_stby
167        0 (0x0): no_action
168    totrst
169        0 (0x0): no_action
170    coldboot
171        0 (0x0): no_coldboot
1720d OOCWAKE = 0xd3 -- OOC wake-up
173    onkey_wake
174        1 (0x1)
175    exton1_wake
176        1 (0x1)
177    exton2_wake
178        0 (0x0)
179    exton3_wake
180        0 (0x0)
181    rtc_wake
182        1 (0x1)
183    usb_wake
184        1 (0x1)
185    adp_wake
186        1 (0x1)
1870e OOCTIM1 = 0xaa -- OOC debounce 1
188    exton1_deb
189        10 (0x2): 14ms
190    exton2_deb
191        10 (0x2): 14ms
192    exton3_deb
193        10 (0x2): 14ms
194    shdwn_deb
195        10 (0x2): 14ms
1960f OOCTIM2 = 0x4a -- OOC debounce 2 (STANDBY)
197    onkey_deb -- debounce time for nONKEY
198        010 (0x2): 14ms
199    actphdel -- delay between activation phases
200        01 (0x1): 10ms
201    hcrstdel -- delay between selected activation phase and host controller reset
202        10 (0x2): 13ms
203    almon -- ambient light monitor
204        0 (0x0)
20510 OOCMODE = 0x15 -- OOC mode
206    exton1_mode -- EXTON1 mode selection
207        01 (0x1): wake_on_rising_edge
208    exton2_mode -- EXTON2 mode selection
209        01 (0x1): wake_on_rising_edge
210    exton3_mode -- EXTON3 mode selection
211        01 (0x1): wake_on_rising_edge
212    onkey_mode -- ONKEY mode selection
213        00 (0x0): wake_on_falling_edge
21411 OOCCTL = 0x47 -- OOC control
215    actphrst -- selects activity phase to which host controller reset is related
216        11 (0x3): phase_4
217    actclk32on -- CLK32K output in Active state
218        1 (0x1)
219    heatbeat
220        0 (0x0): KEEPACT_required_DC_high
221    usbbatchk
222        0 (0x0): disabled -- Vbat status has no effect on state machine
223    stbclk32on -- CLK32K output in Standby state
224        1 (0x1)
22512 OOCSTAT = 0xff -- OOC status
226    onkey -- ONKEY above threshold
227        1 (0x1)
228    exton1 -- EXTON1 above threshold
229        1 (0x1)
230    exton2 -- EXTON2 above threshold
231        1 (0x1)
232    exton3 -- EXTON3 above threshold
233        1 (0x1)
234    bubpres -- Vbubat above Vth(bubpres)
235        1 (0x1)
236    sysok -- Vsys above Vth(sysok)
237        1 (0x1)
238    batok -- Vbat above Vth(batok)
239        1 (0x1)
240    tmpok -- die_below_Tth_die
241        1 (0x1)
24213 GPIOCTL = 0x05 -- GPIO I/O mode control
243    gpio1dir -- GPIO1 I/O mode
244        1 (0x1): input
245    gpio2dir -- GPIO2 I/O mode
246        0 (0x0): output
247    gpio3dir -- GPIO3 I/O mode
248        1 (0x1): input
24914 GPIO1CFG = 0x00 -- GPIO1 signal selection
250    gpio1sel -- GPIO1 output signal selection
251        000 (0x0): fixed_0
252    gpio1pol -- GPIO1 output signal polarity
253        0 (0x0): no_inversion
25415 GPIO2CFG = 0x01 -- GPIO2 signal selection
255    gpio2sel -- GPIO2 output signal selection
256        001 (0x1): RESERVED
257    gpio2pol -- GPIO2 output signal polarity
258        0 (0x0): no_inversion
25916 GPIO3CFG = 0x00 -- GPIO3 signal selection
260    gpio3sel -- GPIO3 output signal selection
261        000 (0x0): fixed_0
262    gpio3pol -- GPIO3 output signal polarity
263        0 (0x0): no_inversion
26417 GPOCFG = 0x00 -- GPO signal selection
265    gposel -- GPO output signal selection
266        000 (0x0): fixed_0
267    gpopol -- GPO output signal polarity
268        0 (0x0): no_inversion
26918 BVMCTL = 0x02 -- BVM control
270    bvmlow -- BAT voltage is lower than Vth(batok)
271        0 (0x0)
272    bvmlvl -- Vth(batok)
273        001 (0x1): 2_80V
274    bvmdisdb -- 62ms debounce filter
275        0 (0x0): enabled
27619 SVMCTL = 0x08 -- SVM control
277    svmlow -- SYS voltage is lower than Vth(sysok)
278        0 (0x0)
279    svmlvl -- Vth(sysok)
280        100 (0x4): 3_10V
281    svmdisdb -- 62ms debounce filter
282        0 (0x0): enabled
2831a AUTOOUT = 0x6b -- AUTO output voltage select (STANDBY)
284    auto_out -- Vo(prog) [1800mV,3800mV]
285        0110.1011 (0x6b): 625+25*107 = 3300 mV
2861b AUTOENA = 0x01 -- AUTO output enable (STANDBY)
287    auto_on
288        1 (0x1): on
289    auto_p1c
290        0 (0x0): off
291    auto_p2c
292        0 (0x0): off
293    auto_p3c
294        0 (0x0): off
295    auto_ena_act -- selects activation phase
296        00 (0x0): actph1
2971c AUTOCTL = 0x00 -- AUTO control register (STANDBY)
298    autopwmonly
299        0 (0x0): pfm_pwm -- automatic PFM-PWM selection
300    auto_mod
301        0 (0x0): auto_up_down
3021d AUTOMXC = 0x0a -- AUTO maximum current (STANDBY)
303    auto_maxc -- Ii(max)
304        00.1010 (0x0a): 0+40*10 = 400 mA
305    auto_maxcmod -- current limit mode
306        0 (0x0): start_up
3071e DOWN1OUT = 0x1b -- DOWN1 output voltage select (STANDBY)
308    down1_out -- Vo(prog) [1800mV,3800mV]
309        0001.1011 (0x1b): 625+25*27 = 1300 mV
3101f DOWN1ENA = 0x02 -- DOWN1 output enable (STANDBY)
311    down1_on
312        0 (0x0): off
313    down1_p1c
314        1 (0x1): on_gpio1 -- ON when GPIO1 = 1
315    down1_p2c
316        0 (0x0): off
317    down1_p3c
318        0 (0x0): off
319    down1_ena_act -- selects activation phase
320        00 (0x0): actph1
32120 DOWN1CTL = 0x00 -- DOWN1 control (STANDBY)
322    down1pwmonly
323        0 (0x0): pfm_pwm -- automatic PFM-PWM selection
324    down1_dvmstep -- DVM step time, 32768 Hz
325        0000 (0x0): 0+30*0 = 0 us
32621 DOWN1MXC = 0x1a -- DOWN1 maximum current (STANDBY)
327    down1_maxc -- Ii(max)
328        01.1010 (0x1a): 0+40*26 = 1040 mA
329    down1_maxcmod -- current limit mode
330        0 (0x0): start_up
33122 DOWN2OUT = 0x2f -- DOWN2 output voltage select (STANDBY)
332    down2_out -- Vo(prog) [1800mV,3800mV]
333        0010.1111 (0x2f): 625+25*47 = 1800 mV
33423 DOWN2ENA = 0x21 -- DOWN2 output enable (STANDBY)
335    down2_on
336        1 (0x1): on
337    down2_p1c
338        0 (0x0): off
339    down2_p2c
340        0 (0x0): off
341    down2_p3c
342        0 (0x0): off
343    down2_ena_act -- selects activation phase
344        10 (0x2): actph3
34524 DOWN2CTL = 0x00 -- DOWN2 control (STANDBY)
346    down2pwmonly
347        0 (0x0): pfm_pwm -- automatic PFM-PWM selection
348    down2_dvmstep -- DVM step time, 32768 Hz
349        0000 (0x0): 0+30*0 = 0 us
35025 DOWN2MXC = 0x1a -- DOWN2 maximum current (STANDBY)
351    down2_maxc -- Ii(max)
352        01.1010 (0x1a): 0+40*26 = 1040 mA
353    down2_maxcmod -- current limit mode
354        0 (0x0): start_up
35526 MEMLDOOUT = 0x09 -- MEMLDO output voltage select (STANDBY)
356    memldo_out -- Vo(prog)
357        0.1001 (0x09): 900+100*9 = 1800 mV
358    memldo_swmod
359        0 (0x0): linear_reg
36027 MEMLDOENA = 0x21 -- MEMLDO output enable (STANDBY)
361    memldo_on
362        1 (0x1): on
363    memldo_p1c
364        0 (0x0): off
365    memldo_p2c
366        0 (0x0): off
367    memldo_p3c
368        0 (0x0): off
369    memldo_ena_act -- selects activation phase
370        10 (0x2): actph3
37128 LEDOUT = 0x3f -- LED output voltage select (STANDBY)
372    led_out -- Iled = Vledfb/Rsense
373        11.1111 (0x3f): 1250mV
37429 LEDENA = 0x02 -- LED output enable (STANDBY)
375    led_on
376        0 (0x0): off
377    led_p1c
378        1 (0x1): on_gpio1 -- ON when GPIO1 = 1
379    led_p2c
380        0 (0x0): off
381    led_p3c
382        0 (0x0): off
383    led_ena_act -- selects activation phase
384        00 (0x0): actph1
3852a LEDCTL = 0x05 -- LED control (STANDBY)
386    led_ovpon -- overvoltage protection
387        1 (0x1)
388    led_ovprs -- reset overvoltage protection
389        0 (0x0)
390    led_ocp -- OCP limit
391        1 (0x1): 500mA
3922b LEDDIM = 0x05 -- LED ramp control (STANDBY)
393    led_dimstep -- tdimstep=16*led_dimstep/32768s
394        0000.0101 (0x05): 0+488*5 = 2440 us
3952d LDO1OUT = 0x13 -- LDO1 output voltage select (STANDBY)
396    reg_out -- Vo(prog)
397        1.0011 (0x13): 900+100*19 = 2800 mV
398    reg_swmod
399        0 (0x0): linear_reg
4002e LDO1ENA = 0x02 -- LDO1 output enable (STANDBY)
401    ldo1_on
402        0 (0x0): off
403    ldo1_p1c
404        1 (0x1): on_gpio1 -- ON when GPIO1 = 1
405    ldo1_p2c
406        0 (0x0): off
407    ldo1_p3c
408        0 (0x0): off
409    ldo1_ena_act -- selects activation phase
410        00 (0x0): actph1
4112f LDO2OUT = 0x18 -- LDO2 output voltage select (STANDBY)
412    reg_out -- Vo(prog)
413        1.1000 (0x18): 900+100*24 = 3300 mV
414    reg_swmod
415        0 (0x0): linear_reg
41630 LDO2ENA = 0x02 -- LDO2 output enable (STANDBY)
417    ldo2_on
418        0 (0x0): off
419    ldo2_p1c
420        1 (0x1): on_gpio1 -- ON when GPIO1 = 1
421    ldo2_p2c
422        0 (0x0): off
423    ldo2_p3c
424        0 (0x0): off
425    ldo2_ena_act -- selects activation phase
426        00 (0x0): actph1
42731 LDO3OUT = 0x15 -- LDO3 output voltage select (STANDBY)
428    reg_out -- Vo(prog)
429        1.0101 (0x15): 900+100*21 = 3000 mV
430    reg_swmod
431        0 (0x0): linear_reg
43232 LDO3ENA = 0x30 -- LDO3 output enable (STANDBY)
433    ldo3_on
434        0 (0x0): off
435    ldo3_p1c
436        0 (0x0): off
437    ldo3_p2c
438        0 (0x0): off
439    ldo3_p3c
440        0 (0x0): off
441    ldo3_ena_act -- selects activation phase
442        11 (0x3): actph4
44333 LDO4OUT = 0x17 -- LDO4 output voltage select (STANDBY)
444    reg_out -- Vo(prog)
445        1.0111 (0x17): 900+100*23 = 3200 mV
446    reg_swmod
447        0 (0x0): linear_reg
44834 LDO4ENA = 0x00 -- LDO4 output enable (STANDBY)
449    ldo4_on
450        0 (0x0): off
451    ldo4_p1c
452        0 (0x0): off
453    ldo4_p2c
454        0 (0x0): off
455    ldo4_p3c
456        0 (0x0): off
457    ldo4_ena_act -- selects activation phase
458        00 (0x0): actph1
45935 LDO5OUT = 0x15 -- LDO5 output voltage select (STANDBY)
460    reg_out -- Vo(prog)
461        1.0101 (0x15): 900+100*21 = 3000 mV
462    reg_swmod
463        0 (0x0): linear_reg
46436 LDO5ENA = 0x00 -- LDO5 output enable (STANDBY)
465    ldo5_on
466        0 (0x0): off
467    ldo5_p1c
468        0 (0x0): off
469    ldo5_p2c
470        0 (0x0): off
471    ldo5_p3c
472        0 (0x0): off
473    ldo5_ena_act -- selects activation phase
474        00 (0x0): actph1
47537 LDO6OUT = 0x15 -- LDO6 output voltage select (STANDBY)
476    reg_out -- Vo(prog)
477        1.0101 (0x15): 900+100*21 = 3000 mV
478    reg_swmod
479        0 (0x0): linear_reg
48038 LDO6ENA = 0x02 -- LDO6 output enable (STANDBY)
481    ldo6_on
482        0 (0x0): off
483    ldo6_p1c
484        1 (0x1): on_gpio1 -- ON when GPIO1 = 1
485    ldo6_p2c
486        0 (0x0): off
487    ldo6_p3c
488        0 (0x0): off
489    ldo6_ena_act -- selects activation phase
490        00 (0x0): actph1
49139 HCLDOOUT = 0x12 -- HCLDO output voltage select (STANDBY)
492    reg_out -- Vo(prog)
493        1.0010 (0x12): 900+100*18 = 2700 mV
494    reg_swmod
495        0 (0x0): linear_reg
4963a HCLDOENA = 0x01 -- HCLDO output enable (STANDBY)
497    hcldo_on
498        1 (0x1): on
499    hcldo_p1c
500        0 (0x0): off
501    hcldo_p2c
502        0 (0x0): off
503    hcldo_p3c
504        0 (0x0): off
505    hcldo_ena_act -- selects activation phase
506        00 (0x0): actph1
5073b STBYCTL1 = 0x00 -- LDO Standby control
508    ldo1_ena_stb -- LDO1 in ON in Standby
509        0 (0x0)
510    ldo2_ena_stb -- LDO2 in ON in Standby
511        0 (0x0)
512    ldo3_ena_stb -- LDO3 in ON in Standby
513        0 (0x0)
514    ldo4_ena_stb -- LDO4 in ON in Standby
515        0 (0x0)
5163c STBYCTL2 = 0x00 -- LDO Standby control
517    ldo5_ena_stb -- LDO5 in ON in Standby
518        0 (0x0)
519    ldo6_ena_stb -- LDO6 in ON in Standby
520        0 (0x0)
521    hcldo_ena_stb -- HCLDO in ON in Standby
522        0 (0x0)
523    memldo_ena_stb -- MEMLDO in ON in Standby
524        0 (0x0)
5253d DEBPF1 = 0xff -- Power fail debounce 1
526    auto_debpf -- AUTO power failure debounce time
527        11 (0x3): 100ms
528    down1_debpf -- DOWN1 power failure debounce time
529        11 (0x3): 100ms
530    down2_debpf -- DOWN2 power failure debounce time
531        11 (0x3): 100ms
532    led_debpf -- LED power failure debounce time
533        11 (0x3): 100ms
5343e DEBPF2 = 0x3f -- Power fail debounce 2
535    ldo1_debpf -- LDO1 power failure debounce time
536        11 (0x3): 100ms
537    ldo2_debpf -- LDO2 power failure debounce time
538        11 (0x3): 100ms
539    ldo3_debpf -- LDO3 power failure debounce time
540        11 (0x3): 100ms
541    ldo4_debpf -- LDO4 power failure debounce time
542        00 (0x0): none
5433f DEBPF3 = 0x00 -- Power fail debounce 3
544    ldo5_debpf -- LDO5 power failure debounce time
545        00 (0x0): none
546    ldo6_debpf -- LDO6 power failure debounce time
547        00 (0x0): none
548    hcldo_debpf -- HCLDO power failure debounce time
549        00 (0x0): none
55040 HCLDOOVL = 0x00 -- HCLDO overload protection
551    hcldo_debovl -- overload detecton debounce time
552        00 (0x0): none
55341 DCDCSTAT = 0x17 -- DC-to-DC converter status
554    auto_pwrok -- AUTO > 90% of target
555        1 (0x1)
556    down1_pwrok -- DOWN1 > 90% of target
557        1 (0x1)
558    down2_pwrok -- DOWN2 > 90% of target
559        1 (0x1)
560    led_pwrok -- LED > 90% of target
561        0 (0x0)
56242 LDOSTAT = 0x63 -- LDO status
563    ldo1_pwrok -- LDO1 > 90% of target
564        1 (0x1)
565    ldo2_pwrok -- LDO2 > 90% of target
566        1 (0x1)
567    ldo3_pwrok -- LDO3 > 90% of target
568        0 (0x0)
569    ldo4_pwrok -- LDO4 > 90% of target
570        0 (0x0)
571    ldo5_pwrok -- LDO5 > 90% of target
572        0 (0x0)
573    ldo6_pwrok -- LDO6 > 90% of target
574        1 (0x1)
575    hcldo_pwrok -- HCLDO > 90% of target
576        1 (0x1)
577    hcldo_ovl -- HCLDO is in overload mode
578        0 (0x0)
57943 MBCC1 = 0xe3 -- MBC charger control 1
580    chgena -- charger enabled
581        1 (0x1)
582    autostop -- stop charging when current falls below cutoffcur
583        1 (0x1)
584    autores -- resume charging then Vbat < Vth(RES), 96% of vmax
585        0 (0x0)
586    resume -- resume if in Battery Full
587        0 (0x0)
588    restart -- restart if in Halt
589        0 (0x0)
590    prewdtime -- maximum charging time during Precharge phase
591        1 (0x1): 60min
592    wdtime -- maximum charging time after Precharge phase
593        11 (0x3): 6h
59444 MBCC2 = 0x28 -- MBC charger control 2
595    vbatcond
596        00 (0x0): 2_7V
597    vmax -- Vbat(float)prog
598        1010 (0xa): 4000+20*10 = 4200 mV
599    vresdebtime -- debounce time for Vth(RES)
600        0 (0x0): 32s
60145 MBCC3 = 0x19 -- MBC charger control 3
602    prechgcur -- pre-charge current level, N/255*Ich(ref)
603        0001.1001 (0x19)
60446 MBCC4 = 0xff -- MBC charger control 4
605    fstchgcur1 -- fast charge current level in adapter Fast Charge phase, N/255*Ich(ref)
606        1111.1111 (0xff)
60747 MBCC5 = 0xff -- MBC charger control 5
608    fstchgcur2 -- fast charge current level in USB Fast Charge phase, N/255*Ich(ref)
609        1111.1111 (0xff)
61048 MBCC6 = 0x00 -- MBC charger control 6
611    cutoffcur -- cutoff current level (full in CV), 1/32*Ichg
612        0.0000 (0x00)
61349 MBCC7 = 0x01 -- MBC charger control 7
614    usbdevstat -- USB device status setting (STANDBY)
615        01 (0x1): 500mA
616    batttempena -- battery temperature is measured and impacts the MBC state machine
617        0 (0x0)
618    batsysimax -- maximum BAT-SYS current when ideal diode is conducting
619        00 (0x0): 1_6A
6204a MBCC8 = 0x00 -- MBC charger control 8
621    ntclvt -- NTC voltage level for battery high temperature threshold
622        0000 (0x0): 600+50*0 = 600 mV
623    usbenasus -- USB-SYS switch enabled in USB suspend, ideal diode disabled
624        0 (0x0)
6254b MBCS1 = 0x31 -- MBC charger status 1
626    usbpres -- Vusb > Vth(usbpres)
627        1 (0x1)
628    usbok -- Vusb > Vbat+dVusbok
629        0 (0x0)
630    adaptpres -- Vadaptsns > Vth(adaptpres)
631        0 (0x0)
632    adaptok -- Vsys > Vbat+dVadaptok
633        0 (0x0)
634    tbatstat -- battery temperature status indication
635        11 (0x3): undefined
636    prewdtexp -- watchdog timer expired during pre-charging
637        0 (0x0)
638    wdtexp -- watchdog timer expired after pre-charging
639        0 (0x0)
6404c MBCS2 = 0x20 -- MBC charger status 2
641    mbcmod -- main MBC operating modes and charge phases
642        0000 (0x0): play_only
643    chgstat -- charger connection status
644        10 (0x2): usb
645    resstat -- charging has resumed automatically
646        0 (0x0)
6474d MBCS3 = 0x50 -- MBC charger status 3
648    usblim_play -- USB current limiting in USB-to-SYS path
649        0 (0x0)
650    usblim_chg -- USB current limiting in USB-to-BAT path
651        0 (0x0)
652    tlim_play -- temperature limiting in USB-to-SYS path
653        0 (0x0)
654    tlim_chg -- temperature limiting in USB-to-BAT or SYS-BAT path
655        0 (0x0)
656    ilim -- battery charge current > cutoffcur level
657        1 (0x1)
658    vlim -- battery voltage equals vmax level
659        0 (0x0)
660    vbatstat -- battery voltage > Vbatcond
661        1 (0x1)
662    vres -- battery voltage > Vth(RES)
663        0 (0x0)
6644e BBCCTL = 0x19 -- Backup battery charger control
665    bbce -- enable backup battery charger (STANDBY)
666        1 (0x1)
667    bbcr -- bypass output resistor
668        0 (0x0)
669    bbcc -- backup battery charge current, Ich(BUBAT)
670        10 (0x2): 200uA
671    bbcv -- limiting voltage for backup battery charger Vlim(BUBAT)
672        1 (0x1): 3_0V
6734f ALMGAIN = 0x00 -- Ambient lighting gain factor (STANDBY)
674    alm_gain -- ambient light processing gain factor
675        0.0000 (0x00)
67650 ALMDATA = 0x00 -- Ambient light intensity data (STANDBY)
677    alm_data
678        0000.0000 (0x00)
67952 ADCC3 = 0x00 -- A/C converter control 3
680    accswen -- enable biasing for ratiometric measurement on ADCIN1
681        0 (0x0)
682    ntcswen -- enable biasing for ratiometric measurement on BATTEMP
683        0 (0x0)
684    adcdivsel -- resistive divider type
685        0 (0x0): by_3
68653 ADCC2 = 0x00 -- A/C converter control 2
687    adcratioen -- ratiometric measurement
688        00 (0x0): none -- no ratiometric mode measurement
689    adcratioset -- ratiometric settling time
690        0 (0x0): 10us
69154 ADCC1 = 0x7e -- A/D converter control 1
692    adcstart -- ADC conversion start command
693        0 (0x0)
694    adcres -- ADC resolution
695        1 (0x1): 8bit
696    adc_av -- measurement averaging
697        11 (0x3): 16_samples
698    adcinmux -- ADC input selection
699        0111 (0x7): adcin1 -- ADCIN1
70055 ADCS1 = 0x0b -- A/D converter status 1
701    adcdat1h -- 8 most significant bits of the (first) ADC result
702        0000.1011 (0x0b)
70356 ADCS2 = 0x00 -- A/D converter status 2
704    adcdat2h -- 8 most significant bits of the second ADC result
705        0000.0000 (0x00)
70657 ADCS3 = 0xf1 -- A/D converter status 3
707    adcdat1l -- 2 least significant bits of the (first) ADC result
708        01 (0x1)
709    adcdat2l -- 2 least significant bits of the second ADC result
710        00 (0x0)
711    adcrefmux -- ADC reference selection
712        111 (0x7): 2_0V_again
713    adcrdy -- ADC conversion is completed
714        1 (0x1)
71559 RTCSC = 0x39 -- RTC second value
716    sec -- current seconds, BCD
717        011.1001 (0x39)
7185a RTCMN = 0x54 -- RTC minute value
719    min -- current minutes, BCD
720        101.0100 (0x54)
7215b RTCHR = 0x08 -- RTC hour value
722    hour -- current hours, BCD
723        00.1000 (0x08)
7245c RTCWD = 0x00 -- RTC day-of-week value
725    wkday -- current day-of-week
726        000 (0x0): sun
7275d RTCDT = 0x13 -- RTC day value
728    day -- current day value, BCD, 01-based
729        1.0011 (0x13)
7305e RTCMT = 0x00 -- RTC month value
731    month -- current month value
732        0.0000 (0x00): RESERVED
7335f RTCYR = 0x09 -- RTC year value
734    year -- current year, BCD
735        0000.1001 (0x09)
73660 RTCSCA = 0x7f -- RTC second alarm value
737    seca -- alarm seconds, BCD
738        111.1111 (0x7f)
73961 RTCMNA = 0x7f -- RTC minute alarm value
740    mina -- alarm minutes, BCD
741        111.1111 (0x7f)
74262 RTCHRA = 0x3f -- RTC hour alarm value
743    houra -- alarm hours, BCD
744        11.1111 (0x3f)
74563 RTCWDA = 0x07 -- RTC weekday alarm value
746    wkdaya -- alarm day-of-week
747        111 (0x7): RESERVED
74864 RTCDTA = 0x3f -- RTC day alarm value
749    daya -- alarm day value, BCD, 01-based
750        1.1111 (0x1f)
75165 RTCMTA = 0x1f -- RTC month alarm value
752    montha -- alarm month value
753        1.1111 (0x1f): RESERVED
75466 RTCYRA = 0xff -- RTC year alarm value
755    yeara -- alarm year, BCD
756        1111.1111 (0xff)
75767 MEMBYTE0 = 0x00 -- General purpose memory byte 0
758    membyte0
759        0000.0000 (0x00)
76068 MEMBYTE1 = 0x00 -- General purpose memory byte 1
761    membyte1
762        0000.0000 (0x00)
76369 MEMBYTE2 = 0x00 -- General purpose memory byte 2
764    membyte2
765        0000.0000 (0x00)
7666a MEMBYTE3 = 0x00 -- General purpose memory byte 3
767    membyte3
768        0000.0000 (0x00)
7696b MEMBYTE4 = 0x00 -- General purpose memory byte 4
770    membyte4
771        0000.0000 (0x00)
7726c MEMBYTE5 = 0x00 -- General purpose memory byte 5
773    membyte5
774        0000.0000 (0x00)
7756d MEMBYTE6 = 0x00 -- General purpose memory byte 6
776    membyte6
777        0000.0000 (0x00)
7786e MEMBYTE7 = 0x00 -- General purpose memory byte 7
779    membyte7
780        0000.0000 (0x00)