pub enum PeripheralFunction {
A,
B,
C,
D,
E,
F,
G,
}
Expand description
Peripheral functions that may be assigned to a GPIOPin
.
GPIO pins on the SAM4L may serve multiple functions. In addition to the default functionality, each pin can be assigned up to eight different peripheral functions. The various functions for each pin are described in “Peripheral Multiplexing I/O Lines” section of the SAM4L datasheet1.
Section 3.2, pages 19-29 ↩
Variants§
Trait Implementations§
Source§impl Clone for PeripheralFunction
impl Clone for PeripheralFunction
Source§fn clone(&self) -> PeripheralFunction
fn clone(&self) -> PeripheralFunction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PeripheralFunction
Auto Trait Implementations§
impl Freeze for PeripheralFunction
impl RefUnwindSafe for PeripheralFunction
impl Send for PeripheralFunction
impl Sync for PeripheralFunction
impl Unpin for PeripheralFunction
impl UnwindSafe for PeripheralFunction
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