Enum Modulationctrl
#[repr(u8)]pub enum Modulationctrl {
INVALID = 0,
INTERNAL = 1,
MOD_TO_GPIO = 2,
INTERNAL_AND_MOD_TO_GPIO = 3,
}
Variants§
INVALID = 0
Invalid, defaults to same behaviour as for Internal
INTERNAL = 1
Use internal modulator only
MOD_TO_GPIO = 2
Output digital modulation signal to a GPIO pin.
INTERNAL_AND_MOD_TO_GPIO = 3
Use internal modulator and output digital modulation signal to a GPIO pin.
Implementations§
§impl Modulationctrl
impl Modulationctrl
pub const fn from_bits(val: u8) -> Modulationctrl
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Modulationctrl
impl Clone for Modulationctrl
§fn clone(&self) -> Modulationctrl
fn clone(&self) -> Modulationctrl
Returns a copy 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 more§impl From<u8> for Modulationctrl
impl From<u8> for Modulationctrl
§fn from(val: u8) -> Modulationctrl
fn from(val: u8) -> Modulationctrl
Converts to this type from the input type.
§impl Ord for Modulationctrl
impl Ord for Modulationctrl
§impl PartialEq for Modulationctrl
impl PartialEq for Modulationctrl
§impl PartialOrd for Modulationctrl
impl PartialOrd for Modulationctrl
impl Copy for Modulationctrl
impl Eq for Modulationctrl
impl StructuralPartialEq for Modulationctrl
Auto Trait Implementations§
impl Freeze for Modulationctrl
impl RefUnwindSafe for Modulationctrl
impl Send for Modulationctrl
impl Sync for Modulationctrl
impl Unpin for Modulationctrl
impl UnwindSafe for Modulationctrl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)