#[repr(u8)]pub enum ETF {
Show 16 variants
NoFilter = 0,
FckIntN2 = 1,
FckIntN4 = 2,
FckIntN8 = 3,
FdtsDiv2N6 = 4,
FdtsDiv2N8 = 5,
FdtsDiv4N6 = 6,
FdtsDiv4N8 = 7,
FdtsDiv8N6 = 8,
FdtsDiv8N8 = 9,
FdtsDiv16N5 = 10,
FdtsDiv16N6 = 11,
FdtsDiv16N8 = 12,
FdtsDiv32N5 = 13,
FdtsDiv32N6 = 14,
FdtsDiv32N8 = 15,
}
Expand description
External trigger filter This bit-field then defines the frequency used to sample ETRP signal and the length of the digital filter applied to ETRP. The digital filter is made of an event counter in which N consecutive events are needed to validate a transition on the output:
Value on reset: 0
Variants§
NoFilter = 0
0: No filter, sampling is done at fDTS
FckIntN2 = 1
1: fSAMPLING=fCK_INT, N=2
FckIntN4 = 2
2: fSAMPLING=fCK_INT, N=4
FckIntN8 = 3
3: fSAMPLING=fCK_INT, N=8
FdtsDiv2N6 = 4
4: fSAMPLING=fDTS/2, N=6
FdtsDiv2N8 = 5
5: fSAMPLING=fDTS/2, N=8
FdtsDiv4N6 = 6
6: fSAMPLING=fDTS/4, N=6
FdtsDiv4N8 = 7
7: fSAMPLING=fDTS/4, N=8
FdtsDiv8N6 = 8
8: fSAMPLING=fDTS/8, N=6
FdtsDiv8N8 = 9
9: fSAMPLING=fDTS/8, N=8
FdtsDiv16N5 = 10
10: fSAMPLING=fDTS/16, N=5
FdtsDiv16N6 = 11
11: fSAMPLING=fDTS/16, N=6
FdtsDiv16N8 = 12
12: fSAMPLING=fDTS/16, N=8
FdtsDiv32N5 = 13
13: fSAMPLING=fDTS/32, N=5
FdtsDiv32N6 = 14
14: fSAMPLING=fDTS/32, N=6
FdtsDiv32N8 = 15
15: fSAMPLING=fDTS/32, N=8
Trait Implementations§
impl Copy for ETF
impl Eq for ETF
impl IsEnum for ETF
impl StructuralPartialEq for ETF
Auto Trait Implementations§
impl Freeze for ETF
impl RefUnwindSafe for ETF
impl Send for ETF
impl Sync for ETF
impl Unpin for ETF
impl UnwindSafe for ETF
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