#[repr(u8)]pub enum USPIBridgeCommand {
Show 24 variants
SetBrightness = 17,
DisplayText = 32,
DisplayNumber = 33,
SetCharacter = 34,
SetPattern = 35,
SetDecimal = 36,
ClearDevice = 37,
SetSegmentMapping = 38,
SetSegmentMappingType = 39,
GetSegmentMapping = 40,
TestSegmentMapping = 41,
CreateVirtualDevice = 64,
DeleteVirtualDevice = 65,
ListVirtualDevices = 66,
VirtualText = 67,
VirtualBrightness = 68,
VirtualClear = 69,
VirtualScrollLeft = 70,
VirtualScrollRight = 71,
VirtualFlash = 72,
VirtualStop = 73,
SystemReset = 80,
SystemStatus = 81,
SystemConfig = 82,
}Expand description
uSPIBridge-specific I2C commands for display control and virtual devices
All commands are now available via I2C interface after firmware implementation.
Variants§
SetBrightness = 17
DisplayText = 32
DisplayNumber = 33
SetCharacter = 34
SetPattern = 35
SetDecimal = 36
ClearDevice = 37
SetSegmentMapping = 38
SetSegmentMappingType = 39
GetSegmentMapping = 40
TestSegmentMapping = 41
CreateVirtualDevice = 64
DeleteVirtualDevice = 65
ListVirtualDevices = 66
VirtualText = 67
VirtualBrightness = 68
VirtualClear = 69
VirtualScrollLeft = 70
VirtualScrollRight = 71
VirtualFlash = 72
VirtualStop = 73
SystemReset = 80
SystemStatus = 81
SystemConfig = 82
Trait Implementations§
Source§impl Clone for USPIBridgeCommand
impl Clone for USPIBridgeCommand
Source§fn clone(&self) -> USPIBridgeCommand
fn clone(&self) -> USPIBridgeCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for USPIBridgeCommand
impl Debug for USPIBridgeCommand
Source§impl PartialEq for USPIBridgeCommand
impl PartialEq for USPIBridgeCommand
impl Copy for USPIBridgeCommand
impl StructuralPartialEq for USPIBridgeCommand
Auto Trait Implementations§
impl Freeze for USPIBridgeCommand
impl RefUnwindSafe for USPIBridgeCommand
impl Send for USPIBridgeCommand
impl Sync for USPIBridgeCommand
impl Unpin for USPIBridgeCommand
impl UnsafeUnpin for USPIBridgeCommand
impl UnwindSafe for USPIBridgeCommand
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