pub struct Flexcomm2<State = Unknown> {
pub _state: State,
/* private fields */
}Fields§
§_state: StateImplementations§
Source§impl Flexcomm2
impl Flexcomm2
pub fn enabled_as_i2c( self, syscon: &mut Syscon, _clocks_token: &ClocksSupportFlexcommToken, ) -> I2c2<Enabled>
pub fn enabled_as_spi( self, syscon: &mut Syscon, _clocks_token: &ClocksSupportFlexcommToken, ) -> Spi2<Enabled>
pub fn enabled_as_usart( self, syscon: &mut Syscon, _clocks_token: &ClocksSupportFlexcommToken, ) -> Usart2<Enabled>
Trait Implementations§
Auto Trait Implementations§
impl<State> Freeze for Flexcomm2<State>where
State: Freeze,
impl<State> RefUnwindSafe for Flexcomm2<State>where
State: RefUnwindSafe,
impl<State> Send for Flexcomm2<State>where
State: Send,
impl<State = Unknown> !Sync for Flexcomm2<State>
impl<State> Unpin for Flexcomm2<State>where
State: Unpin,
impl<State> UnwindSafe for Flexcomm2<State>where
State: UnwindSafe,
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