pub enum SwjCfg {
SwdAndJtag = 0,
SwdAndJtagNoRst = 1,
SwdOnly = 2,
Disabled = 4,
}Expand description
SWJ Config
Variants§
SwdAndJtag = 0
Full SWJ (JTAG-DP + SW-DP) (Reset state)
PA13, PA14, PA15, PB3, and PB4 cannot be used
SwdAndJtagNoRst = 1
Full SWJ (JTAG-DP + SW-DP) but without NJTRST
PA13, PA14, PA15, and PB3 cannot be used
PB4 can be used
SwdOnly = 2
JTAG-DP Disabled and SW-DP Enabled
PA13 and PA14 cannot be used
PA15, PB3, and PB4 can be used
Disabled = 4
JTAG-DP Disabled and SW-DP Disabled
PA13, PA14, PA15, PB3, and PB4 can be used
Trait Implementations§
impl Copy 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