Skip to main content

snap_block_height_cells

Function snap_block_height_cells 

Source
pub fn snap_block_height_cells(cells: u32) -> u32
Expand description

snap_block_height expressed in whole grid cells — the form a block’s inner.size.h stores. The minimum is 4 cells (2 * PIN_TOP_MARGIN) and each added slot adds PIN_PITCH_GRID cells: one of 4, 7, 10, ….