Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_devices.c643 uint8_t addressBitIndex; in USB_HostAllocateDeviceAddress() local
653 …for (addressBitIndex = 0U; addressBitIndex < 8U; ++addressBitIndex) /* find the idle address posit… in USB_HostAllocateDeviceAddress()
655 if (0U == (hostInstance->addressBitMap[addressIndex] & (0x01U << addressBitIndex))) in USB_HostAllocateDeviceAddress()
657 …hostInstance->addressBitMap[addressIndex] |= (0x01U << addressBitIndex); /* set the allocated bit … in USB_HostAllocateDeviceAddress()
658 …address = addressIndex * 8U + addressBitIndex + 1U; /* the address minimum is… in USB_HostAllocateDeviceAddress()