#[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>
impl<'d> GpioEtmChannels<'d>
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> 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