pub struct CircBuffer<BUFFER, PAYLOAD> where
    BUFFER: 'static, 
{ /* private fields */ }

Implementations

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Reads and removes the available contents of the dma buffer into buf. Returns Err(Error::Overrun) if an overrun is detected but there is no guarantee that every overrun can be detected. On success, returns the number of words written to buf.

Stops the transfer and returns the underlying buffer and RxDma

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.