libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/stm32/dma.h>
Go to the source code of this file.
Functions | |
void | dma_channel_reset (uint32_t dma, uint8_t channel) |
DMA Channel Reset. More... | |
void | dma_clear_interrupt_flags (uint32_t dma, uint8_t channel, uint32_t interrupts) |
DMA Channel Clear Interrupt Flag. More... | |
bool | dma_get_interrupt_flag (uint32_t dma, uint8_t channel, uint32_t interrupt) |
DMA Channel Read Interrupt Flag. More... | |
void | dma_enable_mem2mem_mode (uint32_t dma, uint8_t channel) |
DMA Channel Enable Memory to Memory Transfers. More... | |
void | dma_set_priority (uint32_t dma, uint8_t channel, uint32_t prio) |
DMA Channel Set Priority. More... | |
void | dma_set_memory_size (uint32_t dma, uint8_t channel, uint32_t mem_size) |
DMA Channel Set Memory Word Width. More... | |
void | dma_set_peripheral_size (uint32_t dma, uint8_t channel, uint32_t peripheral_size) |
DMA Channel Set Peripheral Word Width. More... | |
void | dma_enable_memory_increment_mode (uint32_t dma, uint8_t channel) |
DMA Channel Enable Memory Increment after Transfer. More... | |
void | dma_disable_memory_increment_mode (uint32_t dma, uint8_t channel) |
DMA Channel Disable Memory Increment after Transfer. More... | |
void | dma_enable_peripheral_increment_mode (uint32_t dma, uint8_t channel) |
DMA Channel Enable Peripheral Increment after Transfer. More... | |
void | dma_disable_peripheral_increment_mode (uint32_t dma, uint8_t channel) |
DMA Channel Disable Peripheral Increment after Transfer. More... | |
void | dma_enable_circular_mode (uint32_t dma, uint8_t channel) |
DMA Channel Enable Memory Circular Mode. More... | |
void | dma_set_read_from_peripheral (uint32_t dma, uint8_t channel) |
DMA Channel Enable Transfers from a Peripheral. More... | |
void | dma_set_read_from_memory (uint32_t dma, uint8_t channel) |
DMA Channel Enable Transfers from Memory. More... | |
void | dma_enable_transfer_error_interrupt (uint32_t dma, uint8_t channel) |
DMA Channel Enable Interrupt on Transfer Error. More... | |
void | dma_disable_transfer_error_interrupt (uint32_t dma, uint8_t channel) |
DMA Channel Disable Interrupt on Transfer Error. More... | |
void | dma_enable_half_transfer_interrupt (uint32_t dma, uint8_t channel) |
DMA Channel Enable Interrupt on Transfer Half Complete. More... | |
void | dma_disable_half_transfer_interrupt (uint32_t dma, uint8_t channel) |
DMA Channel Disable Interrupt on Transfer Half Complete. More... | |
void | dma_enable_transfer_complete_interrupt (uint32_t dma, uint8_t channel) |
DMA Channel Enable Interrupt on Transfer Complete. More... | |
void | dma_disable_transfer_complete_interrupt (uint32_t dma, uint8_t channel) |
DMA Channel Disable Interrupt on Transfer Complete. More... | |
void | dma_enable_channel (uint32_t dma, uint8_t channel) |
DMA Channel Enable. More... | |
void | dma_disable_channel (uint32_t dma, uint8_t channel) |
DMA Channel Disable. More... | |
void | dma_set_peripheral_address (uint32_t dma, uint8_t channel, uint32_t address) |
DMA Channel Set the Peripheral Address. More... | |
void | dma_set_memory_address (uint32_t dma, uint8_t channel, uint32_t address) |
DMA Channel Set the Base Memory Address. More... | |
uint16_t | dma_get_number_of_data (uint32_t dma, uint8_t channel) |
DMA Channel Get the Transfer Block Size. More... | |
void | dma_set_number_of_data (uint32_t dma, uint8_t channel, uint16_t number) |
DMA Channel Set the Transfer Block Size. More... | |