Apu

Struct Apu 

Source
pub struct Apu { /* private fields */ }

Implementations§

Source§

impl Apu

Source

pub const fn apu_mux_reg(&self) -> &'static Reg<ApuMuxReg_SPEC, RW>

APU mux register

Source

pub const fn coef0a_set1_reg(&self) -> &'static Reg<Coef0ASet1Reg_SPEC, RW>

SRC coefficient 10 set 1

Source

pub const fn coef10_set1_reg(&self) -> &'static Reg<Coef10Set1Reg_SPEC, RW>

SRC coefficient 1,0 set 1

Source

pub const fn coef32_set1_reg(&self) -> &'static Reg<Coef32Set1Reg_SPEC, RW>

SRC coefficient 3,2 set 1

Source

pub const fn coef54_set1_reg(&self) -> &'static Reg<Coef54Set1Reg_SPEC, RW>

SRC coefficient 5,4 set 1

Source

pub const fn coef76_set1_reg(&self) -> &'static Reg<Coef76Set1Reg_SPEC, RW>

SRC coefficient 7,6 set 1

Source

pub const fn coef98_set1_reg(&self) -> &'static Reg<Coef98Set1Reg_SPEC, RW>

SRC coefficient 9,8 set 1

Source

pub const fn pcm1_ctrl_reg(&self) -> &'static Reg<Pcm1CtrlReg_SPEC, RW>

PCM1 Control register

Source

pub const fn pcm1_in1_reg(&self) -> &'static Reg<Pcm1In1Reg_SPEC, RW>

PCM1 data in 1

Source

pub const fn pcm1_in2_reg(&self) -> &'static Reg<Pcm1In2Reg_SPEC, RW>

PCM1 data in 2

Source

pub const fn pcm1_out1_reg(&self) -> &'static Reg<Pcm1Out1Reg_SPEC, RW>

PCM1 data out 1

Source

pub const fn pcm1_out2_reg(&self) -> &'static Reg<Pcm1Out2Reg_SPEC, RW>

PCM1 data out 2

Source

pub const fn src1_ctrl_reg(&self) -> &'static Reg<Src1CtrlReg_SPEC, RW>

SRC1 control register

Source

pub const fn src1_in1_reg(&self) -> &'static Reg<Src1In1Reg_SPEC, RW>

SRC1 data in 1

Source

pub const fn src1_in2_reg(&self) -> &'static Reg<Src1In2Reg_SPEC, RW>

SRC1 data in 2

Source

pub const fn src1_in_fs_reg(&self) -> &'static Reg<Src1InFsReg_SPEC, RW>

SRC1 Sample input rate

Source

pub const fn src1_out1_reg(&self) -> &'static Reg<Src1Out1Reg_SPEC, RW>

SRC1 data out 1

Source

pub const fn src1_out2_reg(&self) -> &'static Reg<Src1Out2Reg_SPEC, RW>

SRC1 data out 2

Source

pub const fn src1_out_fs_reg(&self) -> &'static Reg<Src1OutFsReg_SPEC, RW>

SRC1 Sample output rate

Trait Implementations§

Source§

impl Clone for Apu

Source§

fn clone(&self) -> Apu

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Apu

Source§

fn eq(&self, other: &Apu) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Apu

Source§

impl Eq for Apu

Source§

impl Send for Apu

APU registers

Source§

impl StructuralPartialEq for Apu

Source§

impl Sync for Apu

Auto Trait Implementations§

§

impl Freeze for Apu

§

impl RefUnwindSafe for Apu

§

impl Unpin for Apu

§

impl UnwindSafe for Apu

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.