Type Alias rp2040_pac::sio::DIV_REMAINDER

source ·
pub type DIV_REMAINDER = Reg<DIV_REMAINDER_SPEC>;
Expand description

DIV_REMAINDER (rw) register accessor: Divider result remainder
The result of DIVIDEND % DIVISOR (modulo). Contents undefined while CSR_READY is low.
For signed calculations, REMAINDER is negative only when DIVIDEND is negative.
This register can be written to directly, for context save/restore purposes. This halts any
in-progress calculation and sets the CSR_READY and CSR_DIRTY flags.

You can read this register and get div_remainder::R. You can reset, write, write_with_zero this register using div_remainder::W. You can also modify this register. See API.

For information about available fields see div_remainder module

Aliased Type§

struct DIV_REMAINDER { /* private fields */ }