#[repr(u32)]pub enum Value {
NoPeripheralSelected = 0,
USARTFunctionSelected = 1,
SPIFunctionSelected = 2,
I2CFunctionSelected = 3,
I2STransmitFunctionSelected = 4,
I2SReceiveFunctionSelected = 5,
}Expand description
Peripheral Select. This field is writable by software.
Variants§
NoPeripheralSelected = 0
No peripheral selected.
USARTFunctionSelected = 1
USART function selected.
SPIFunctionSelected = 2
SPI function selected.
I2CFunctionSelected = 3
I2C function selected.
I2STransmitFunctionSelected = 4
I2S transmit function selected.
I2SReceiveFunctionSelected = 5
I2S receive function selected.
Trait Implementations§
Source§impl TryFromValue<u32> for Value
impl TryFromValue<u32> for Value
impl Copy for Value
impl Eq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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