Home
last modified time | relevance | path

Searched refs:chargerType (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/dcd/
Dusb_hsdcd.c270 uint32_t chargerType; in USB_HSDcdIsrFunction() local
298 chargerType = status & USBHSDCD_STATUS_SEQ_RES_MASK; in USB_HSDcdIsrFunction()
299 if (chargerType == USBHSDCD_STATUS_SEQ_RES(kUSB_DcdDetectionStandardHost)) in USB_HSDcdIsrFunction()
303 else if (chargerType == USBHSDCD_STATUS_SEQ_RES(kUSB_DcdDetectionChargingPort)) in USB_HSDcdIsrFunction()
313 chargerType = status & USBHSDCD_STATUS_SEQ_RES_MASK; in USB_HSDcdIsrFunction()
314 if (chargerType == USBHSDCD_STATUS_SEQ_RES(kUSB_DcdDetectionChargingPort)) in USB_HSDcdIsrFunction()
318 else if (chargerType == USBHSDCD_STATUS_SEQ_RES(kUSB_DcdDetectionDedicatedCharger)) in USB_HSDcdIsrFunction()
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_ip3516hs.h626 uint8_t chargerType; member
Dusb_host_ip3516hs.c835 uint8_t chargerType = (uint8_t)kUSB_DcdSDP; in USB_HostIp3516HsPortChange() local
985 USB_HSDCD_Control(usbHostState->dcdHandle, kUSB_HostHSDcdSetType, &(chargerType)); in USB_HostIp3516HsPortChange()
1028 … USB_HSDCD_Control(usbHostState->dcdHandle, kUSB_HostHSDcdSetType, &(usbHostState->chargerType)); in USB_HostIp3516HsPortChange()
3486 usbHostState->chargerType = kUSB_DcdSDP; in USB_HostIp3516HsCreate()
3922 usbHostState->chargerType = *((uint8_t *)ioctlParam); in USB_HostIp3516HsIoctl()
3926 … USB_HSDCD_Control(usbHostState->dcdHandle, kUSB_HostHSDcdSetType, &(usbHostState->chargerType)); in USB_HostIp3516HsIoctl()