pub struct StandardFlavor;
Expand description
A StandardFlavor
is a plain Hyperdebug board.
Trait Implementations§
Source§impl Flavor for StandardFlavor
impl Flavor for StandardFlavor
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 Freeze for StandardFlavor
impl RefUnwindSafe for StandardFlavor
impl Send for StandardFlavor
impl Sync for StandardFlavor
impl Unpin for StandardFlavor
impl UnwindSafe for StandardFlavor
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