Trait drone_cortexm::thr::SoftThrToken [−][src]
Token for a software-managed thread.
Associated Types
type SoftThread: SoftThread
[src]
The software-managed thread type.
Provided methods
pub fn to_soft_thr(self) -> &'static Self::SoftThread
[src]
Returns a reference to the software-managed thread object.
pub fn set_pending(self)
[src]
Sets the thread pending.
pub fn clear_pending(self)
[src]
Clears the thread pending state.
pub fn is_pending(self) -> bool
[src]
Returns true
if the thread is pending.
pub fn priority(self) -> u8
[src]
Reads the priority of the thread.
pub fn set_priority(self, priority: u8)
[src]
Implementors
impl<S, T> SoftThrToken for T where
T: ThrToken<Thread = S>,
S: SoftThread,
[src]
T: ThrToken<Thread = S>,
S: SoftThread,