k210_pac::fft::ctrl

Type Alias R

Source
pub type R = R<u64, CTRL>;
Expand description

Reader of register ctrl

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn point(&self) -> POINT_R

Bits 0:2 - FFT calculation data length

Source

pub fn mode(&self) -> MODE_R

Bit 3 - FFT mode

Source

pub fn shift(&self) -> SHIFT_R

Bits 4:12 - Corresponding to the nine layer butterfly shift operation, 0x0: does not shift; 0x1: shift 1st layer. …

Source

pub fn enable(&self) -> ENABLE_R

Bit 13 - FFT enable

Source

pub fn dma_send(&self) -> DMA_SEND_R

Bit 14 - FFT DMA enable

Source

pub fn input_mode(&self) -> INPUT_MODE_R

Bits 15:16 - Input data arrangement

Source

pub fn data_mode(&self) -> DATA_MODE_R

Bit 17 - Effective width of input data