kos_sys::arch::dmac

Enum dma_request_t

Source
#[repr(C)]
pub enum dma_request_t {
Show 13 variants DMA_REQUEST_EXTERNAL_MEM_TO_MEM = 0, DMA_REQUEST_EXTERNAL_MEM_TO_DEV = 2, DMA_REQUEST_EXTERNAL_DEV_TO_MEM = 3, DMA_REQUEST_AUTO_MEM_TO_MEM = 4, DMA_REQUEST_AUTO_MEM_TO_DEV = 5, DMA_REQUEST_AUTO_DEV_TO_MEM = 6, DMA_REQUEST_SCI_TRANSMIT = 8, DMA_REQUEST_SCI_RECEIVE = 9, DMA_REQUEST_SCIF_TRANSMIT = 10, DMA_REQUEST_SCIF_RECEIVE = 11, DMA_REQUEST_TMU2_MEM_TO_MEM = 12, DMA_REQUEST_TMU2_MEM_TO_DEV = 13, DMA_REQUEST_TMU2_DEV_TO_MEM = 14,
}

Variants§

§

DMA_REQUEST_EXTERNAL_MEM_TO_MEM = 0

§

DMA_REQUEST_EXTERNAL_MEM_TO_DEV = 2

§

DMA_REQUEST_EXTERNAL_DEV_TO_MEM = 3

§

DMA_REQUEST_AUTO_MEM_TO_MEM = 4

§

DMA_REQUEST_AUTO_MEM_TO_DEV = 5

§

DMA_REQUEST_AUTO_DEV_TO_MEM = 6

§

DMA_REQUEST_SCI_TRANSMIT = 8

§

DMA_REQUEST_SCI_RECEIVE = 9

§

DMA_REQUEST_SCIF_TRANSMIT = 10

§

DMA_REQUEST_SCIF_RECEIVE = 11

§

DMA_REQUEST_TMU2_MEM_TO_MEM = 12

§

DMA_REQUEST_TMU2_MEM_TO_DEV = 13

§

DMA_REQUEST_TMU2_DEV_TO_MEM = 14

Auto Trait Implementations§

§

impl Freeze for dma_request_t

§

impl RefUnwindSafe for dma_request_t

§

impl Send for dma_request_t

§

impl Sync for dma_request_t

§

impl Unpin for dma_request_t

§

impl UnwindSafe for dma_request_t

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

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

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.