#[repr(u8)]pub enum TestPacketPayload {
PrbS9 = 0,
Nibbles10 = 1,
Bits10 = 2,
PrbS15 = 3,
All1 = 4,
All0 = 5,
Nibbles01 = 6,
Bits01 = 7,
}
Expand description
Possible values of the payload
parameter for the
le_transmitter_test
command.
Variants§
PrbS9 = 0
Pseudo-Random bit sequence 9
Nibbles10 = 1
Pattern of alternating bits `11110000
Bits10 = 2
Pattern of alternating bits `10101010’
PrbS15 = 3
Pseudo-Random bit sequence 15
All1 = 4
Pattern of All `1’ bits
All0 = 5
Pattern of All `0’ bits
Nibbles01 = 6
Pattern of alternating bits `00001111
Bits01 = 7
Pattern of alternating bits `0101’
Trait Implementations§
Source§impl Clone for TestPacketPayload
impl Clone for TestPacketPayload
Source§fn clone(&self) -> TestPacketPayload
fn clone(&self) -> TestPacketPayload
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 TestPacketPayload
impl Debug for TestPacketPayload
impl Copy for TestPacketPayload
Auto Trait Implementations§
impl Freeze for TestPacketPayload
impl RefUnwindSafe for TestPacketPayload
impl Send for TestPacketPayload
impl Sync for TestPacketPayload
impl Unpin for TestPacketPayload
impl UnwindSafe for TestPacketPayload
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