[−][src]Struct atsam4_hal::gpio::Pb10
Implementations
impl<MODE> Pb10<MODE>
[src]
pub fn into_peripheral_function_a(self) -> Pb10<PfA>
[src]
pub fn into_peripheral_function_b(self) -> Pb10<PfB>
[src]
pub fn into_peripheral_function_c(self) -> Pb10<PfC>
[src]
pub fn into_peripheral_function_d(self) -> Pb10<PfD>
[src]
pub fn into_floating_input(self) -> Pb10<Input<Floating>>
[src]
pub fn into_pull_down_input(self) -> Pb10<Input<PullDown>>
[src]
pub fn into_pull_up_input(self) -> Pb10<Input<PullUp>>
[src]
pub fn into_open_drain_output(self) -> Pb10<Output<OpenDrain>>
[src]
Configures the pin to operate as an open drain output
pub fn into_push_pull_output(self) -> Pb10<Output<PushPull>>
[src]
Configures the pin to operate as a push-pull output
Trait Implementations
impl<MODE> InputPin for Pb10<Input<MODE>>
[src]
type Error = ()
Error type
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> OutputPin for Pb10<Output<MODE>>
[src]
Auto Trait Implementations
impl<MODE> Send for Pb10<MODE> where
MODE: Send,
MODE: Send,
impl<MODE> Sync for Pb10<MODE> where
MODE: Sync,
MODE: Sync,
impl<MODE> Unpin for Pb10<MODE> where
MODE: Unpin,
MODE: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> InputPin for T where
T: InputPin,
[src]
T: InputPin,
type Error = ()
Error type
fn is_low(&self) -> Result<bool, <T as InputPin>::Error>
[src]
fn is_high(&self) -> Result<bool, <T as InputPin>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> OutputPin for T where
T: OutputPin,
[src]
T: OutputPin,
type Error = ()
Error type
fn set_low(&mut self) -> Result<(), <T as OutputPin>::Error>
[src]
fn set_high(&mut self) -> Result<(), <T as OutputPin>::Error>
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,