Struct stm32_hal2::dma::FrameReader [−][src]
pub struct FrameReader<BUFFER, CHANNEL, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, { /* fields omitted */ }Frame reader “worker”, access and handling of frame reads is made through this structure.
Implementations
impl<BUFFER, N> FrameReader<BUFFER, C1, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C1, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C2, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C2, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C3, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C3, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C4, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C4, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C5, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C5, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C6, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C6, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C7, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C7, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C1, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C1, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C2, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C2, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C3, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C3, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C4, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C4, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C5, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C5, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C6, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C6, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
impl<BUFFER, N> FrameReader<BUFFER, C7, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]
impl<BUFFER, N> FrameReader<BUFFER, C7, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
N: ArrayLength<MaybeUninit<u8>>, [src]pub fn transfer_complete_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the transfer complete interrupt of the corresponding DMA channel.
Returns the full buffer received by the USART.
pub fn character_match_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the character match interrupt of the corresponding USART
Returns the buffer received by the USART, including the matching character.
pub fn receiver_timeout_interrupt(&mut self, next_frame: BUFFER) -> BUFFER[src]
This function should be called from the receiver timeout interrupt of the corresponding USART
Returns the buffer received by the USART.
Auto Trait Implementations
impl<BUFFER, CHANNEL, N> Send for FrameReader<BUFFER, CHANNEL, N> where
BUFFER: Send,
CHANNEL: Send,
N: Send,
impl<BUFFER, CHANNEL, N> Send for FrameReader<BUFFER, CHANNEL, N> where
BUFFER: Send,
CHANNEL: Send,
N: Send, impl<BUFFER, CHANNEL, N> Sync for FrameReader<BUFFER, CHANNEL, N> where
BUFFER: Sync,
CHANNEL: Sync,
N: Sync,
impl<BUFFER, CHANNEL, N> Sync for FrameReader<BUFFER, CHANNEL, N> where
BUFFER: Sync,
CHANNEL: Sync,
N: Sync, impl<BUFFER, CHANNEL, N> Unpin for FrameReader<BUFFER, CHANNEL, N> where
BUFFER: Unpin,
CHANNEL: Unpin,
N: Unpin,
impl<BUFFER, CHANNEL, N> Unpin for FrameReader<BUFFER, CHANNEL, N> where
BUFFER: Unpin,
CHANNEL: Unpin,
N: Unpin,