[][src]Struct cmsis_dsp::transform::Q15RealFft

pub struct Q15RealFft(_);

Runs an FFT on Q1.15 fixed-point real numbers

Implementations

impl Q15RealFft[src]

pub fn new(
    size: u32,
    direction: Direction,
    output_order: OutputOrder
) -> Result<Self>
[src]

Initializes an FFT with the specified size

Valid size values are 32, 64, 128, 256, 512, 1024, 2048, and 4096. This function returns an error if the size value is not valid.

pub fn run(&self, input: &[I1F15], output: &mut [i16])[src]

Runs an FFT on fixed-point values

The output type depends on the size of the FFT. To determine how to interpret the output bits, refer to the table in the arm_rfft_q15 function documentation at https://www.keil.com/pack/doc/cmsis/DSP/html/group__RealFFT.html#ga00e615f5db21736ad5b27fb6146f3fc5 .

Trait Implementations

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.