MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches

CONTROL - Control

#define USBDCD_CONTROL_IACK_MASK
#define USBDCD_CONTROL_IACK_SHIFT
#define USBDCD_CONTROL_IACK(x)
#define USBDCD_CONTROL_IF_MASK
#define USBDCD_CONTROL_IF_SHIFT
#define USBDCD_CONTROL_IF(x)
#define USBDCD_CONTROL_IE_MASK
#define USBDCD_CONTROL_IE_SHIFT
#define USBDCD_CONTROL_IE(x)
#define USBDCD_CONTROL_BC12_MASK
#define USBDCD_CONTROL_BC12_SHIFT
#define USBDCD_CONTROL_BC12(x)
#define USBDCD_CONTROL_START_MASK
#define USBDCD_CONTROL_START_SHIFT
#define USBDCD_CONTROL_START(x)
#define USBDCD_CONTROL_SR_MASK
#define USBDCD_CONTROL_SR_SHIFT
#define USBDCD_CONTROL_SR(x)

CLOCK - Clock

#define USBDCD_CLOCK_CLOCK_UNIT_MASK
#define USBDCD_CLOCK_CLOCK_UNIT_SHIFT
#define USBDCD_CLOCK_CLOCK_UNIT(x)
#define USBDCD_CLOCK_CLOCK_SPEED_MASK
#define USBDCD_CLOCK_CLOCK_SPEED_SHIFT
#define USBDCD_CLOCK_CLOCK_SPEED(x)

STATUS - Status

#define USBDCD_STATUS_SEQ_RES_MASK
#define USBDCD_STATUS_SEQ_RES_SHIFT
#define USBDCD_STATUS_SEQ_RES(x)
#define USBDCD_STATUS_SEQ_STAT_MASK
#define USBDCD_STATUS_SEQ_STAT_SHIFT
#define USBDCD_STATUS_SEQ_STAT(x)
#define USBDCD_STATUS_ERR_MASK
#define USBDCD_STATUS_ERR_SHIFT
#define USBDCD_STATUS_ERR(x)
#define USBDCD_STATUS_TO_MASK
#define USBDCD_STATUS_TO_SHIFT
#define USBDCD_STATUS_TO(x)
#define USBDCD_STATUS_ACTIVE_MASK
#define USBDCD_STATUS_ACTIVE_SHIFT
#define USBDCD_STATUS_ACTIVE(x)

SIGNAL_OVERRIDE - Signal Override

#define USBDCD_SIGNAL_OVERRIDE_PS_MASK
#define USBDCD_SIGNAL_OVERRIDE_PS_SHIFT
#define USBDCD_SIGNAL_OVERRIDE_PS(x)

TIMER0 - TIMER0

#define USBDCD_TIMER0_TUNITCON_MASK
#define USBDCD_TIMER0_TUNITCON_SHIFT
#define USBDCD_TIMER0_TUNITCON(x)
#define USBDCD_TIMER0_TSEQ_INIT_MASK
#define USBDCD_TIMER0_TSEQ_INIT_SHIFT
#define USBDCD_TIMER0_TSEQ_INIT(x)

TIMER1 - TIMER1

#define USBDCD_TIMER1_TVDPSRC_ON_MASK
#define USBDCD_TIMER1_TVDPSRC_ON_SHIFT
#define USBDCD_TIMER1_TVDPSRC_ON(x)
#define USBDCD_TIMER1_TDCD_DBNC_MASK
#define USBDCD_TIMER1_TDCD_DBNC_SHIFT
#define USBDCD_TIMER1_TDCD_DBNC(x)

TIMER2_BC11 - TIMER2_BC11

#define USBDCD_TIMER2_BC11_CHECK_DM_MASK
#define USBDCD_TIMER2_BC11_CHECK_DM_SHIFT
#define USBDCD_TIMER2_BC11_CHECK_DM(x)
#define USBDCD_TIMER2_BC11_TVDPSRC_CON_MASK
#define USBDCD_TIMER2_BC11_TVDPSRC_CON_SHIFT
#define USBDCD_TIMER2_BC11_TVDPSRC_CON(x)

TIMER2_BC12 - TIMER2_BC12

#define USBDCD_TIMER2_BC12_TVDMSRC_ON_MASK
#define USBDCD_TIMER2_BC12_TVDMSRC_ON_SHIFT
#define USBDCD_TIMER2_BC12_TVDMSRC_ON(x)
#define USBDCD_TIMER2_BC12_TWAIT_AFTER_PRD_MASK
#define USBDCD_TIMER2_BC12_TWAIT_AFTER_PRD_SHIFT
#define USBDCD_TIMER2_BC12_TWAIT_AFTER_PRD(x)

Detailed Description

Macro Definition Documentation

◆ USBDCD_CONTROL_IACK

#define USBDCD_CONTROL_IACK ( x)

IACK - Interrupt Acknowledge 0b0..Do not clear the interrupt. 0b1..Clear the IF field (interrupt flag).

◆ USBDCD_CONTROL_IF

#define USBDCD_CONTROL_IF ( x)

IF - Interrupt Flag 0b0..No interrupt is pending. 0b1..An interrupt is pending.

◆ USBDCD_CONTROL_IE

#define USBDCD_CONTROL_IE ( x)

IE - Interrupt Enable 0b0..Disable interrupts to the system. 0b1..Enable interrupts to the system.

◆ USBDCD_CONTROL_BC12

#define USBDCD_CONTROL_BC12 ( x)

BC12 - Battery Charging Revision 1.2 Compatibility 0b0..Compatible with BC1.1 0b1..Compatible with BC1.2 (default)

◆ USBDCD_CONTROL_START

#define USBDCD_CONTROL_START ( x)

START - Start Change Detection Sequence 0b0..Do not start the sequence. Writes of this value have no effect. 0b1..Initiate the charger detection sequence. If the sequence is already running, writes of this value have no effect.

◆ USBDCD_CONTROL_SR

#define USBDCD_CONTROL_SR ( x)

SR - Software Reset 0b0..Do not perform a software reset. 0b1..Perform a software reset.

◆ USBDCD_CLOCK_CLOCK_UNIT

#define USBDCD_CLOCK_CLOCK_UNIT ( x)

CLOCK_UNIT - Unit of Measurement Encoding for Clock Speed 0b0..kHz Speed (between 4 kHz and 1023 kHz) 0b1..MHz Speed (between 1 MHz and 1023 MHz)

◆ USBDCD_CLOCK_CLOCK_SPEED

#define USBDCD_CLOCK_CLOCK_SPEED ( x)

CLOCK_SPEED - Numerical Value of Clock Speed in Binary

◆ USBDCD_STATUS_SEQ_RES

#define USBDCD_STATUS_SEQ_RES ( x)

SEQ_RES - Charger Detection Sequence Results 0b00..No results to report. 0b01..Attached to an SDP. Must comply with USB 2.0 by drawing only 2.5 mA (max) until connected. 0b10..Attached to a charging port. The exact meaning depends on the STATUS[SEQ_STAT] field (value 0: Attached to either a CDP or a DCP. The charger type detection has not completed. value 1: Attached to a CDP. The charger type detection has completed.) 0b11..Attached to a DCP.

◆ USBDCD_STATUS_SEQ_STAT

#define USBDCD_STATUS_SEQ_STAT ( x)

SEQ_STAT - Charger Detection Sequence Status 0b00..The module is either not enabled, or the module is enabled but the data pins have not yet been detected. 0b01..Data pin contact detection is complete. 0b10..Charging port detection is complete. 0b11..Charger type detection is complete.

◆ USBDCD_STATUS_ERR

#define USBDCD_STATUS_ERR ( x)

ERR - Error Flag 0b0..No sequence errors. 0b1..Error in the detection sequence.

◆ USBDCD_STATUS_TO

#define USBDCD_STATUS_TO ( x)

TO - Timeout Flag 0b0..The detection sequence is not running for over 1 s. 0b1..It is over 1 s since the data pin contact was detected and debounced.

◆ USBDCD_STATUS_ACTIVE

#define USBDCD_STATUS_ACTIVE ( x)

ACTIVE - Active Status Indicator 0b0..The sequence is not running. 0b1..The sequence is running.

◆ USBDCD_SIGNAL_OVERRIDE_PS

#define USBDCD_SIGNAL_OVERRIDE_PS ( x)

PS - Phase Selection 0b000..No overrides. Field must remain at this value during normal USB data communication to prevent unexpected conditions on USB_DP and USB_DM pins. (Default) 0b001..Reserved, not for customer use. 0b010..Enables VDP_SRC voltage source for the USB_DP pin and IDM_SINK current source for the USB_DM pin. 0b011..Reserved, not for customer use. 0b100..Enables VDM_SRC voltage source only. 0b101..Reserved, not for customer use. 0b110..Reserved, not for customer use. 0b111..Reserved, not for customer use.

◆ USBDCD_TIMER0_TUNITCON

#define USBDCD_TIMER0_TUNITCON ( x)

TUNITCON - Unit Connection Timer Elapse (in ms)

◆ USBDCD_TIMER0_TSEQ_INIT

#define USBDCD_TIMER0_TSEQ_INIT ( x)

TSEQ_INIT - Sequence Initiation Time 0b0000000000-0b1111111111..0 ms - 1023 ms

◆ USBDCD_TIMER1_TVDPSRC_ON

#define USBDCD_TIMER1_TVDPSRC_ON ( x)

TVDPSRC_ON - Time Period Comparator Enabled 0b0000000001-0b1111111111..1 ms - 1023 ms

◆ USBDCD_TIMER1_TDCD_DBNC

#define USBDCD_TIMER1_TDCD_DBNC ( x)

TDCD_DBNC - Time Period to Debounce D+ Signal 0b0000000001-0b1111111111..1 ms - 1023 ms

◆ USBDCD_TIMER2_BC11_CHECK_DM

#define USBDCD_TIMER2_BC11_CHECK_DM ( x)

CHECK_DM - Time Before Check of D- Line 0b0001-0b1111..1 ms - 15 ms

◆ USBDCD_TIMER2_BC11_TVDPSRC_CON

#define USBDCD_TIMER2_BC11_TVDPSRC_CON ( x)

TVDPSRC_CON - Time Period Before Enabling D+ Pullup 0b0000000001-0b1111111111..1 ms - 1023 ms

◆ USBDCD_TIMER2_BC12_TVDMSRC_ON

#define USBDCD_TIMER2_BC12_TVDMSRC_ON ( x)

TVDMSRC_ON - TVDMSRC_ON 0b0000000000-0b0000101000..0 ms - 40 ms

◆ USBDCD_TIMER2_BC12_TWAIT_AFTER_PRD

#define USBDCD_TIMER2_BC12_TWAIT_AFTER_PRD ( x)

TWAIT_AFTER_PRD - TWAIT_AFTER_PRD 0b0000000001-0b1111111111..1 ms - 1023 ms