Alessandro Angelino / target-mcu-k64f

Fork of target-mcu-k64f by Morpheus

Embed: (wiki syntax)

« Back to documentation index

_hw_usbdcd_timer0 Union Reference

_hw_usbdcd_timer0 Union Reference

HW_USBDCD_TIMER0 - TIMER0 register (RW) More...

#include <MK64F12_usbdcd.h>


Detailed Description

HW_USBDCD_TIMER0 - TIMER0 register (RW)

Reset value: 0x00100000U

TIMER0 has an TSEQ_INIT field that represents the system latency in ms. Latency is measured from the time when VBUS goes active until the time system software initiates charger detection sequence in USBDCD module. When software sets the CONTROL[START] bit, the Unit Connection Timer (TUNITCON) is initialized with the value of TSEQ_INIT. Valid values are 0-1023, however the USB Battery Charging Specification requires the entire sequence, including TSEQ_INIT, to be completed in 1s or less.

Definition at line 538 of file MK64F12_usbdcd.h.