\n
address_offset : 0x0 Bytes (0x0)
size : 0x1C byte (0x0)
mem_usage : registers
protection : not protected
Control register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
IACK : Interrupt Acknowledge
bits : 0 - 0 (1 bit)
access : write-only
Enumeration:
#0 : 0
Do not clear the interrupt.
#1 : 1
Clear the IF bit (interrupt flag).
End of enumeration elements list.
IF : Interrupt Flag
bits : 8 - 8 (1 bit)
access : read-only
Enumeration:
#0 : 0
No interrupt is pending.
#1 : 1
An interrupt is pending.
End of enumeration elements list.
IE : Interrupt Enable
bits : 16 - 16 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable interrupts to the system.
#1 : 1
Enable interrupts to the system.
End of enumeration elements list.
BC12 : BC1.2 compatibility. This bit cannot be changed after start detection.
bits : 17 - 17 (1 bit)
access : read-write
Enumeration:
#0 : 0
Compatible with BC1.1 (default)
#1 : 1
Compatible with BC1.2
End of enumeration elements list.
START : Start Change Detection Sequence
bits : 24 - 24 (1 bit)
access : write-only
Enumeration:
#0 : 0
Do not start the sequence. Writes of this value have no effect.
#1 : 1
Initiate the charger detection sequence. If the sequence is already running, writes of this value have no effect.
End of enumeration elements list.
SR : Software Reset
bits : 25 - 25 (1 bit)
access : write-only
Enumeration:
#0 : 0
Do not perform a software reset.
#1 : 1
Perform a software reset.
End of enumeration elements list.
TIMER0 register
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
TUNITCON : Unit Connection Timer Elapse (in ms)
bits : 0 - 11 (12 bit)
access : read-only
TSEQ_INIT : Sequence Initiation Time
bits : 16 - 25 (10 bit)
access : read-write
TIMER1 register
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
TVDPSRC_ON : Time Period Comparator Enabled
bits : 0 - 9 (10 bit)
access : read-write
TDCD_DBNC : Time Period to Debounce D+ Signal
bits : 16 - 25 (10 bit)
access : read-write
TIMER2_BC11 register
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
alternate_register : USBDCD
reset_Mask : 0x0
CHECK_DM : Time Before Check of D- Line
bits : 0 - 3 (4 bit)
access : read-write
TVDPSRC_CON : Time Period Before Enabling D+ Pullup
bits : 16 - 25 (10 bit)
access : read-write
TIMER2_BC12 register
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
alternate_register : USBDCD
reset_Mask : 0x0
TVDMSRC_ON : Sets the amount of time (in ms) that the module enables the VDM_SRC. Valid values are 0-40ms.
bits : 0 - 9 (10 bit)
access : read-write
TWAIT_AFTER_PRD : Sets the amount of time (in ms) that the module waits after primary detection before start to secondary detection
bits : 16 - 25 (10 bit)
access : read-write
Clock register
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CLOCK_UNIT : Unit of Measurement Encoding for Clock Speed
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
kHz Speed (between 1 kHz and 1023 kHz)
#1 : 1
MHz Speed (between 1 MHz and 1023 MHz)
End of enumeration elements list.
CLOCK_SPEED : Numerical Value of Clock Speed in Binary
bits : 2 - 11 (10 bit)
access : read-write
Status register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
SEQ_RES : Charger Detection Sequence Results
bits : 16 - 17 (2 bit)
access : read-only
Enumeration:
#00 : 00
No results to report.
#01 : 01
Attached to a standard host. Must comply with USB 2.0 by drawing only 2.5 mA (max) until connected.
#10 : 10
Attached to a charging port. The exact meaning depends on bit 18: 0: Attached to either a charging host or a dedicated charger. The charger type detection has not completed. 1: Attached to a charging host. The charger type detection has completed.
#11 : 11
Attached to a dedicated charger.
End of enumeration elements list.
SEQ_STAT : Charger Detection Sequence Status
bits : 18 - 19 (2 bit)
access : read-only
Enumeration:
#00 : 00
The module is either not enabled, or the module is enabled but the data pins have not yet been detected.
#01 : 01
Data pin contact detection is complete.
#10 : 10
Charging port detection is complete.
#11 : 11
Charger type detection is complete.
End of enumeration elements list.
ERR : Error Flag
bits : 20 - 20 (1 bit)
access : read-only
Enumeration:
#0 : 0
No sequence errors.
#1 : 1
Error in the detection sequence. See the SEQ_STAT field to determine the phase in which the error occurred.
End of enumeration elements list.
TO : Timeout Flag
bits : 21 - 21 (1 bit)
access : read-only
Enumeration:
#0 : 0
The detection sequence has not been running for over 1 s.
#1 : 1
It has been over 1 s since the data pin contact was detected and debounced.
End of enumeration elements list.
ACTIVE : Active Status Indicator
bits : 22 - 22 (1 bit)
access : read-only
Enumeration:
#0 : 0
The sequence is not running.
#1 : 1
The sequence is running.
End of enumeration elements list.
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by Embeetle, an IDE designed from scratch for embedded software developers.