pub struct HyperdebugDfu { /* private fields */ }Expand description
This transport is to be used if a Nucleo board is already in DFU bootloader mode at the time
of the opentitantool invocation (and presenting itself with STMs VID:DID, rather than
Google’s).
Implementations§
Trait Implementations§
Source§impl Transport for HyperdebugDfu
The device does not support any part of the Transport trait, except the UpdateFirmware action.
impl Transport for HyperdebugDfu
The device does not support any part of the Transport trait, except the UpdateFirmware action.
Source§fn capabilities(&self) -> Result<Capabilities>
fn capabilities(&self) -> Result<Capabilities>
Returns a
Capabilities object to check the capabilities of this
transport object.Source§fn dispatch(&self, action: &dyn Any) -> Result<Option<Box<dyn Annotate>>>
fn dispatch(&self, action: &dyn Any) -> Result<Option<Box<dyn Annotate>>>
Invoke non-standard functionality of some Transport implementations.
Source§fn apply_default_configuration(&self) -> Result<()>
fn apply_default_configuration(&self) -> Result<()>
Resets the transport to power-on condition. That is, pin/uart/spi configuration reverts
to default, ongoing operations are cancelled, etc.
Source§fn jtag(&self, _opts: &JtagParams) -> Result<Box<dyn JtagChain + '_>>
fn jtag(&self, _opts: &JtagParams) -> Result<Box<dyn JtagChain + '_>>
Returns a
JtagChain implementation.Source§fn gpio_pin(&self, _instance: &str) -> Result<Rc<dyn GpioPin>>
fn gpio_pin(&self, _instance: &str) -> Result<Rc<dyn GpioPin>>
Returns a
GpioPin implementation.Source§fn gpio_monitoring(&self) -> Result<Rc<dyn GpioMonitoring>>
fn gpio_monitoring(&self) -> Result<Rc<dyn GpioMonitoring>>
Returns a
GpioMonitoring implementation, for logic analyzer functionality.Source§fn gpio_bitbanging(&self) -> Result<Rc<dyn GpioBitbanging>>
fn gpio_bitbanging(&self) -> Result<Rc<dyn GpioBitbanging>>
Returns a
GpioBitbanging implementation, for timed and synchronized manipulation of
multiple GPIO pins.Source§fn proxy_ops(&self) -> Result<Rc<dyn ProxyOps>>
fn proxy_ops(&self) -> Result<Rc<dyn ProxyOps>>
Methods available only on Proxy implementation.
Source§fn maintain_connection(&self) -> Result<Rc<dyn MaintainConnection>>
fn maintain_connection(&self) -> Result<Rc<dyn MaintainConnection>>
As long as the returned
MaintainConnection object is kept by the caller, this driver may
assume that no other opentitantool processes attempt to access the same debugger device.
This allows for optimizations such as keeping USB handles open across function invocations.Auto Trait Implementations§
impl !Freeze for HyperdebugDfu
impl !RefUnwindSafe for HyperdebugDfu
impl Send for HyperdebugDfu
impl !Sync for HyperdebugDfu
impl Unpin for HyperdebugDfu
impl UnwindSafe for HyperdebugDfu
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