Enum stm32_metapac::lpdma::vals::Trigm
#[repr(u8)]pub enum Trigm {
BLOCK = 0,
_2DBLOCK = 1,
LINKEDLISTITEM = 2,
BURST = 3,
}
Variants§
BLOCK = 0
at block level: the first burst read of each block transfer is conditioned by one hit trigger (channel x = 12 to 15, for each block if a 2D/repeated block is configured with CH[x].BR1.BRC[10:0] ≠ 0).
_2DBLOCK = 1
channel x = 0 to 11, same as 00; channel x=12 to 15, at 2D/repeated block level, the
LINKEDLISTITEM = 2
at link level: a LLI link transfer is conditioned by one hit trigger. The LLI data transfer (if any) is not conditioned.
BURST = 3
at programmed burst level: If SWREQ = 1, each programmed burst read is conditioned by one hit trigger. If SWREQ = 0, each programmed burst that is requested by the selected peripheral, is conditioned by one hit trigger.
Implementations§
Trait Implementations§
§impl Ord for Trigm
impl Ord for Trigm
§impl PartialOrd for Trigm
impl PartialOrd for Trigm
§fn partial_cmp(&self, other: &Trigm) -> Option<Ordering>
fn partial_cmp(&self, other: &Trigm) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Trigm
impl Eq for Trigm
impl StructuralEq for Trigm
impl StructuralPartialEq for Trigm
Auto Trait Implementations§
impl RefUnwindSafe for Trigm
impl Send for Trigm
impl Sync for Trigm
impl Unpin for Trigm
impl UnwindSafe for Trigm
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