diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/common/usb_util.h b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/common/usb_util.h index 0c46dbcb8..67f1f9c4c 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/common/usb_util.h +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/common/usb_util.h @@ -204,4 +204,7 @@ 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 +#define upper_32_bits(n) ((uint32_t)(((n) >> 16) >> 16)) +#define lower_32_bits(n) ((uint32_t)(n)) + #endif