Skip to main content
← PSoXide SDK guides and examples · SDK 80d1c329e977 · All Cargo features enabled; check feature gates before use.

set_size

Function set_size 

Source
pub unsafe fn set_size(ch: Channel, value: u32)
Expand description

Write the channel’s size register.

§Safety

As set_address: the count sets the extent of the next transfer.

In block sync (CHCR_SYNC_BLOCK) silicon decrements the block count as blocks finish, so this store arms exactly one kick: write it again before each later block-sync kick, or the second runs 65,536 blocks.