21.4.33 USB0CDSTA: USB0 Charger Detect Status
Bit
7
6
5
4
3
2
1
0
Name
ERR
SDP
CDP
DCP
SDI
PDI
DCDI
DCDTO
Access
RW
RW
RW
RW
RW
RW
RW
RW
Reset
0
0
0
0
0
0
0
0
SFR Page = 0x20; SFR Address: 0xBF
Bit
Name
Reset
Access Description
7
ERR
0
RW
USB Charger Detection Error.
This bit indicates that an error occurred during the charger detect sequence. This bit will be set if the VBUS signal is dis-
connected while the charger detect circuit is active.
Value
Name
Description
0
NO_ERROR
No error has occurred.
1
ERROR
An error has occurred. If enabled, a USB charger detect interrupt will
be triggered. This bit must be cleared by firmware.
6
SDP
0
RW
Standard Downstream Port Detected.
This bit is set at the completion of a primary detection phase if a Standard Downstream Port has been deteted.
5
CDP
0
RW
Charging Downstream Port Detected.
This bit is set at the completion of a secondary detection phase if a Chargring Downstream Port has been deteted.
4
DCP
0
RW
Dedicated Charging Port Detected.
This bit is set at the completion of a secondary detection phase if a Dedicated Chargring Port has been deteted.
3
SDI
0
RW
Secondary Detection Complete.
This bit is set at the completion of a SD operation.
Value
Name
Description
0
NOT_SET
SD operation has not completed.
1
SET
SD operation has completed. If SDIE is set to 1 a charger detect inter-
rupt may be generated. This flag must be cleared by firmware.
2
PDI
0
RW
Primary Detection Complete.
This bit is set at the completion of a PD operation.
Value
Name
Description
0
NOT_SET
PD operation has not completed.
1
SET
PD operation has completed. If PDIE is set to 1 a charger detect inter-
rupt may be generated. This flag must be cleared by firmware.
1
DCDI
0
RW
Data Contact Detect Complete.
This bit is set at the completion of a DCD operation. The DCDTO bit will indicate whether the DCD operation timed out.
Value
Name
Description
0
NOT_SET
DCD operation has not completed.
EFM8UB3 Reference Manual
Universal Serial Bus (USB0)
silabs.com
| Building a more connected world.
Rev. 0.2 | 353