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 more