pub enum Command {
ExecuteCallbackFromIsr,
ExecuteCallback,
Start,
Reset,
Stop,
ChangePeriod,
Delete,
StartFromIsr,
ResetFromIsr,
StopFromIsr,
ChangePeriodFromIsr,
}Expand description
The command ids, exactly as timers.h numbers them — the numbering is
load-bearing, because xTimerGenericCommandFromTask refuses anything at
or above Command::FIRST_FROM_ISR and the from-ISR half refuses
anything below it.
Variants§
ExecuteCallbackFromIsr
tmrCOMMAND_EXECUTE_CALLBACK_FROM_ISR.
ExecuteCallback
tmrCOMMAND_EXECUTE_CALLBACK.
Start
tmrCOMMAND_START.
Reset
tmrCOMMAND_RESET.
Stop
tmrCOMMAND_STOP.
ChangePeriod
tmrCOMMAND_CHANGE_PERIOD.
Delete
tmrCOMMAND_DELETE.
StartFromIsr
tmrCOMMAND_START_FROM_ISR.
ResetFromIsr
tmrCOMMAND_RESET_FROM_ISR.
StopFromIsr
tmrCOMMAND_STOP_FROM_ISR.
ChangePeriodFromIsr
tmrCOMMAND_CHANGE_PERIOD_FROM_ISR.
Implementations§
Trait Implementations§
impl Copy for Command
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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