esp_idf_hal::sys

Constant hal_utils_div_round_opt_t_HAL_DIV_ROUND

Source
pub const hal_utils_div_round_opt_t_HAL_DIV_ROUND: u32 = 2; // 2u32
Expand description

< Round the division to the nearest integer (round up if fraction >= 1/2, round down if fraction < 1/2)