Module rp2040_pac::sio::div_remainder

source ·
Expand description

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.

Structs§

  • 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.

Type Aliases§

  • Register DIV_REMAINDER reader
  • Register DIV_REMAINDER writer