pub enum HatZeroBrickFunction {
Show 16 variants
GetUsbVoltage,
SetUsbVoltageCallbackConfiguration,
GetUsbVoltageCallbackConfiguration,
GetSpitfpErrorCount,
SetBootloaderMode,
GetBootloaderMode,
SetWriteFirmwarePointer,
WriteFirmware,
SetStatusLedConfig,
GetStatusLedConfig,
GetChipTemperature,
Reset,
WriteUid,
ReadUid,
GetIdentity,
CallbackUsbVoltage,
}
Variants§
GetUsbVoltage
SetUsbVoltageCallbackConfiguration
GetUsbVoltageCallbackConfiguration
GetSpitfpErrorCount
SetBootloaderMode
GetBootloaderMode
SetWriteFirmwarePointer
WriteFirmware
SetStatusLedConfig
GetStatusLedConfig
GetChipTemperature
Reset
WriteUid
ReadUid
GetIdentity
CallbackUsbVoltage
Trait Implementations§
source§impl From<HatZeroBrickFunction> for u8
impl From<HatZeroBrickFunction> for u8
source§fn from(fun: HatZeroBrickFunction) -> Self
fn from(fun: HatZeroBrickFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for HatZeroBrickFunction
impl Send for HatZeroBrickFunction
impl Sync for HatZeroBrickFunction
impl Unpin for HatZeroBrickFunction
impl UnwindSafe for HatZeroBrickFunction
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