Struct rp_pac::otp_data::regs::BootselLedCfg
source · #[repr(transparent)]pub struct BootselLedCfg(pub u16);
Expand description
Pin configuration for LED status, used by USB bootloader. (ECC) Must be valid if BOOT_FLAGS0_ENABLE_BOOTSEL_LED is set.
Tuple Fields§
§0: u16
Implementations§
source§impl BootselLedCfg
impl BootselLedCfg
sourcepub fn set_activelow(&mut self, val: bool)
pub fn set_activelow(&mut self, val: bool)
LED is active-low. (Default: active-high.)
Trait Implementations§
source§impl Clone for BootselLedCfg
impl Clone for BootselLedCfg
source§fn clone(&self) -> BootselLedCfg
fn clone(&self) -> BootselLedCfg
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 moresource§impl Default for BootselLedCfg
impl Default for BootselLedCfg
source§fn default() -> BootselLedCfg
fn default() -> BootselLedCfg
Returns the “default value” for a type. Read more
source§impl PartialEq for BootselLedCfg
impl PartialEq for BootselLedCfg
impl Copy for BootselLedCfg
impl Eq for BootselLedCfg
impl StructuralPartialEq for BootselLedCfg
Auto Trait Implementations§
impl Freeze for BootselLedCfg
impl RefUnwindSafe for BootselLedCfg
impl Send for BootselLedCfg
impl Sync for BootselLedCfg
impl Unpin for BootselLedCfg
impl UnwindSafe for BootselLedCfg
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)