pub struct Smotor { /* private fields */ }Implementations§
Source§impl Smotor
impl Smotor
Sourcepub const fn cmd_table_base(&self) -> &'static Reg<CmdTableBase_SPEC, RW>
pub const fn cmd_table_base(&self) -> &'static Reg<CmdTableBase_SPEC, RW>
Base address of the command table
Sourcepub const fn pg0_ctrl_reg(&self) -> &'static Reg<Pg0CtrlReg_SPEC, RW>
pub const fn pg0_ctrl_reg(&self) -> &'static Reg<Pg0CtrlReg_SPEC, RW>
Pattern generator 0 control register
Sourcepub const fn pg1_ctrl_reg(&self) -> &'static Reg<Pg1CtrlReg_SPEC, RW>
pub const fn pg1_ctrl_reg(&self) -> &'static Reg<Pg1CtrlReg_SPEC, RW>
Pattern generator 1 control register
Sourcepub const fn pg2_ctrl_reg(&self) -> &'static Reg<Pg2CtrlReg_SPEC, RW>
pub const fn pg2_ctrl_reg(&self) -> &'static Reg<Pg2CtrlReg_SPEC, RW>
Pattern generator 2 control register
Sourcepub const fn pg3_ctrl_reg(&self) -> &'static Reg<Pg3CtrlReg_SPEC, RW>
pub const fn pg3_ctrl_reg(&self) -> &'static Reg<Pg3CtrlReg_SPEC, RW>
Pattern generator 3 control register
Sourcepub const fn pg4_ctrl_reg(&self) -> &'static Reg<Pg4CtrlReg_SPEC, RW>
pub const fn pg4_ctrl_reg(&self) -> &'static Reg<Pg4CtrlReg_SPEC, RW>
Pattern generator 4 control register
Sourcepub const fn smotor_cmd_fifo_reg(
&self,
) -> &'static Reg<SmotorCmdFifoReg_SPEC, RW>
pub const fn smotor_cmd_fifo_reg( &self, ) -> &'static Reg<SmotorCmdFifoReg_SPEC, RW>
Motor control command FIFO register
Sourcepub const fn smotor_cmd_read_ptr_reg(
&self,
) -> &'static Reg<SmotorCmdReadPtrReg_SPEC, RW>
pub const fn smotor_cmd_read_ptr_reg( &self, ) -> &'static Reg<SmotorCmdReadPtrReg_SPEC, RW>
Command read pointer register
Sourcepub const fn smotor_cmd_write_ptr_reg(
&self,
) -> &'static Reg<SmotorCmdWritePtrReg_SPEC, RW>
pub const fn smotor_cmd_write_ptr_reg( &self, ) -> &'static Reg<SmotorCmdWritePtrReg_SPEC, RW>
Command write pointer register
Sourcepub const fn smotor_ctrl_reg(&self) -> &'static Reg<SmotorCtrlReg_SPEC, RW>
pub const fn smotor_ctrl_reg(&self) -> &'static Reg<SmotorCtrlReg_SPEC, RW>
Motor control register
Sourcepub const fn smotor_irq_clear_reg(
&self,
) -> &'static Reg<SmotorIrqClearReg_SPEC, RW>
pub const fn smotor_irq_clear_reg( &self, ) -> &'static Reg<SmotorIrqClearReg_SPEC, RW>
Motor control IRQ clear register
Sourcepub const fn smotor_trigger_reg(
&self,
) -> &'static Reg<SmotorTriggerReg_SPEC, RW>
pub const fn smotor_trigger_reg( &self, ) -> &'static Reg<SmotorTriggerReg_SPEC, RW>
Motor controller trigger register
Sourcepub const fn wavetable_base(&self) -> &'static Reg<WavetableBase_SPEC, RW>
pub const fn wavetable_base(&self) -> &'static Reg<WavetableBase_SPEC, RW>
Base address of the wavetable
Trait Implementations§
impl Copy for Smotor
impl Eq for Smotor
impl Send for Smotor
SMOTOR registers
impl StructuralPartialEq for Smotor
impl Sync for Smotor
Auto Trait Implementations§
impl Freeze for Smotor
impl RefUnwindSafe for Smotor
impl Unpin for Smotor
impl UnwindSafe for Smotor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more