HrOut

Struct HrOut 

Source
pub struct HrOut<TIM, PSCL, CH, DacRst: DacResetTrigger = NoDacTrigger, DacStp: DacStepTrigger = NoDacTrigger>(/* private fields */);

Trait Implementations§

Source§

impl<TIM: InstanceX, PSCL, CH: ChExt, R: DacResetTrigger, S: DacStepTrigger> HrOutput<TIM, PSCL> for HrOut<TIM, PSCL, CH, R, S>

Source§

fn enable(&mut self)

Enable this output
Source§

fn disable(&mut self)

Disable this output
Source§

fn enable_set_event<ES: EventSource<TIM, PSCL>>(&mut self, _set_event: &ES)

Set this output to active every time the specified event occurs Read more
Source§

fn disable_set_event<ES: EventSource<TIM, PSCL>>(&mut self, _set_event: &ES)

Stop listening to the specified event
Source§

fn enable_rst_event<ES: EventSource<TIM, PSCL>>(&mut self, _reset_event: &ES)

Set this output to not active every time the specified event occurs Read more
Source§

fn disable_rst_event<ES: EventSource<TIM, PSCL>>(&mut self, _reset_event: &ES)

Stop listening to the specified event
Source§

fn get_state(&self) -> State

Get current state of the output

Auto Trait Implementations§

§

impl<TIM, PSCL, CH, DacRst, DacStp> Freeze for HrOut<TIM, PSCL, CH, DacRst, DacStp>

§

impl<TIM, PSCL, CH, DacRst, DacStp> RefUnwindSafe for HrOut<TIM, PSCL, CH, DacRst, DacStp>
where TIM: RefUnwindSafe, PSCL: RefUnwindSafe, CH: RefUnwindSafe, DacRst: RefUnwindSafe, DacStp: RefUnwindSafe,

§

impl<TIM, PSCL, CH, DacRst, DacStp> Send for HrOut<TIM, PSCL, CH, DacRst, DacStp>
where TIM: Send, PSCL: Send, CH: Send, DacRst: Send, DacStp: Send,

§

impl<TIM, PSCL, CH, DacRst, DacStp> Sync for HrOut<TIM, PSCL, CH, DacRst, DacStp>
where TIM: Sync, PSCL: Sync, CH: Sync, DacRst: Sync, DacStp: Sync,

§

impl<TIM, PSCL, CH, DacRst, DacStp> Unpin for HrOut<TIM, PSCL, CH, DacRst, DacStp>
where TIM: Unpin, PSCL: Unpin, CH: Unpin, DacRst: Unpin, DacStp: Unpin,

§

impl<TIM, PSCL, CH, DacRst, DacStp> UnwindSafe for HrOut<TIM, PSCL, CH, DacRst, DacStp>
where TIM: UnwindSafe, PSCL: UnwindSafe, CH: UnwindSafe, DacRst: UnwindSafe, DacStp: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.