#[repr(u8)]pub enum Trigtype {
EDGE = 0,
LEVEL = 1,
}Variants§
EDGE = 0
Edge. Hardware trigger is edge triggered. Transfers will be initiated and completed, as specified for a single trigger.
LEVEL = 1
Level. Hardware trigger is level triggered. Note that when level triggering without burst (BURSTPOWER = 0) is selected, only hardware triggers should be used on that channel. Transfers continue as long as the trigger level is asserted. Once the trigger is de-asserted, the transfer will be paused until the trigger is, again, asserted. However, the transfer will not be paused until any remaining transfers within the current BURSTPOWER length are completed.
Implementations§
Trait Implementations§
Source§impl Ord for Trigtype
impl Ord for Trigtype
Source§impl PartialOrd for Trigtype
impl PartialOrd for Trigtype
impl Copy for Trigtype
impl Eq for Trigtype
impl StructuralPartialEq for Trigtype
Auto Trait Implementations§
impl Freeze for Trigtype
impl RefUnwindSafe for Trigtype
impl Send for Trigtype
impl Sync for Trigtype
impl Unpin for Trigtype
impl UnwindSafe for Trigtype
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