pub struct ServoMicroFlavor;
Expand description
The Servo Micro is used to bring up GSC and EC chips sitting inside a computing device, such
that those GSC chips can provide Case Closed Debugging support to allow bringup of the rest of
the computing device. Servo devices happen to speak almost exactly the same USB protocol as
HyperDebug. This Flavor
implementation defines the few deviations: USB PID value, and the
handling of OT reset signal.
Trait Implementations§
Source§impl Flavor for ServoMicroFlavor
impl Flavor for ServoMicroFlavor
fn gpio_pin(inner: &Rc<Inner>, pinname: &str) -> Result<Rc<dyn GpioPin>>
fn spi_index(_inner: &Rc<Inner>, instance: &str) -> Result<(u8, u8)>
fn get_default_usb_vid() -> u16
fn get_default_usb_pid() -> u16
fn perform_initial_fw_check() -> bool
fn i2c_index(_inner: &Rc<Inner>, instance: &str) -> Result<(u8, Mode)>
fn load_bitstream(_fpga_program: &FpgaProgram<'_>) -> Result<()>
fn clear_bitstream(_clear: &ClearBitstream) -> Result<()>
Auto Trait Implementations§
impl Freeze for ServoMicroFlavor
impl RefUnwindSafe for ServoMicroFlavor
impl Send for ServoMicroFlavor
impl Sync for ServoMicroFlavor
impl Unpin for ServoMicroFlavor
impl UnwindSafe for ServoMicroFlavor
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