USB Registers
16.5.4.5 CHRG_DET Register (offset = 14h) [reset = 0h]
CHRG_DET is shown in
and described in
.
this is the charger detect register. this register is not used in the dead battery case.
Figure 16-138. CHRG_DET Register
31
30
29
28
27
26
25
24
Reserved
USE_CHG_DET_RE
DIS_CHG_DET
SRC_ON_DM
SINK_ON_DP
CHG_DET_EXT_CTL RESTART_CHG_DET
G
R/W-0h
R/W-0h
R/W-0h
R/W-0h
R/W-0h
R/W-0h
R/W-0h
23
22
21
20
19
18
17
16
CHG_DET_DONE
CHG_DETECTED
DATA_DET
Reserved
CHG_ISINK_EN
CHG_VSRC_EN
COMP_DP
R-0h
R-0h
R-0h
R/W-0h
R/W-0h
R/W-0h
R-0h
15
14
13
12
11
10
9
8
COMP_DM
CHG_DET_OSC_CNTRL
CHG_DET_TIMER
R-0h
R/W-0h
R/W-0h
7
6
5
4
3
2
1
0
CHG_DET_TIMER
Reserved
CHG_DET_ICTRL
CHG_DET_VCTRL
FOR_CE
R/W-0h
R/W-0h
R/W-0h
R/W-0h
R/W-0h
LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset
Table 16-149. CHRG_DET Register Field Descriptions
Bit
Field
Type
Reset
Description
31-30
Reserved
R/W
0h
29
USE_CHG_DET_REG
R/W
0h
Use bits
28-24 and
18-17 from this register
28
DIS_CHG_DET
R/W
0h
When read, returns current value of charger detect input.
When USE_CHG_DET_REG = 1 , the value written to this field
overrides the corresponding charger detect input.
27
SRC_ON_DM
R/W
0h
When read, returns current value of charger detect input.
When USE_CHG_DET_REG = 1 , the value written to this field
overrides the corresponding charger detect input.
26
SINK_ON_DP
R/W
0h
When read, returns current value of charger detect input.
When USE_CHG_DET_REG = 1 , the value written to this field
overrides the corresponding charger detect input.
25
CHG_DET_EXT_CTL
R/W
0h
When read, returns current value of charger detect input.
When USE_CHG_DET_REG = 1 , the value written to this field
overrides the corresponding charger detect input.
24
RESTART_CHG_DET
R/W
0h
Restart the charger detection protocol when this goes from 0 to 1
23
CHG_DET_DONE
R
0h
Charger detect protocol has completed
22
CHG_DETECTED
R
0h
Same signal as CE
21
DATA_DET
R
0h
Output of the data det comparator
20-19
Reserved
R/W
0h
18
CHG_ISINK_EN
R/W
0h
When read, returns current value of charger detect input.
When USE_CHG_DET_REG = 1 , the value written to this field
overrides the corresponding charger detect input.
17
CHG_VSRC_EN
R/W
0h
When read, returns current value of charger detect input.
When USE_CHG_DET_REG = 1 , the value written to this field
overrides the corresponding charger detect input.
16
COMP_DP
R
0h
Comparator on the DP line value
15
COMP_DM
R
0h
Comparator on the DM line value
14-13
CHG_DET_OSC_CNTRL
R/W
0h
Charger detect osc control
1908
Universal Serial Bus (USB)
SPRUH73H – October 2011 – Revised April 2013
Copyright © 2011–2013, Texas Instruments Incorporated