pub struct EventConfig {
pub evntdir: EventDir,
pub rate: EventRate,
}
Expand description
Describes the configuration for an Edvent
Fields§
§evntdir: EventDir
Controls which transition of the CNTVCT trigger bit, defined by EVNTI, generates an event, when the event stream is enabled.
rate: EventRate
How often does the event fire
Trait Implementations§
Source§impl Clone for EventConfig
impl Clone for EventConfig
Source§fn clone(&self) -> EventConfig
fn clone(&self) -> EventConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EventConfig
impl Debug for EventConfig
Source§impl PartialEq for EventConfig
impl PartialEq for EventConfig
impl Eq for EventConfig
impl StructuralPartialEq for EventConfig
Auto Trait Implementations§
impl Freeze for EventConfig
impl RefUnwindSafe for EventConfig
impl Send for EventConfig
impl Sync for EventConfig
impl Unpin for EventConfig
impl UnwindSafe for EventConfig
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