Hardware Abstraction Layer (HAL)
mtb_hal_dma_configurator_t Struct Reference

Description

DMA configurator struct.

This struct allows a configurator to provide block configuration information to the HAL. Because configurator-generated configurations are platform specific, the contents of this struct is subject to change between platforms and/or HAL releases.

Data Fields

mtb_hal_dma_type_t dma_type
 DMA type (DW or DMAC)
 
uint32_t channel
 Channel number.
 
struct {
   union {
_mtb_hal_dw_base_t const * dw_base
 Datawire base address.
 
   } 
 
   union {
_mtb_hal_dw_descriptor_t * dw_descriptor
 Datawire descriptor.
 
   } 
 
}; 
 Implementation-specific configuration.
 

Field Documentation

◆ dma_type

mtb_hal_dma_type_t mtb_hal_dma_configurator_t::dma_type

DMA type (DW or DMAC)

◆ channel

uint32_t mtb_hal_dma_configurator_t::channel

Channel number.

◆ 

struct { ... }

Implementation-specific configuration.