pub enum GpioSpeed {
Low,
Medium,
Fast,
High,
}
Expand description
Represents the options to configure the GPIO speed of a pin.
Keep in mind, that the internal clock of the MC needs to be faster than the IO speed to be used fully.
Speed | Max. IO Frequency |
---|---|
Low | 4MHz |
Medium | 25MHz |
Fast | 50MHz |
High | 100MHz |
Variants§
Auto Trait Implementations§
impl Freeze for GpioSpeed
impl RefUnwindSafe for GpioSpeed
impl Send for GpioSpeed
impl Sync for GpioSpeed
impl Unpin for GpioSpeed
impl UnwindSafe for GpioSpeed
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