Enum stm32_metapac::afio::vals::SwjCfg
#[repr(u8)]pub enum SwjCfg {
RESET = 0,
NO_JNT_RST = 1,
JTAG_DISABLE = 2,
_RESERVED_3 = 3,
DISABLE = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
NO_OP = 7,
}
Variants§
RESET = 0
Full SWJ (JTAG-DP + SW-DP) (Reset state)
NO_JNT_RST = 1
Full SWJ (JTAG-DP + SW-DP) but without NJTRST
JTAG_DISABLE = 2
JTAG-DP Disabled and SW-DP Enabled
_RESERVED_3 = 3
DISABLE = 4
JTAG-DP Disabled and SW-DP Disabled
_RESERVED_5 = 5
_RESERVED_6 = 6
NO_OP = 7
Sets all bits to 1, indicating that the configuration should remain unchanged
Implementations§
Trait Implementations§
§impl Ord for SwjCfg
impl Ord for SwjCfg
§impl PartialOrd for SwjCfg
impl PartialOrd for SwjCfg
impl Copy for SwjCfg
impl Eq for SwjCfg
impl StructuralPartialEq for SwjCfg
Auto Trait Implementations§
impl Freeze for SwjCfg
impl RefUnwindSafe for SwjCfg
impl Send for SwjCfg
impl Sync for SwjCfg
impl Unpin for SwjCfg
impl UnwindSafe for SwjCfg
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
)