#[repr(u8)]pub enum TriggerLevel {
_1 = 0,
_4 = 64,
_8 = 128,
_14 = 192,
}
Expand description
接收队列触发阈值。
若接收队列中的字节数不小于阈值设置数据就绪中断。
Variants§
Implementations§
Source§impl TriggerLevel
impl TriggerLevel
Sourcepub const fn and_reset(self) -> FifoControl
pub const fn and_reset(self) -> FifoControl
产生一个指定阈值并重置接收队列的队列控制设置。
Sourcepub const fn without_reset(self) -> FifoControl
pub const fn without_reset(self) -> FifoControl
产生一个指定阈值但不重置接收队列的队列控制设置。
Auto Trait Implementations§
impl Freeze for TriggerLevel
impl RefUnwindSafe for TriggerLevel
impl Send for TriggerLevel
impl Sync for TriggerLevel
impl Unpin for TriggerLevel
impl UnwindSafe for TriggerLevel
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