pub struct ChipWhispererFlavor<B: Board> { /* private fields */ }
Expand description
A ChipWhispererFlavor
is a Hyperdebug attached to a Chip Whisperer board. Furthermore,
both the Hyperdebug and Chip Whisperer board USB interfaces are attached to the host.
Hyperdebug is used for all IO with the Chip Whisperer board except for bitstream
programming.
Trait Implementations§
Source§impl<B: Board> Flavor for ChipWhispererFlavor<B>
impl<B: Board> Flavor for ChipWhispererFlavor<B>
fn gpio_pin(inner: &Rc<Inner>, pinname: &str) -> Result<Rc<dyn GpioPin>>
fn spi_index(inner: &Rc<Inner>, instance: &str) -> Result<(u8, u8)>
fn i2c_index(inner: &Rc<Inner>, instance: &str) -> Result<(u8, Mode)>
fn get_default_usb_vid() -> u16
fn get_default_usb_pid() -> u16
fn load_bitstream(fpga_program: &FpgaProgram<'_>) -> Result<()>
fn clear_bitstream(_clear: &ClearBitstream) -> Result<()>
fn perform_initial_fw_check() -> bool
Auto Trait Implementations§
impl<B> Freeze for ChipWhispererFlavor<B>
impl<B> RefUnwindSafe for ChipWhispererFlavor<B>where
B: RefUnwindSafe,
impl<B> Send for ChipWhispererFlavor<B>where
B: Send,
impl<B> Sync for ChipWhispererFlavor<B>where
B: Sync,
impl<B> Unpin for ChipWhispererFlavor<B>where
B: Unpin,
impl<B> UnwindSafe for ChipWhispererFlavor<B>where
B: UnwindSafe,
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