Struct GpioEtmChannels

Source
#[non_exhaustive]
pub struct GpioEtmChannels<'d> {
Show 16 fields pub channel0_task: GpioEtmTaskChannel<0>, pub channel0_event: GpioEtmEventChannel<0>, pub channel1_task: GpioEtmTaskChannel<1>, pub channel1_event: GpioEtmEventChannel<1>, pub channel2_task: GpioEtmTaskChannel<2>, pub channel2_event: GpioEtmEventChannel<2>, pub channel3_task: GpioEtmTaskChannel<3>, pub channel3_event: GpioEtmEventChannel<3>, pub channel4_task: GpioEtmTaskChannel<4>, pub channel4_event: GpioEtmEventChannel<4>, pub channel5_task: GpioEtmTaskChannel<5>, pub channel5_event: GpioEtmEventChannel<5>, pub channel6_task: GpioEtmTaskChannel<6>, pub channel6_event: GpioEtmEventChannel<6>, pub channel7_task: GpioEtmTaskChannel<7>, pub channel7_event: GpioEtmEventChannel<7>, /* private fields */
}
Expand description

All the GPIO ETM channels

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§channel0_task: GpioEtmTaskChannel<0>§channel0_event: GpioEtmEventChannel<0>§channel1_task: GpioEtmTaskChannel<1>§channel1_event: GpioEtmEventChannel<1>§channel2_task: GpioEtmTaskChannel<2>§channel2_event: GpioEtmEventChannel<2>§channel3_task: GpioEtmTaskChannel<3>§channel3_event: GpioEtmEventChannel<3>§channel4_task: GpioEtmTaskChannel<4>§channel4_event: GpioEtmEventChannel<4>§channel5_task: GpioEtmTaskChannel<5>§channel5_event: GpioEtmEventChannel<5>§channel6_task: GpioEtmTaskChannel<6>§channel6_event: GpioEtmEventChannel<6>§channel7_task: GpioEtmTaskChannel<7>§channel7_event: GpioEtmEventChannel<7>

Implementations§

Source§

impl<'d> GpioEtmChannels<'d>

Source

pub fn new(peripheral: impl Peripheral<P = GPIO_SD> + 'd) -> GpioEtmChannels<'d>

Auto Trait Implementations§

§

impl<'d> Freeze for GpioEtmChannels<'d>

§

impl<'d> RefUnwindSafe for GpioEtmChannels<'d>

§

impl<'d> Send for GpioEtmChannels<'d>

§

impl<'d> Sync for GpioEtmChannels<'d>

§

impl<'d> Unpin for GpioEtmChannels<'d>

§

impl<'d> !UnwindSafe for GpioEtmChannels<'d>

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.