#[repr(u8)]pub enum FUNCTION_A {
UART0_RTS = 0,
UART0_CTS = 1,
UART0_TXD = 2,
UART0_RXD = 3,
UART1_RTS = 4,
UART1_CTS = 5,
UART1_TXD = 6,
UART1_RXD = 7,
}
Expand description
Select peripheral function for UART signal %s
Value on reset: 0
Variants§
UART0_RTS = 0
0: UART0 Request-to-Send flow control
UART0_CTS = 1
1: UART0 Clear-to-Send flow control
UART0_TXD = 2
2: UART0 transmit data
UART0_RXD = 3
3: UART0 receive data
UART1_RTS = 4
4: UART1 Request-to-Send flow control
UART1_CTS = 5
5: UART1 Clear-to-Send flow control
UART1_TXD = 6
6: UART1 transmit data
UART1_RXD = 7
7: UART1 receive data
Trait Implementations§
Source§impl Clone for FUNCTION_A
impl Clone for FUNCTION_A
Source§fn clone(&self) -> FUNCTION_A
fn clone(&self) -> FUNCTION_A
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 moreSource§impl Debug for FUNCTION_A
impl Debug for FUNCTION_A
Source§impl From<FUNCTION_A> for u8
impl From<FUNCTION_A> for u8
Source§fn from(variant: FUNCTION_A) -> Self
fn from(variant: FUNCTION_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FUNCTION_A
impl PartialEq for FUNCTION_A
impl Copy for FUNCTION_A
impl Eq for FUNCTION_A
impl StructuralPartialEq for FUNCTION_A
Auto Trait Implementations§
impl Freeze for FUNCTION_A
impl RefUnwindSafe for FUNCTION_A
impl Send for FUNCTION_A
impl Sync for FUNCTION_A
impl Unpin for FUNCTION_A
impl UnwindSafe for FUNCTION_A
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