Enum stm32_hal2::usart::UsartInterrupt
source · pub enum UsartInterrupt {
}
Expand description
The type of USART interrupt to configure. Reference the USART_ISR register.
Variants§
CharDetect(Option<u8>)
If the inner value of this is Some
, its inner value will set
the character to match on enable_interrupt
. The option’s value doesn’t
affect anything when stopping or clearing interrupts.
Cts
EndOfBlock
Idle
FramingError
LineBreak
Overrun
ParityError
ReadNotEmpty
ReceiverTimeout
Tcbgt
TransmissionComplete
TransmitEmpty
Trait Implementations§
source§impl Clone for UsartInterrupt
impl Clone for UsartInterrupt
source§fn clone(&self) -> UsartInterrupt
fn clone(&self) -> UsartInterrupt
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 moreimpl Copy for UsartInterrupt
Auto Trait Implementations§
impl RefUnwindSafe for UsartInterrupt
impl Send for UsartInterrupt
impl Sync for UsartInterrupt
impl Unpin for UsartInterrupt
impl UnwindSafe for UsartInterrupt
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