UX_MS_TO_TICK is only used within usbx.
 
Symbols
loading...
Files
loading...

UX_MS_TO_TICK macro

Syntax

#define UX_MS_TO_TICK(ms) ((ms) * (UX_PERIODIC_RATE) / 1000)

Arguments

ms

References

LocationText
ux_api.h:207
#define UX_MS_TO_TICK(ms) ((ms) * (UX_PERIODIC_RATE) / 1000)
ux_api.h:208
#define UX_MS_TO_TICK_NON_ZERO(ms) UX_MAX(1, UX_MS_TO_TICK(ms))
ux_api.h:211
#define MS_TO_TICK(ms) UX_MS_TO_TICK(ms)
ux_dcd_stm32_initialize_complete.c:147
ux_device_class_cdc_ecm_bulkout_thread.c:113
ux_device_class_hid_control_request.c:179
hid -> ux_device_class_hid_event_wait_timeout = (ULONG)UX_MS_TO_TICK((ULONG)duration << 2u);
ux_hcd_stm32_request_control_transfer.c:331
ux_host_class_storage_transport_bo.c:123
ux_host_class_storage_transport_bo.c:207
ux_host_class_storage_transport_bo.c:279
ux_host_class_storage_transport_cb.c:153
ux_host_class_storage_transport_cbi.c:155
ux_host_class_storage_transport_cbi.c:198