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_stream_reset (uint32_t dma, uint8_t stream) |
DMA Stream Reset. More... | |
void | dma_clear_interrupt_flags (uint32_t dma, uint8_t stream, uint32_t interrupts) |
DMA Stream Clear Interrupt Flag. More... | |
bool | dma_get_interrupt_flag (uint32_t dma, uint8_t stream, uint32_t interrupt) |
DMA Stream Read Interrupt Flag. More... | |
void | dma_set_transfer_mode (uint32_t dma, uint8_t stream, uint32_t direction) |
DMA Stream Enable Transfer Direction. More... | |
void | dma_set_priority (uint32_t dma, uint8_t stream, uint32_t prio) |
DMA Stream Set Priority. More... | |
void | dma_set_memory_size (uint32_t dma, uint8_t stream, uint32_t mem_size) |
DMA Stream Set Memory Word Width. More... | |
void | dma_set_peripheral_size (uint32_t dma, uint8_t stream, uint32_t peripheral_size) |
DMA Stream Set Peripheral Word Width. More... | |
void | dma_enable_memory_increment_mode (uint32_t dma, uint8_t stream) |
DMA Stream Enable Memory Increment after Transfer. More... | |
void | dma_disable_memory_increment_mode (uint32_t dma, uint8_t stream) |
DMA Channel Disable Memory Increment after Transfer. More... | |
void | dma_enable_peripheral_increment_mode (uint32_t dma, uint8_t stream) |
DMA Channel Enable Variable Sized Peripheral Increment after Transfer. More... | |
void | dma_disable_peripheral_increment_mode (uint32_t dma, uint8_t stream) |
DMA Channel Disable Peripheral Increment after Transfer. More... | |
void | dma_enable_fixed_peripheral_increment_mode (uint32_t dma, uint8_t stream) |
DMA Channel Enable Fixed Sized Peripheral Increment after Transfer. More... | |
void | dma_enable_circular_mode (uint32_t dma, uint8_t stream) |
DMA Stream Enable Memory Circular Mode. More... | |
void | dma_channel_select (uint32_t dma, uint8_t stream, uint32_t channel) |
DMA Stream Channel Select. More... | |
void | dma_set_memory_burst (uint32_t dma, uint8_t stream, uint32_t burst) |
DMA Stream Set Memory Burst Configuration. More... | |
void | dma_set_peripheral_burst (uint32_t dma, uint8_t stream, uint32_t burst) |
DMA Stream Set Peripheral Burst Configuration. More... | |
void | dma_set_initial_target (uint32_t dma, uint8_t stream, uint8_t memory) |
DMA Stream Set Initial Target Memory. More... | |
uint8_t | dma_get_target (uint32_t dma, uint8_t stream) |
DMA Stream Read Current Memory Target. More... | |
void | dma_enable_double_buffer_mode (uint32_t dma, uint8_t stream) |
DMA Stream Enable Double Buffer Mode. More... | |
void | dma_disable_double_buffer_mode (uint32_t dma, uint8_t stream) |
DMA Stream Disable Double Buffer Mode. More... | |
void | dma_set_peripheral_flow_control (uint32_t dma, uint8_t stream) |
DMA Stream Set Peripheral Flow Control. More... | |
void | dma_set_dma_flow_control (uint32_t dma, uint8_t stream) |
DMA Stream Set DMA Flow Control. More... | |
void | dma_enable_transfer_error_interrupt (uint32_t dma, uint8_t stream) |
DMA Stream Enable Interrupt on Transfer Error. More... | |
void | dma_disable_transfer_error_interrupt (uint32_t dma, uint8_t stream) |
DMA Stream Disable Interrupt on Transfer Error. More... | |
void | dma_enable_half_transfer_interrupt (uint32_t dma, uint8_t stream) |
DMA Stream Enable Interrupt on Transfer Half Complete. More... | |
void | dma_disable_half_transfer_interrupt (uint32_t dma, uint8_t stream) |
DMA Stream Disable Interrupt on Transfer Half Complete. More... | |
void | dma_enable_transfer_complete_interrupt (uint32_t dma, uint8_t stream) |
DMA Stream Enable Interrupt on Transfer Complete. More... | |
void | dma_disable_transfer_complete_interrupt (uint32_t dma, uint8_t stream) |
DMA Stream Disable Interrupt on Transfer Complete. More... | |
void | dma_enable_direct_mode_error_interrupt (uint32_t dma, uint8_t stream) |
DMA Stream Enable Interrupt on Direct Mode Error. More... | |
void | dma_disable_direct_mode_error_interrupt (uint32_t dma, uint8_t stream) |
DMA Stream Disable Interrupt on Direct Mode Error. More... | |
void | dma_enable_fifo_error_interrupt (uint32_t dma, uint8_t stream) |
DMA Enable Interrupt on FIFO Error. More... | |
void | dma_disable_fifo_error_interrupt (uint32_t dma, uint8_t stream) |
DMA Disable Interrupt on FIFO Error. More... | |
uint32_t | dma_fifo_status (uint32_t dma, uint8_t stream) |
DMA Get FIFO Status. More... | |
void | dma_enable_direct_mode (uint32_t dma, uint8_t stream) |
DMA Enable Direct Mode. More... | |
void | dma_enable_fifo_mode (uint32_t dma, uint8_t stream) |
DMA Enable FIFO Mode. More... | |
void | dma_set_fifo_threshold (uint32_t dma, uint8_t stream, uint32_t threshold) |
DMA Set FIFO Threshold. More... | |
void | dma_enable_stream (uint32_t dma, uint8_t stream) |
DMA Stream Enable. More... | |
void | dma_disable_stream (uint32_t dma, uint8_t stream) |
DMA Stream Disable. More... | |
void | dma_set_peripheral_address (uint32_t dma, uint8_t stream, uint32_t address) |
DMA Stream Set the Peripheral Address. More... | |
void | dma_set_memory_address (uint32_t dma, uint8_t stream, uint32_t address) |
DMA Stream Set the Base Memory Address 0. More... | |
void | dma_set_memory_address_1 (uint32_t dma, uint8_t stream, uint32_t address) |
DMA Stream Set the Base Memory Address 1. More... | |
uint16_t | dma_get_number_of_data (uint32_t dma, uint8_t stream) |
DMA Stream Get the Transfer Block Size. More... | |
void | dma_set_number_of_data (uint32_t dma, uint8_t stream, uint16_t number) |
DMA Stream Set the Transfer Block Size. More... | |