Dear
Is there some on can tell me where I can find the usage of " MSEC_TO_UNITS".
Thanks,
DI-SHENG
Dear
Is there some on can tell me where I can find the usage of " MSEC_TO_UNITS".
Thanks,
DI-SHENG
Hi
What do you mean about "usage" exactly? The MSEC_TO_UNITS is used most of our example projects to convert milliseconds to ticks. MSEC_TO_UNITS is defined in app_util.h as the following:
/**@brief Macro for converting milliseconds to ticks. * * @param[in] TIME Number of milliseconds to convert. * @param[in] RESOLUTION Unit to be converted to in [us/ticks]. */ #define MSEC_TO_UNITS(TIME, RESOLUTION) (((TIME) * 1000) / (RESOLUTION))
Best regards,
Simon
Hi
What do you mean about "usage" exactly? The MSEC_TO_UNITS is used most of our example projects to convert milliseconds to ticks. MSEC_TO_UNITS is defined in app_util.h as the following:
/**@brief Macro for converting milliseconds to ticks. * * @param[in] TIME Number of milliseconds to convert. * @param[in] RESOLUTION Unit to be converted to in [us/ticks]. */ #define MSEC_TO_UNITS(TIME, RESOLUTION) (((TIME) * 1000) / (RESOLUTION))
Best regards,
Simon