pub const fn size_blocks(block_size: u16, block_count: u16) -> u32Expand description
Size word for block sync: block_count blocks of block_size words.
A zero field means 0x1_0000 on silicon, so a zero count is a 65,536-block
transfer, not an empty one. The same goes for a count the controller has
already counted down: silicon decrements the block field as blocks finish
and leaves 0 behind, so the value is spent by the kick it armed. Store a
fresh one before every block-sync kick (start does).