Enum stm32_metapac::gpdma::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
impl Copy for Trigm
impl Eq for Trigm
impl StructuralPartialEq for Trigm
Auto Trait Implementations§
impl Freeze for Trigm
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)