Type Definition stm32g4::stm32g474::cordic::csr::W[][src]

type W = W<u32, CSR>;

Writer for register CSR

Implementations

impl W[src]

pub fn func(&mut self) -> FUNC_W<'_>[src]

Bits 0:3 - FUNC

pub fn precision(&mut self) -> PRECISION_W<'_>[src]

Bits 4:7 - Precision (number of iterations/cycles) required

pub fn scale(&mut self) -> SCALE_W<'_>[src]

Bits 8:10 - Scaling factor (2^-n for arguments, 2^n for results)

pub fn ien(&mut self) -> IEN_W<'_>[src]

Bit 16 - IEN

pub fn dmaren(&mut self) -> DMAREN_W<'_>[src]

Bit 17 - DMAREN

pub fn dmawen(&mut self) -> DMAWEN_W<'_>[src]

Bit 18 - DMAWEN

pub fn nres(&mut self) -> NRES_W<'_>[src]

Bit 19 - NRES

pub fn nargs(&mut self) -> NARGS_W<'_>[src]

Bit 20 - NARGS

pub fn ressize(&mut self) -> RESSIZE_W<'_>[src]

Bit 21 - RESSIZE

pub fn argsize(&mut self) -> ARGSIZE_W<'_>[src]

Bit 22 - ARGSIZE

pub fn rrdy(&mut self) -> RRDY_W<'_>[src]

Bit 31 - RRDY