Searched refs:addressIndex (Results 1 – 1 of 1) sorted by relevance
642 uint8_t addressIndex; in USB_HostAllocateDeviceAddress() local644 …for (addressIndex = 0U; addressIndex < 8U; ++addressIndex) /* find the idle address position byte … in USB_HostAllocateDeviceAddress()646 if (hostInstance->addressBitMap[addressIndex] != 0xFFU) in USB_HostAllocateDeviceAddress()651 if (addressIndex < 8U) 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()