Enum ChTr2Trigm
#[repr(u8)]pub enum ChTr2Trigm {
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§
§impl ChTr2Trigm
impl ChTr2Trigm
pub const fn from_bits(val: u8) -> ChTr2Trigm
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for ChTr2Trigm
impl Clone for ChTr2Trigm
§fn clone(&self) -> ChTr2Trigm
fn clone(&self) -> ChTr2Trigm
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<ChTr2Trigm> for u8
impl From<ChTr2Trigm> for u8
§fn from(val: ChTr2Trigm) -> u8
fn from(val: ChTr2Trigm) -> u8
Converts to this type from the input type.
§impl From<u8> for ChTr2Trigm
impl From<u8> for ChTr2Trigm
§fn from(val: u8) -> ChTr2Trigm
fn from(val: u8) -> ChTr2Trigm
Converts to this type from the input type.
§impl Ord for ChTr2Trigm
impl Ord for ChTr2Trigm
§impl PartialEq for ChTr2Trigm
impl PartialEq for ChTr2Trigm
§impl PartialOrd for ChTr2Trigm
impl PartialOrd for ChTr2Trigm
impl Copy for ChTr2Trigm
impl Eq for ChTr2Trigm
impl StructuralPartialEq for ChTr2Trigm
Auto Trait Implementations§
impl Freeze for ChTr2Trigm
impl RefUnwindSafe for ChTr2Trigm
impl Send for ChTr2Trigm
impl Sync for ChTr2Trigm
impl Unpin for ChTr2Trigm
impl UnwindSafe for ChTr2Trigm
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