libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Defined Constants and Types for the DMA module More...
Data Structures | |
struct | dma_chan_desc |
Modules | |
DMA Channel Number | |
Enumerations | |
enum | dma_mem { DMA_MEM_BYTE = 0 , DMA_MEM_HALF_WORD , DMA_MEM_WORD , DMA_MEM_NONE } |
enum | dma_mode { DMA_MODE_INVALID = 0 , DMA_MODE_BASIC , DMA_MODE_AUTO_REQUEST , DMA_MODE_PING_PONG , DMA_MODE_MEM_SCAT_GATH_PRIM , DMA_MODE_MEM_SCAT_GATH_ALT , DMA_MODE_PERIPH_SCAT_GATH_PRIM , DMA_MODE_PERIPH_SCAT_GATH_ALT } |
enum | dma_r_power { DMA_R_POWER_1 = 0 , DMA_R_POWER_2 , DMA_R_POWER_4 , DMA_R_POWER_8 , DMA_R_POWER_16 , DMA_R_POWER_32 , DMA_R_POWER_64 , DMA_R_POWER_128 , DMA_R_POWER_256 , DMA_R_POWER_512 , DMA_R_POWER_1024 } |
Functions | |
void | dma_enable (void) |
same as dma_enable_with_unprivileged_access() More... | |
void | dma_disable (void) |
Disable DMA. More... | |
bool | dma_get_wait_on_request_flag (enum dma_ch ch) |
Get channel wait on request status flag. More... | |
void | dma_enable_with_unprivileged_access (void) |
Enable DMA with un-privileged access. More... | |
void | dma_enable_with_privileged_access (void) |
Enable DMA with privileged access. More... | |
void | dma_set_desc_address (uint32_t desc_base) |
Set channel's descriptor address. More... | |
void | dma_generate_software_request (enum dma_ch ch) |
Generate a software request on channel. More... | |
void | dma_enable_burst_only (enum dma_ch ch) |
Enable channel burst only. More... | |
void | dma_enable_single_and_burst (enum dma_ch ch) |
Enable channel single and burst. More... | |
void | dma_enable_periph_request (enum dma_ch ch) |
Enable channel peripherial request. More... | |
void | dma_disable_periph_request (enum dma_ch ch) |
Disable channel peripherial request. More... | |
void | dma_enable_channel (enum dma_ch ch) |
Enable channel. More... | |
void | dma_disable_channel (enum dma_ch ch) |
Disable channel. More... | |
void | dma_disable_alternate_structure (enum dma_ch ch) |
Disable channel alternate structure. More... | |
void | dma_enable_alternate_structure (enum dma_ch ch) |
Enable channel alternate structure. More... | |
void | dma_enable_priority (enum dma_ch ch) |
Enable channel high priority. More... | |
void | dma_disable_priority (enum dma_ch ch) |
Disable channel high priority. More... | |
bool | dma_get_bus_error_flag (void) |
Get bus error flag. More... | |
void | dma_clear_bus_error_flag (void) |
Clear bus error flag. More... | |
bool | dma_get_request_flag (enum dma_ch ch) |
Get channel request flag. More... | |
bool | dma_get_bus_error_interrupt_flag (void) |
Get bus error interrupt flag. More... | |
bool | dma_get_done_interrupt_flag (enum dma_ch ch) |
Get channel done interrupt flag. More... | |
void | dma_set_bus_error_interrupt_flag (void) |
Set bus error interrupt flag. More... | |
void | dma_set_done_interrupt_flag (enum dma_ch ch) |
Set channel done interrupt flag. More... | |
void | dma_clear_bus_error_interrupt_flag (void) |
Clear bus error interrupt flag. More... | |
void | dma_clear_done_interrupt_flag (enum dma_ch ch) |
Clear channel done interrupt flag. More... | |
void | dma_enable_bus_error_interrupt (void) |
Enable bus error interrupt. More... | |
void | dma_disable_bus_error_interrupt (void) |
Disable bus error interrupt. More... | |
void | dma_enable_done_interrupt (enum dma_ch ch) |
Enable channel done interrupt. More... | |
void | dma_disable_done_interrupt (enum dma_ch ch) |
Disable channel done interrupt. More... | |
void | dma_set_source (enum dma_ch ch, uint32_t source) |
Set channel source. More... | |
void | dma_set_signal (enum dma_ch ch, uint32_t signal) |
Set channel source signal. More... | |
void | dma_channel_reset (enum dma_ch ch) |
Reset channel. More... | |
void | dma_set_loop_count (enum dma_ch ch, uint16_t count) |
Set channel loop width to ( count + 1) More... | |
void | dma_enable_loop (enum dma_ch ch) |
Enable channel loop. More... | |
void | dma_disable_loop (enum dma_ch ch) |
Disable channel loop. More... | |
void | dma_desc_set_dest_size (uint32_t desc_base, enum dma_ch ch, enum dma_mem size) |
Set desination size. More... | |
void | dma_desc_set_dest_inc (uint32_t desc_base, enum dma_ch ch, enum dma_mem inc) |
Set destination increment. More... | |
void | dma_desc_set_src_size (uint32_t desc_base, enum dma_ch ch, enum dma_mem size) |
Set source size. More... | |
void | dma_desc_set_src_inc (uint32_t desc_base, enum dma_ch ch, enum dma_mem inc) |
Set source increment. More... | |
void | dma_desc_set_r_power (uint32_t desc_base, enum dma_ch ch, enum dma_r_power r_power) |
Set R Power. More... | |
void | dma_desc_enable_next_useburst (uint32_t desc_base, enum dma_ch ch) |
Enable next useburst. More... | |
void | dma_desc_disable_next_useburst (uint32_t desc_base, enum dma_ch ch) |
Disable next useburst. More... | |
void | dma_desc_set_count (uint32_t desc_base, enum dma_ch ch, uint16_t count) |
Set number (count) of transfer to be performed. More... | |
void | dma_desc_set_user_data (uint32_t desc_base, enum dma_ch ch, uint32_t user_data) |
Store user data field in channel descriptor. More... | |
uint32_t | dma_desc_get_user_data (uint32_t desc_base, enum dma_ch ch) |
Extract user data field from channel descriptor. More... | |
void | dma_desc_set_src_address (uint32_t desc_base, enum dma_ch ch, uint32_t src) |
Assign Source address to DMA Channel. More... | |
void | dma_desc_set_dest_address (uint32_t desc_base, enum dma_ch ch, uint32_t dest) |
Assign Destination address to DMA Channel. More... | |
void | dma_desc_set_mode (uint32_t desc_base, enum dma_ch ch, enum dma_mode mode) |
Set the channel mode ("Cycle control") More... | |
Defined Constants and Types for the DMA module
LGPL License Terms libopencm3 License
#define DMA DMA_BASE |
Definition at line 40 of file dma_common.h.
Definition at line 45 of file dma_common.h.
#define DMA_CH0_CTRL DMA_CHx_CTRL(0) |
Definition at line 77 of file dma_common.h.
#define DMA_CH10_CTRL DMA_CHx_CTRL(10) |
Definition at line 87 of file dma_common.h.
#define DMA_CH11_CTRL DMA_CHx_CTRL(11) |
Definition at line 88 of file dma_common.h.
#define DMA_CH1_CTRL DMA_CHx_CTRL(1) |
Definition at line 78 of file dma_common.h.
#define DMA_CH2_CTRL DMA_CHx_CTRL(2) |
Definition at line 79 of file dma_common.h.
#define DMA_CH3_CTRL DMA_CHx_CTRL(3) |
Definition at line 80 of file dma_common.h.
#define DMA_CH4_CTRL DMA_CHx_CTRL(4) |
Definition at line 81 of file dma_common.h.
#define DMA_CH5_CTRL DMA_CHx_CTRL(5) |
Definition at line 82 of file dma_common.h.
#define DMA_CH6_CTRL DMA_CHx_CTRL(6) |
Definition at line 83 of file dma_common.h.
#define DMA_CH7_CTRL DMA_CHx_CTRL(7) |
Definition at line 84 of file dma_common.h.
#define DMA_CH8_CTRL DMA_CHx_CTRL(8) |
Definition at line 85 of file dma_common.h.
#define DMA_CH9_CTRL DMA_CHx_CTRL(9) |
Definition at line 86 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL | ( | v | ) | (((v) << DMA_CH_CTRL_SIGSEL_SHIFT) & DMA_CH_CTRL_SIGSEL_MASK) |
Definition at line 464 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_ADC0SCAN 1 |
Definition at line 469 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_ADC0SINGLE 0 |
Definition at line 468 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_ADC_SCAN 1 |
Definition at line 530 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_ADC_SINGLE 0 |
Definition at line 529 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_AES_DATA_RD 2 |
Definition at line 557 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_AES_DATA_WR 0 |
Definition at line 555 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_AES_KEY_WR 3 |
Definition at line 558 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_AES_XOR_DATA_WR 1 |
Definition at line 556 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_AESDATARD 2 |
Definition at line 520 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_AESDATAWR 0 |
Definition at line 518 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_AESKEYWR 3 |
Definition at line 521 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_AESXORDATAWR 1 |
Definition at line 519 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_DAC0CH0 0 |
Definition at line 470 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_DAC0CH1 1 |
Definition at line 471 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_DAC_CH0 0 |
Definition at line 532 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_DAC_CH1 1 |
Definition at line 533 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_DAC_CHx | ( | x | ) | DMA_CH_CTRL_SIGSEL(x) |
Definition at line 531 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_EBI_DD_EMPTY 3 |
Definition at line 566 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_EBI_PXL0_EMPTY 0 |
Definition at line 561 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_EBI_PXL1_EMPTY 1 |
Definition at line 563 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_EBI_PXL_FULL 2 |
Definition at line 565 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_EBI_PXLx_EMPTY | ( | x | ) | DMA_CH_CTRL_SIGSEL(x) |
Definition at line 560 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_EBIDDEMPTY 3 |
Definition at line 526 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_EBIPXL0EMPTY 0 |
Definition at line 523 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_EBIPXL1EMPTY 1 |
Definition at line 524 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_EBIPXLFULL 2 |
Definition at line 525 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_I2C0RXDATAV 0 |
Definition at line 491 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_I2C0TXBL 1 |
Definition at line 492 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_I2C1RXDATAV 0 |
Definition at line 493 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_I2C1TXBL 1 |
Definition at line 494 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_I2C_RXDATAV 0 |
Definition at line 544 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_I2C_RXDATAV 0 |
Definition at line 544 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_I2C_TXBL 1 |
Definition at line 545 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_I2C_TXBL 1 |
Definition at line 545 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_LESENSE_BUF_DATAV 0 |
Definition at line 559 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_LESENSEBUFDATAV 0 |
Definition at line 522 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_LEUART0RXDATAV 0 |
Definition at line 485 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_LEUART0TXBL 1 |
Definition at line 486 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_LEUART0TXEMPTY 2 |
Definition at line 487 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_LEUART1RXDATAV 0 |
Definition at line 488 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_LEUART1TXBL 1 |
Definition at line 489 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_LEUART1TXEMPTY 2 |
Definition at line 490 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_LEUART_RXDATAV 0 |
Definition at line 539 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_LEUART_TXBL 1 |
Definition at line 540 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_LEUART_TXEMPTY 2 |
Definition at line 541 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_MASK (0xF << DMA_CH_CTRL_SIGSEL_SHIFT) |
Definition at line 463 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_MSC_WDATA 0 |
Definition at line 554 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_MSCWDATA 0 |
Definition at line 517 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_OFF 0 |
Definition at line 467 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_SHIFT (0) |
Definition at line 462 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER0CC0 1 |
Definition at line 496 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER0CC1 2 |
Definition at line 497 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER0CC2 3 |
Definition at line 498 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER0UFOF 0 |
Definition at line 495 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER1CC0 1 |
Definition at line 500 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER1CC1 2 |
Definition at line 501 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER1CC2 3 |
Definition at line 502 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER1UFOF 0 |
Definition at line 499 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER2CC0 1 |
Definition at line 504 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER2CC1 2 |
Definition at line 505 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER2CC2 3 |
Definition at line 506 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER2UFOF 0 |
Definition at line 503 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER3CC0 1 |
Definition at line 508 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER3CC1 2 |
Definition at line 509 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER3CC2 3 |
Definition at line 510 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER3UFOF 0 |
Definition at line 507 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER_CC0 DMA_CH_CTRL_SIGSEL_TIMER_CCx(0) |
Definition at line 548 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER_CC1 DMA_CH_CTRL_SIGSEL_TIMER_CCx(1) |
Definition at line 549 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER_CC2 DMA_CH_CTRL_SIGSEL_TIMER_CCx(3) |
Definition at line 550 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER_CCx | ( | x | ) | DMA_CH_CTRL_SIGSEL((x) + 1) |
Definition at line 547 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_TIMER_UFOF 0 |
Definition at line 546 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_UART0RXDATAV 0 |
Definition at line 511 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_UART0TXBL 1 |
Definition at line 512 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_UART0TXEMPTY 2 |
Definition at line 513 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_UART1RXDATAV 0 |
Definition at line 514 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_UART1TXBL 1 |
Definition at line 515 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_UART1TXEMPTY 2 |
Definition at line 516 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_UART_RXDATAV 0 |
Definition at line 551 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_UART_TXBL 1 |
Definition at line 552 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_UART_TXEMPTY 2 |
Definition at line 553 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART0RXDATAV 0 |
Definition at line 472 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART0TXBL 1 |
Definition at line 473 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART0TXEMPTY 2 |
Definition at line 474 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART1RXDATAV 0 |
Definition at line 475 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART1RXDATAVRIGHT 3 |
Definition at line 478 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART1TXBL 1 |
Definition at line 476 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART1TXBLRIGHT 4 |
Definition at line 479 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART1TXEMPTY 2 |
Definition at line 477 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART2RXDATAV 0 |
Definition at line 480 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART2RXDATAVRIGHT 3 |
Definition at line 483 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART2TXBL 1 |
Definition at line 481 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART2TXBLRIGHT 4 |
Definition at line 484 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART2TXEMPTY 2 |
Definition at line 482 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART_RXDATAV 0 |
Definition at line 534 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART_RXDATAVRIGHT 3 |
Definition at line 537 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART_TXBL 1 |
Definition at line 535 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART_TXBLRIGHT 4 |
Definition at line 538 of file dma_common.h.
#define DMA_CH_CTRL_SIGSEL_USART_TXEMPTY 2 |
Definition at line 536 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL | ( | v | ) | (((v) << DMA_CH_CTRL_SOURCESEL_SHIFT) & DMA_CH_CTRL_SOURCESEL_MASK) |
Definition at line 439 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_ADC0 0b001000 |
Definition at line 442 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_AES 0b110001 |
Definition at line 458 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_DAC0 0b001010 |
Definition at line 443 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_EBI 0b110011 |
Definition at line 460 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_I2C0 0b010100 |
Definition at line 449 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_I2C1 0b010101 |
Definition at line 450 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_LESENSE 0b110010 |
Definition at line 459 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_LEUART0 0b010000 |
Definition at line 447 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_LEUART1 0b010001 |
Definition at line 448 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_MASK (0x3F << DMA_CH_CTRL_SOURCESEL_SHIFT) |
Definition at line 438 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_MSC 0b110000 |
Definition at line 457 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_NONE 0b000000 |
Definition at line 441 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_SHIFT (16) |
Definition at line 437 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_TIMER0 0b011000 |
Definition at line 451 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_TIMER1 0b011001 |
Definition at line 452 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_TIMER2 0b011010 |
Definition at line 453 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_TIMER3 0b011011 |
Definition at line 454 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_UART0 0b101100 |
Definition at line 455 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_UART1 0b101101 |
Definition at line 456 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_USART0 0b001100 |
Definition at line 444 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_USART1 0b001101 |
Definition at line 445 of file dma_common.h.
#define DMA_CH_CTRL_SOURCESEL_USART2 0b001110 |
Definition at line 446 of file dma_common.h.
Definition at line 56 of file dma_common.h.
#define DMA_CHALTC_CH0SALTC DMA_CHALTC_CHxSALTC(0) |
Definition at line 264 of file dma_common.h.
#define DMA_CHALTC_CH10SALTC DMA_CHALTC_CHxSALTC(10) |
Definition at line 254 of file dma_common.h.
#define DMA_CHALTC_CH11SALTC DMA_CHALTC_CHxSALTC(11) |
Definition at line 253 of file dma_common.h.
#define DMA_CHALTC_CH1SALTC DMA_CHALTC_CHxSALTC(1) |
Definition at line 263 of file dma_common.h.
#define DMA_CHALTC_CH2SALTC DMA_CHALTC_CHxSALTC(2) |
Definition at line 262 of file dma_common.h.
#define DMA_CHALTC_CH3SALTC DMA_CHALTC_CHxSALTC(3) |
Definition at line 261 of file dma_common.h.
#define DMA_CHALTC_CH4SALTC DMA_CHALTC_CHxSALTC(4) |
Definition at line 260 of file dma_common.h.
#define DMA_CHALTC_CH5SALTC DMA_CHALTC_CHxSALTC(5) |
Definition at line 259 of file dma_common.h.
#define DMA_CHALTC_CH6SALTC DMA_CHALTC_CHxSALTC(6) |
Definition at line 258 of file dma_common.h.
#define DMA_CHALTC_CH7SALTC DMA_CHALTC_CHxSALTC(7) |
Definition at line 257 of file dma_common.h.
#define DMA_CHALTC_CH8SALTC DMA_CHALTC_CHxSALTC(8) |
Definition at line 256 of file dma_common.h.
#define DMA_CHALTC_CH9SALTC DMA_CHALTC_CHxSALTC(9) |
Definition at line 255 of file dma_common.h.
#define DMA_CHALTC_CHxSALTC | ( | i | ) | (1 << (i)) |
Definition at line 252 of file dma_common.h.
Definition at line 55 of file dma_common.h.
#define DMA_CHALTS_CH0SALTS DMA_CHALTS_CHxSALTS(0) |
Definition at line 249 of file dma_common.h.
#define DMA_CHALTS_CH10SALTS DMA_CHALTS_CHxSALTS(10) |
Definition at line 239 of file dma_common.h.
#define DMA_CHALTS_CH11SALTS DMA_CHALTS_CHxSALTS(11) |
Definition at line 238 of file dma_common.h.
#define DMA_CHALTS_CH1SALTS DMA_CHALTS_CHxSALTS(1) |
Definition at line 248 of file dma_common.h.
#define DMA_CHALTS_CH2SALTS DMA_CHALTS_CHxSALTS(2) |
Definition at line 247 of file dma_common.h.
#define DMA_CHALTS_CH3SALTS DMA_CHALTS_CHxSALTS(3) |
Definition at line 246 of file dma_common.h.
#define DMA_CHALTS_CH4SALTS DMA_CHALTS_CHxSALTS(4) |
Definition at line 245 of file dma_common.h.
#define DMA_CHALTS_CH5SALTS DMA_CHALTS_CHxSALTS(5) |
Definition at line 244 of file dma_common.h.
#define DMA_CHALTS_CH6SALTS DMA_CHALTS_CHxSALTS(6) |
Definition at line 243 of file dma_common.h.
#define DMA_CHALTS_CH7SALTS DMA_CHALTS_CHxSALTS(7) |
Definition at line 242 of file dma_common.h.
#define DMA_CHALTS_CH8SALTS DMA_CHALTS_CHxSALTS(8) |
Definition at line 241 of file dma_common.h.
#define DMA_CHALTS_CH9SALTS DMA_CHALTS_CHxSALTS(9) |
Definition at line 240 of file dma_common.h.
#define DMA_CHALTS_CHxSALTS | ( | i | ) | (1 << (i)) |
Definition at line 237 of file dma_common.h.
Definition at line 54 of file dma_common.h.
#define DMA_CHENC_CH0SENC DMA_CHENC_CHxSENC(0) |
Definition at line 234 of file dma_common.h.
#define DMA_CHENC_CH10SENC DMA_CHENC_CHxSENC(10) |
Definition at line 224 of file dma_common.h.
#define DMA_CHENC_CH11SENC DMA_CHENC_CHxSENC(11) |
Definition at line 223 of file dma_common.h.
#define DMA_CHENC_CH1SENC DMA_CHENC_CHxSENC(1) |
Definition at line 233 of file dma_common.h.
#define DMA_CHENC_CH2SENC DMA_CHENC_CHxSENC(2) |
Definition at line 232 of file dma_common.h.
#define DMA_CHENC_CH3SENC DMA_CHENC_CHxSENC(3) |
Definition at line 231 of file dma_common.h.
#define DMA_CHENC_CH4SENC DMA_CHENC_CHxSENC(4) |
Definition at line 230 of file dma_common.h.
#define DMA_CHENC_CH5SENC DMA_CHENC_CHxSENC(5) |
Definition at line 229 of file dma_common.h.
#define DMA_CHENC_CH6SENC DMA_CHENC_CHxSENC(6) |
Definition at line 228 of file dma_common.h.
#define DMA_CHENC_CH7SENC DMA_CHENC_CHxSENC(7) |
Definition at line 227 of file dma_common.h.
#define DMA_CHENC_CH8SENC DMA_CHENC_CHxSENC(8) |
Definition at line 226 of file dma_common.h.
#define DMA_CHENC_CH9SENC DMA_CHENC_CHxSENC(9) |
Definition at line 225 of file dma_common.h.
#define DMA_CHENC_CHxSENC | ( | i | ) | (1 << (i)) |
Definition at line 222 of file dma_common.h.
Definition at line 53 of file dma_common.h.
#define DMA_CHENS_CH0SENS DMA_CHENS_CHxSENS(0) |
Definition at line 219 of file dma_common.h.
#define DMA_CHENS_CH10SENS DMA_CHENS_CHxSENS(10) |
Definition at line 209 of file dma_common.h.
#define DMA_CHENS_CH11SENS DMA_CHENS_CHxSENS(11) |
Definition at line 208 of file dma_common.h.
#define DMA_CHENS_CH1SENS DMA_CHENS_CHxSENS(1) |
Definition at line 218 of file dma_common.h.
#define DMA_CHENS_CH2SENS DMA_CHENS_CHxSENS(2) |
Definition at line 217 of file dma_common.h.
#define DMA_CHENS_CH3SENS DMA_CHENS_CHxSENS(3) |
Definition at line 216 of file dma_common.h.
#define DMA_CHENS_CH4SENS DMA_CHENS_CHxSENS(4) |
Definition at line 215 of file dma_common.h.
#define DMA_CHENS_CH5SENS DMA_CHENS_CHxSENS(5) |
Definition at line 214 of file dma_common.h.
#define DMA_CHENS_CH6SENS DMA_CHENS_CHxSENS(6) |
Definition at line 213 of file dma_common.h.
#define DMA_CHENS_CH7SENS DMA_CHENS_CHxSENS(7) |
Definition at line 212 of file dma_common.h.
#define DMA_CHENS_CH8SENS DMA_CHENS_CHxSENS(8) |
Definition at line 211 of file dma_common.h.
#define DMA_CHENS_CH9SENS DMA_CHENS_CHxSENS(9) |
Definition at line 210 of file dma_common.h.
#define DMA_CHENS_CHxSENS | ( | i | ) | (1 << (i)) |
Definition at line 207 of file dma_common.h.
Definition at line 58 of file dma_common.h.
#define DMA_CHPRIC_CH0SPRIC DMA_CHPRIC_CHxSPRIC(0) |
Definition at line 294 of file dma_common.h.
#define DMA_CHPRIC_CH10SPRIC DMA_CHPRIC_CHxSPRIC(10) |
Definition at line 284 of file dma_common.h.
#define DMA_CHPRIC_CH11SPRIC DMA_CHPRIC_CHxSPRIC(11) |
Definition at line 283 of file dma_common.h.
#define DMA_CHPRIC_CH1SPRIC DMA_CHPRIC_CHxSPRIC(1) |
Definition at line 293 of file dma_common.h.
#define DMA_CHPRIC_CH2SPRIC DMA_CHPRIC_CHxSPRIC(2) |
Definition at line 292 of file dma_common.h.
#define DMA_CHPRIC_CH3SPRIC DMA_CHPRIC_CHxSPRIC(3) |
Definition at line 291 of file dma_common.h.
#define DMA_CHPRIC_CH4SPRIC DMA_CHPRIC_CHxSPRIC(4) |
Definition at line 290 of file dma_common.h.
#define DMA_CHPRIC_CH5SPRIC DMA_CHPRIC_CHxSPRIC(5) |
Definition at line 289 of file dma_common.h.
#define DMA_CHPRIC_CH6SPRIC DMA_CHPRIC_CHxSPRIC(6) |
Definition at line 288 of file dma_common.h.
#define DMA_CHPRIC_CH7SPRIC DMA_CHPRIC_CHxSPRIC(7) |
Definition at line 287 of file dma_common.h.
#define DMA_CHPRIC_CH8SPRIC DMA_CHPRIC_CHxSPRIC(8) |
Definition at line 286 of file dma_common.h.
#define DMA_CHPRIC_CH9SPRIC DMA_CHPRIC_CHxSPRIC(9) |
Definition at line 285 of file dma_common.h.
#define DMA_CHPRIC_CHxSPRIC | ( | i | ) | (1 << (i)) |
Definition at line 282 of file dma_common.h.
Definition at line 57 of file dma_common.h.
#define DMA_CHPRIS_CH0SPRIC DMA_CHPRIS_CHxSPRIC(0) |
Definition at line 279 of file dma_common.h.
#define DMA_CHPRIS_CH10SPRIC DMA_CHPRIS_CHxSPRIC(10) |
Definition at line 269 of file dma_common.h.
#define DMA_CHPRIS_CH11SPRIC DMA_CHPRIS_CHxSPRIC(11) |
Definition at line 268 of file dma_common.h.
#define DMA_CHPRIS_CH1SPRIC DMA_CHPRIS_CHxSPRIC(1) |
Definition at line 278 of file dma_common.h.
#define DMA_CHPRIS_CH2SPRIC DMA_CHPRIS_CHxSPRIC(2) |
Definition at line 277 of file dma_common.h.
#define DMA_CHPRIS_CH3SPRIC DMA_CHPRIS_CHxSPRIC(3) |
Definition at line 276 of file dma_common.h.
#define DMA_CHPRIS_CH4SPRIC DMA_CHPRIS_CHxSPRIC(4) |
Definition at line 275 of file dma_common.h.
#define DMA_CHPRIS_CH5SPRIC DMA_CHPRIS_CHxSPRIC(5) |
Definition at line 274 of file dma_common.h.
#define DMA_CHPRIS_CH6SPRIC DMA_CHPRIS_CHxSPRIC(6) |
Definition at line 273 of file dma_common.h.
#define DMA_CHPRIS_CH7SPRIC DMA_CHPRIS_CHxSPRIC(7) |
Definition at line 272 of file dma_common.h.
#define DMA_CHPRIS_CH8SPRIC DMA_CHPRIS_CHxSPRIC(8) |
Definition at line 271 of file dma_common.h.
#define DMA_CHPRIS_CH9SPRIC DMA_CHPRIS_CHxSPRIC(9) |
Definition at line 270 of file dma_common.h.
#define DMA_CHPRIS_CHxSPRIC | ( | i | ) | (1 << (i)) |
Definition at line 267 of file dma_common.h.
Definition at line 52 of file dma_common.h.
#define DMA_CHREQMASKC_CH0SREQMASKC DMA_CHREQMASKC_CHxSREQMASKC(0) |
Definition at line 204 of file dma_common.h.
#define DMA_CHREQMASKC_CH10SREQMASKC DMA_CHREQMASKC_CHxSREQMASKC(10) |
Definition at line 194 of file dma_common.h.
#define DMA_CHREQMASKC_CH11SREQMASKC DMA_CHREQMASKC_CHxSREQMASKC(11) |
Definition at line 193 of file dma_common.h.
#define DMA_CHREQMASKC_CH1SREQMASKC DMA_CHREQMASKC_CHxSREQMASKC(1) |
Definition at line 203 of file dma_common.h.
#define DMA_CHREQMASKC_CH2SREQMASKC DMA_CHREQMASKC_CHxSREQMASKC(2) |
Definition at line 202 of file dma_common.h.
#define DMA_CHREQMASKC_CH3SREQMASKC DMA_CHREQMASKC_CHxSREQMASKC(3) |
Definition at line 201 of file dma_common.h.
#define DMA_CHREQMASKC_CH4SREQMASKC DMA_CHREQMASKC_CHxSREQMASKC(4) |
Definition at line 200 of file dma_common.h.
#define DMA_CHREQMASKC_CH5SREQMASKC DMA_CHREQMASKC_CHxSREQMASKC(5) |
Definition at line 199 of file dma_common.h.
#define DMA_CHREQMASKC_CH6SREQMASKC DMA_CHREQMASKC_CHxSREQMASKC(6) |
Definition at line 198 of file dma_common.h.
#define DMA_CHREQMASKC_CH7SREQMASKC DMA_CHREQMASKC_CHxSREQMASKC(7) |
Definition at line 197 of file dma_common.h.
#define DMA_CHREQMASKC_CH8SREQMASKC DMA_CHREQMASKC_CHxSREQMASKC(8) |
Definition at line 196 of file dma_common.h.
#define DMA_CHREQMASKC_CH9SREQMASKC DMA_CHREQMASKC_CHxSREQMASKC(9) |
Definition at line 195 of file dma_common.h.
#define DMA_CHREQMASKC_CHxSREQMASKC | ( | i | ) | (1 << (i)) |
Definition at line 192 of file dma_common.h.
Definition at line 51 of file dma_common.h.
#define DMA_CHREQMASKS_CH0SREQMASKS DMA_CHREQMASKS_CHxSREQMASKS(0) |
Definition at line 189 of file dma_common.h.
#define DMA_CHREQMASKS_CH10SREQMASKS DMA_CHREQMASKS_CHxSREQMASKS(10) |
Definition at line 179 of file dma_common.h.
#define DMA_CHREQMASKS_CH11SREQMASKS DMA_CHREQMASKS_CHxSREQMASKS(11) |
Definition at line 178 of file dma_common.h.
#define DMA_CHREQMASKS_CH1SREQMASKS DMA_CHREQMASKS_CHxSREQMASKS(1) |
Definition at line 188 of file dma_common.h.
#define DMA_CHREQMASKS_CH2SREQMASKS DMA_CHREQMASKS_CHxSREQMASKS(2) |
Definition at line 187 of file dma_common.h.
#define DMA_CHREQMASKS_CH3SREQMASKS DMA_CHREQMASKS_CHxSREQMASKS(3) |
Definition at line 186 of file dma_common.h.
#define DMA_CHREQMASKS_CH4SREQMASKS DMA_CHREQMASKS_CHxSREQMASKS(4) |
Definition at line 185 of file dma_common.h.
#define DMA_CHREQMASKS_CH5SREQMASKS DMA_CHREQMASKS_CHxSREQMASKS(5) |
Definition at line 184 of file dma_common.h.
#define DMA_CHREQMASKS_CH6SREQMASKS DMA_CHREQMASKS_CHxSREQMASKS(6) |
Definition at line 183 of file dma_common.h.
#define DMA_CHREQMASKS_CH7SREQMASKS DMA_CHREQMASKS_CHxSREQMASKS(7) |
Definition at line 182 of file dma_common.h.
#define DMA_CHREQMASKS_CH8SREQMASKS DMA_CHREQMASKS_CHxSREQMASKS(8) |
Definition at line 181 of file dma_common.h.
#define DMA_CHREQMASKS_CH9SREQMASKS DMA_CHREQMASKS_CHxSREQMASKS(9) |
Definition at line 180 of file dma_common.h.
#define DMA_CHREQMASKS_CHxSREQMASKS | ( | i | ) | (1 << (i)) |
Definition at line 177 of file dma_common.h.
Definition at line 60 of file dma_common.h.
#define DMA_CHREQSTATUS_CH0SREQSTATUS DMA_CHREQSTATUS_CHxSREQSTATUS(0) |
Definition at line 312 of file dma_common.h.
#define DMA_CHREQSTATUS_CH10SREQSTATUS DMA_CHREQSTATUS_CHxSREQSTATUS(10) |
Definition at line 302 of file dma_common.h.
#define DMA_CHREQSTATUS_CH11SREQSTATUS DMA_CHREQSTATUS_CHxSREQSTATUS(11) |
Definition at line 301 of file dma_common.h.
#define DMA_CHREQSTATUS_CH1SREQSTATUS DMA_CHREQSTATUS_CHxSREQSTATUS(1) |
Definition at line 311 of file dma_common.h.
#define DMA_CHREQSTATUS_CH2SREQSTATUS DMA_CHREQSTATUS_CHxSREQSTATUS(2) |
Definition at line 310 of file dma_common.h.
#define DMA_CHREQSTATUS_CH3SREQSTATUS DMA_CHREQSTATUS_CHxSREQSTATUS(3) |
Definition at line 309 of file dma_common.h.
#define DMA_CHREQSTATUS_CH4SREQSTATUS DMA_CHREQSTATUS_CHxSREQSTATUS(4) |
Definition at line 308 of file dma_common.h.
#define DMA_CHREQSTATUS_CH5SREQSTATUS DMA_CHREQSTATUS_CHxSREQSTATUS(5) |
Definition at line 307 of file dma_common.h.
#define DMA_CHREQSTATUS_CH6SREQSTATUS DMA_CHREQSTATUS_CHxSREQSTATUS(6) |
Definition at line 306 of file dma_common.h.
#define DMA_CHREQSTATUS_CH7SREQSTATUS DMA_CHREQSTATUS_CHxSREQSTATUS(7) |
Definition at line 305 of file dma_common.h.
#define DMA_CHREQSTATUS_CH8SREQSTATUS DMA_CHREQSTATUS_CHxSREQSTATUS(8) |
Definition at line 304 of file dma_common.h.
#define DMA_CHREQSTATUS_CH9SREQSTATUS DMA_CHREQSTATUS_CHxSREQSTATUS(9) |
Definition at line 303 of file dma_common.h.
#define DMA_CHREQSTATUS_CHxSREQSTATUS | ( | i | ) | (1 << (i)) |
Definition at line 300 of file dma_common.h.
Definition at line 61 of file dma_common.h.
#define DMA_CHSREQSTATUS_CH0SREQSTATUS DMA_CHSREQSTATUS_CHxSREQSTATUS(0) |
Definition at line 327 of file dma_common.h.
#define DMA_CHSREQSTATUS_CH10SREQSTATUS DMA_CHSREQSTATUS_CHxSREQSTATUS(10) |
Definition at line 317 of file dma_common.h.
#define DMA_CHSREQSTATUS_CH11SREQSTATUS DMA_CHSREQSTATUS_CHxSREQSTATUS(11) |
Definition at line 316 of file dma_common.h.
#define DMA_CHSREQSTATUS_CH1SREQSTATUS DMA_CHSREQSTATUS_CHxSREQSTATUS(1) |
Definition at line 326 of file dma_common.h.
#define DMA_CHSREQSTATUS_CH2SREQSTATUS DMA_CHSREQSTATUS_CHxSREQSTATUS(2) |
Definition at line 325 of file dma_common.h.
#define DMA_CHSREQSTATUS_CH3SREQSTATUS DMA_CHSREQSTATUS_CHxSREQSTATUS(3) |
Definition at line 324 of file dma_common.h.
#define DMA_CHSREQSTATUS_CH4SREQSTATUS DMA_CHSREQSTATUS_CHxSREQSTATUS(4) |
Definition at line 323 of file dma_common.h.
#define DMA_CHSREQSTATUS_CH5SREQSTATUS DMA_CHSREQSTATUS_CHxSREQSTATUS(5) |
Definition at line 322 of file dma_common.h.
#define DMA_CHSREQSTATUS_CH6SREQSTATUS DMA_CHSREQSTATUS_CHxSREQSTATUS(6) |
Definition at line 321 of file dma_common.h.
#define DMA_CHSREQSTATUS_CH7SREQSTATUS DMA_CHSREQSTATUS_CHxSREQSTATUS(7) |
Definition at line 320 of file dma_common.h.
#define DMA_CHSREQSTATUS_CH8SREQSTATUS DMA_CHSREQSTATUS_CHxSREQSTATUS(8) |
Definition at line 319 of file dma_common.h.
#define DMA_CHSREQSTATUS_CH9SREQSTATUS DMA_CHSREQSTATUS_CHxSREQSTATUS(9) |
Definition at line 318 of file dma_common.h.
#define DMA_CHSREQSTATUS_CHxSREQSTATUS | ( | i | ) | (1 << (i)) |
Definition at line 315 of file dma_common.h.
Definition at line 48 of file dma_common.h.
#define DMA_CHSWREQ_CH0SWREQ DMA_CHSWREQ_CHxSWREQ(0) |
Definition at line 144 of file dma_common.h.
#define DMA_CHSWREQ_CH10SWREQ DMA_CHSWREQ_CHxSWREQ(10) |
Definition at line 134 of file dma_common.h.
#define DMA_CHSWREQ_CH11SWREQ DMA_CHSWREQ_CHxSWREQ(11) |
Definition at line 133 of file dma_common.h.
#define DMA_CHSWREQ_CH1SWREQ DMA_CHSWREQ_CHxSWREQ(1) |
Definition at line 143 of file dma_common.h.
#define DMA_CHSWREQ_CH2SWREQ DMA_CHSWREQ_CHxSWREQ(2) |
Definition at line 142 of file dma_common.h.
#define DMA_CHSWREQ_CH3SWREQ DMA_CHSWREQ_CHxSWREQ(3) |
Definition at line 141 of file dma_common.h.
#define DMA_CHSWREQ_CH4SWREQ DMA_CHSWREQ_CHxSWREQ(4) |
Definition at line 140 of file dma_common.h.
#define DMA_CHSWREQ_CH5SWREQ DMA_CHSWREQ_CHxSWREQ(5) |
Definition at line 139 of file dma_common.h.
#define DMA_CHSWREQ_CH6SWREQ DMA_CHSWREQ_CHxSWREQ(6) |
Definition at line 138 of file dma_common.h.
#define DMA_CHSWREQ_CH7SWREQ DMA_CHSWREQ_CHxSWREQ(7) |
Definition at line 137 of file dma_common.h.
#define DMA_CHSWREQ_CH8SWREQ DMA_CHSWREQ_CHxSWREQ(8) |
Definition at line 136 of file dma_common.h.
#define DMA_CHSWREQ_CH9SWREQ DMA_CHSWREQ_CHxSWREQ(9) |
Definition at line 135 of file dma_common.h.
#define DMA_CHSWREQ_CHxSWREQ | ( | i | ) | (1 << (i)) |
Definition at line 132 of file dma_common.h.
Definition at line 50 of file dma_common.h.
#define DMA_CHUSEBURSTC_CH0SUSEBURSTC DMA_CHUSEBURSTC_CHxSUSEBURSTC(0) |
Definition at line 174 of file dma_common.h.
#define DMA_CHUSEBURSTC_CH10SUSEBURSTC DMA_CHUSEBURSTC_CHxSUSEBURSTC(10) |
Definition at line 164 of file dma_common.h.
#define DMA_CHUSEBURSTC_CH11SUSEBURSTC DMA_CHUSEBURSTC_CHxSUSEBURSTC(11) |
Definition at line 163 of file dma_common.h.
#define DMA_CHUSEBURSTC_CH1SUSEBURSTC DMA_CHUSEBURSTC_CHxSUSEBURSTC(1) |
Definition at line 173 of file dma_common.h.
#define DMA_CHUSEBURSTC_CH2SUSEBURSTC DMA_CHUSEBURSTC_CHxSUSEBURSTC(2) |
Definition at line 172 of file dma_common.h.
#define DMA_CHUSEBURSTC_CH3SUSEBURSTC DMA_CHUSEBURSTC_CHxSUSEBURSTC(3) |
Definition at line 171 of file dma_common.h.
#define DMA_CHUSEBURSTC_CH4SUSEBURSTC DMA_CHUSEBURSTC_CHxSUSEBURSTC(4) |
Definition at line 170 of file dma_common.h.
#define DMA_CHUSEBURSTC_CH5SUSEBURSTC DMA_CHUSEBURSTC_CHxSUSEBURSTC(5) |
Definition at line 169 of file dma_common.h.
#define DMA_CHUSEBURSTC_CH6SUSEBURSTC DMA_CHUSEBURSTC_CHxSUSEBURSTC(6) |
Definition at line 168 of file dma_common.h.
#define DMA_CHUSEBURSTC_CH7SUSEBURSTC DMA_CHUSEBURSTC_CHxSUSEBURSTC(7) |
Definition at line 167 of file dma_common.h.
#define DMA_CHUSEBURSTC_CH8SUSEBURSTC DMA_CHUSEBURSTC_CHxSUSEBURSTC(8) |
Definition at line 166 of file dma_common.h.
#define DMA_CHUSEBURSTC_CH9SUSEBURSTC DMA_CHUSEBURSTC_CHxSUSEBURSTC(9) |
Definition at line 165 of file dma_common.h.
#define DMA_CHUSEBURSTC_CHxSUSEBURSTC | ( | i | ) | (1 << (i)) |
Definition at line 162 of file dma_common.h.
Definition at line 49 of file dma_common.h.
#define DMA_CHUSEBURSTS_CH0SUSEBURSTS DMA_CHUSEBURSTS_CHxSUSEBURSTS(0) |
Definition at line 159 of file dma_common.h.
#define DMA_CHUSEBURSTS_CH10SUSEBURSTS DMA_CHUSEBURSTS_CHxSUSEBURSTS(10) |
Definition at line 149 of file dma_common.h.
#define DMA_CHUSEBURSTS_CH11SUSEBURSTS DMA_CHUSEBURSTS_CHxSUSEBURSTS(11) |
Definition at line 148 of file dma_common.h.
#define DMA_CHUSEBURSTS_CH1SUSEBURSTS DMA_CHUSEBURSTS_CHxSUSEBURSTS(1) |
Definition at line 158 of file dma_common.h.
#define DMA_CHUSEBURSTS_CH2SUSEBURSTS DMA_CHUSEBURSTS_CHxSUSEBURSTS(2) |
Definition at line 157 of file dma_common.h.
#define DMA_CHUSEBURSTS_CH3SUSEBURSTS DMA_CHUSEBURSTS_CHxSUSEBURSTS(3) |
Definition at line 156 of file dma_common.h.
#define DMA_CHUSEBURSTS_CH4SUSEBURSTS DMA_CHUSEBURSTS_CHxSUSEBURSTS(4) |
Definition at line 155 of file dma_common.h.
#define DMA_CHUSEBURSTS_CH5SUSEBURSTS DMA_CHUSEBURSTS_CHxSUSEBURSTS(5) |
Definition at line 154 of file dma_common.h.
#define DMA_CHUSEBURSTS_CH6SUSEBURSTS DMA_CHUSEBURSTS_CHxSUSEBURSTS(6) |
Definition at line 153 of file dma_common.h.
#define DMA_CHUSEBURSTS_CH7SUSEBURSTS DMA_CHUSEBURSTS_CHxSUSEBURSTS(7) |
Definition at line 152 of file dma_common.h.
#define DMA_CHUSEBURSTS_CH8SUSEBURSTS DMA_CHUSEBURSTS_CHxSUSEBURSTS(8) |
Definition at line 151 of file dma_common.h.
#define DMA_CHUSEBURSTS_CH9SUSEBURSTS DMA_CHUSEBURSTS_CHxSUSEBURSTS(9) |
Definition at line 150 of file dma_common.h.
#define DMA_CHUSEBURSTS_CHxSUSEBURSTS | ( | i | ) | (1 << (i)) |
Definition at line 147 of file dma_common.h.
Definition at line 47 of file dma_common.h.
#define DMA_CHWAITSTATUS_CH0WAITSTATUS DMA_CHWAITSTATUS_CHxWAITSTATUS(0) |
Definition at line 129 of file dma_common.h.
#define DMA_CHWAITSTATUS_CH10WAITSTATUS DMA_CHWAITSTATUS_CHxWAITSTATUS(10) |
Definition at line 119 of file dma_common.h.
#define DMA_CHWAITSTATUS_CH11WAITSTATUS DMA_CHWAITSTATUS_CHxWAITSTATUS(11) |
Definition at line 118 of file dma_common.h.
#define DMA_CHWAITSTATUS_CH1WAITSTATUS DMA_CHWAITSTATUS_CHxWAITSTATUS(1) |
Definition at line 128 of file dma_common.h.
#define DMA_CHWAITSTATUS_CH2WAITSTATUS DMA_CHWAITSTATUS_CHxWAITSTATUS(2) |
Definition at line 127 of file dma_common.h.
#define DMA_CHWAITSTATUS_CH3WAITSTATUS DMA_CHWAITSTATUS_CHxWAITSTATUS(3) |
Definition at line 126 of file dma_common.h.
#define DMA_CHWAITSTATUS_CH4WAITSTATUS DMA_CHWAITSTATUS_CHxWAITSTATUS(4) |
Definition at line 125 of file dma_common.h.
#define DMA_CHWAITSTATUS_CH5WAITSTATUS DMA_CHWAITSTATUS_CHxWAITSTATUS(5) |
Definition at line 124 of file dma_common.h.
#define DMA_CHWAITSTATUS_CH6WAITSTATUS DMA_CHWAITSTATUS_CHxWAITSTATUS(6) |
Definition at line 123 of file dma_common.h.
#define DMA_CHWAITSTATUS_CH7WAITSTATUS DMA_CHWAITSTATUS_CHxWAITSTATUS(7) |
Definition at line 122 of file dma_common.h.
#define DMA_CHWAITSTATUS_CH8WAITSTATUS DMA_CHWAITSTATUS_CHxWAITSTATUS(8) |
Definition at line 121 of file dma_common.h.
#define DMA_CHWAITSTATUS_CH9WAITSTATUS DMA_CHWAITSTATUS_CHxWAITSTATUS(9) |
Definition at line 120 of file dma_common.h.
#define DMA_CHWAITSTATUS_CHxWAITSTATUS | ( | i | ) | (1 << (i)) |
Definition at line 117 of file dma_common.h.
Definition at line 76 of file dma_common.h.
Definition at line 43 of file dma_common.h.
#define DMA_CONFIG_CHPROT (1 << 5) |
Definition at line 113 of file dma_common.h.
#define DMA_CONFIG_EN (1 << 0) |
Definition at line 114 of file dma_common.h.
Definition at line 66 of file dma_common.h.
#define DMA_CTRL_DESCRECT (1 << 0) |
Definition at line 396 of file dma_common.h.
#define DMA_CTRL_PRDU (1 << 1) |
Definition at line 395 of file dma_common.h.
Definition at line 44 of file dma_common.h.
#define DMA_DESC_CH_CFG_CYCLE_CTRL | ( | v | ) |
Definition at line 651 of file dma_common.h.
#define DMA_DESC_CH_CFG_CYCLE_CTRL_AUTOREQUEST DMA_DESC_CH_CFG_CYCLE_CTRL(2) |
Definition at line 658 of file dma_common.h.
#define DMA_DESC_CH_CFG_CYCLE_CTRL_BASIC DMA_DESC_CH_CFG_CYCLE_CTRL(1) |
Definition at line 656 of file dma_common.h.
#define DMA_DESC_CH_CFG_CYCLE_CTRL_INVALD DMA_DESC_CH_CFG_CYCLE_CTRL(0) |
Definition at line 654 of file dma_common.h.
#define DMA_DESC_CH_CFG_CYCLE_CTRL_MASK (0x7 << DMA_DESC_CH_CFG_CYCLE_CTRL_SHIFT) |
Definition at line 649 of file dma_common.h.
#define DMA_DESC_CH_CFG_CYCLE_CTRL_MEM_SCAT_GATH_ALT DMA_DESC_CH_CFG_CYCLE_CTRL(5) |
Definition at line 664 of file dma_common.h.
#define DMA_DESC_CH_CFG_CYCLE_CTRL_MEM_SCAT_GATH_PRIM DMA_DESC_CH_CFG_CYCLE_CTRL(4) |
Definition at line 662 of file dma_common.h.
#define DMA_DESC_CH_CFG_CYCLE_CTRL_PERIPH_SCAT_GATH_ALT DMA_DESC_CH_CFG_CYCLE_CTRL(7) |
Definition at line 668 of file dma_common.h.
#define DMA_DESC_CH_CFG_CYCLE_CTRL_PERIPH_SCAT_GATH_PRIM DMA_DESC_CH_CFG_CYCLE_CTRL(6) |
Definition at line 666 of file dma_common.h.
#define DMA_DESC_CH_CFG_CYCLE_CTRL_PINGPONG DMA_DESC_CH_CFG_CYCLE_CTRL(3) |
Definition at line 660 of file dma_common.h.
#define DMA_DESC_CH_CFG_CYCLE_CTRL_SHIFT (0) |
Definition at line 648 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_INC | ( | v | ) |
Definition at line 600 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_INC_BYTE DMA_DESC_CH_CFG_DEST_INC(0) |
Definition at line 603 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_INC_HALFWORD DMA_DESC_CH_CFG_DEST_INC(1) |
Definition at line 604 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_INC_MASK (0x3 << DMA_DESC_CH_CFG_DEST_INC_SHIFT) |
Definition at line 598 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_INC_NOINC DMA_DESC_CH_CFG_DEST_INC(3) |
Definition at line 606 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_INC_SHIFT (30) |
Definition at line 597 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_INC_WORD DMA_DESC_CH_CFG_DEST_INC(2) |
Definition at line 605 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_PROT_CTRL | ( | v | ) |
Definition at line 674 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_PROT_CTRL_MASK (0x7 << DMA_DESC_CH_CFG_DEST_PROT_CTRL_SHIFT) |
Definition at line 672 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_PROT_CTRL_SHIFT (21) |
Definition at line 671 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_SIZE | ( | v | ) |
Definition at line 611 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_SIZE_BYTE DMA_DESC_CH_CFG_DEST_SIZE(0) |
Definition at line 614 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_SIZE_HALFWORD DMA_DESC_CH_CFG_DEST_SIZE(1) |
Definition at line 615 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_SIZE_MASK (0x3 << DMA_DESC_CH_CFG_DEST_SIZE_SHIFT) |
Definition at line 609 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_SIZE_NOINC DMA_DESC_CH_CFG_DEST_SIZE(3) |
Definition at line 617 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_SIZE_SHIFT (28) |
Definition at line 608 of file dma_common.h.
#define DMA_DESC_CH_CFG_DEST_SIZE_WORD DMA_DESC_CH_CFG_DEST_SIZE(2) |
Definition at line 616 of file dma_common.h.
#define DMA_DESC_CH_CFG_N_MINUS_1 | ( | v | ) |
Definition at line 688 of file dma_common.h.
#define DMA_DESC_CH_CFG_N_MINUS_1_MASK (0x3FF << DMA_DESC_CH_CFG_N_MINUS_1_SHIFT) |
Definition at line 686 of file dma_common.h.
#define DMA_DESC_CH_CFG_N_MINUS_1_SHIFT (4) |
Definition at line 685 of file dma_common.h.
#define DMA_DESC_CH_CFG_NEXT_USEBURST (1 << 3) |
Definition at line 692 of file dma_common.h.
#define DMA_DESC_CH_CFG_R_POWER | ( | v | ) |
Definition at line 644 of file dma_common.h.
#define DMA_DESC_CH_CFG_R_POWER_MASK (0xF << DMA_DESC_CH_CFG_R_POWER_SHIFT) |
Definition at line 642 of file dma_common.h.
#define DMA_DESC_CH_CFG_R_POWER_SHIFT (14) |
Definition at line 641 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_INC | ( | v | ) |
Definition at line 622 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_INC_BYTE DMA_DESC_CH_CFG_SRC_INC(0) |
Definition at line 625 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_INC_HALFWORD DMA_DESC_CH_CFG_SRC_INC(1) |
Definition at line 626 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_INC_MASK (0x3 << DMA_DESC_CH_CFG_SRC_INC_SHIFT) |
Definition at line 620 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_INC_NOINC DMA_DESC_CH_CFG_SRC_INC(3) |
Definition at line 628 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_INC_SHIFT (26) |
Definition at line 619 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_INC_WORD DMA_DESC_CH_CFG_SRC_INC(2) |
Definition at line 627 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_PROT_CTRL | ( | v | ) |
Definition at line 681 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_PROT_CTRL_MASK (0x7 << DMA_DESC_CH_CFG_SRC_PROT_CTRL_SHIFT) |
Definition at line 679 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_PROT_CTRL_SHIFT (18) |
Definition at line 678 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_SIZE | ( | v | ) |
Definition at line 633 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_SIZE_BYTE DMA_DESC_CH_CFG_SRC_SIZE(0) |
Definition at line 636 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_SIZE_HALFWORD DMA_DESC_CH_CFG_SRC_SIZE(1) |
Definition at line 637 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_SIZE_MASK (0x3 << DMA_DESC_CH_CFG_SRC_SIZE_SHIFT) |
Definition at line 631 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_SIZE_NOINC DMA_DESC_CH_CFG_SRC_SIZE(3) |
Definition at line 639 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_SIZE_SHIFT (24) |
Definition at line 630 of file dma_common.h.
#define DMA_DESC_CH_CFG_SRC_SIZE_WORD DMA_DESC_CH_CFG_SRC_SIZE(2) |
Definition at line 638 of file dma_common.h.
#define DMA_DESC_CH_SIZE (0x4 * 0x4) |
Application needs to allocate (DMA_DESC_CH_SIZE * N) byte where N is the number of first N channels to use.
and this allocated memory needs to be assigned to DMA using dma_set_desc_address().
if the application code needs alternate descriptor facility also. it needs to allocate the required memory (usually equal to the one above) and assign the memory using dma_set_alternate_desc_address()
rest of the work will be transparently managed by convience functions.
all the memory above should be aligned to 256bit (ie LSB 8bits of array address should be 0) use gcc's attribute((aligned(256)))
Definition at line 584 of file dma_common.h.
#define DMA_DESC_CHx_BASE | ( | base, | |
x | |||
) | ((base) + ((x) * DMA_DESC_CH_SIZE)) |
Definition at line 585 of file dma_common.h.
#define DMA_DESC_CHx_CFG | ( | base, | |
x | |||
) | MMIO32(DMA_DESC_CHx_BASE(base, x) + 0x08) |
Definition at line 591 of file dma_common.h.
#define DMA_DESC_CHx_DEST_DATA_END_PTR | ( | base, | |
x | |||
) | MMIO32(DMA_DESC_CHx_BASE(base, x) + 0x04) |
Definition at line 589 of file dma_common.h.
#define DMA_DESC_CHx_SRC_DATA_END_PTR | ( | base, | |
x | |||
) | MMIO32(DMA_DESC_CHx_BASE(base, x) + 0x00) |
Definition at line 587 of file dma_common.h.
#define DMA_DESC_CHx_USER_DATA | ( | base, | |
x | |||
) | MMIO32(DMA_DESC_CHx_BASE(base, x) + 0x0C) |
Definition at line 593 of file dma_common.h.
#define dma_disable_alt_next_useburst | ( | ch | ) | dma_desc_disable_alt_next_useburst(DMA_CTRLBASE, ch) |
Definition at line 880 of file dma_common.h.
#define dma_disable_next_useburst | ( | ch | ) | dma_desc_disable_next_useburst(DMA_CTRLBASE, ch) |
Definition at line 876 of file dma_common.h.
#define dma_enable_alt_next_useburst | ( | ch | ) | dma_desc_enable_alt_next_useburst(DMA_CTRLBASE, ch) |
Definition at line 878 of file dma_common.h.
#define dma_enable_next_useburst | ( | ch | ) | dma_desc_enable_next_useburst(DMA_CTRLBASE, ch) |
Definition at line 874 of file dma_common.h.
Definition at line 59 of file dma_common.h.
#define DMA_ERRORC_ERRORC (1 << 0) |
Definition at line 297 of file dma_common.h.
#define dma_get_alt_user_data | ( | ch | ) | dma_desc_get_user_data(DMA_ALTCTRLBASE, ch) |
Definition at line 895 of file dma_common.h.
#define dma_get_user_data | ( | ch | ) | dma_desc_get_user_data(DMA_CTRLBASE, ch) |
Definition at line 893 of file dma_common.h.
Definition at line 65 of file dma_common.h.
#define DMA_IEN_CH0DONE DMA_IEN_CHxDONE(0) |
Definition at line 392 of file dma_common.h.
#define DMA_IEN_CH10DONE DMA_IEN_CHxDONE(10) |
Definition at line 382 of file dma_common.h.
#define DMA_IEN_CH11DONE DMA_IEN_CHxDONE(11) |
Definition at line 381 of file dma_common.h.
#define DMA_IEN_CH1DONE DMA_IEN_CHxDONE(1) |
Definition at line 391 of file dma_common.h.
#define DMA_IEN_CH2DONE DMA_IEN_CHxDONE(2) |
Definition at line 390 of file dma_common.h.
#define DMA_IEN_CH3DONE DMA_IEN_CHxDONE(3) |
Definition at line 389 of file dma_common.h.
#define DMA_IEN_CH4DONE DMA_IEN_CHxDONE(4) |
Definition at line 388 of file dma_common.h.
#define DMA_IEN_CH5DONE DMA_IEN_CHxDONE(5) |
Definition at line 387 of file dma_common.h.
#define DMA_IEN_CH6DONE DMA_IEN_CHxDONE(6) |
Definition at line 386 of file dma_common.h.
#define DMA_IEN_CH7DONE DMA_IEN_CHxDONE(7) |
Definition at line 385 of file dma_common.h.
#define DMA_IEN_CH8DONE DMA_IEN_CHxDONE(8) |
Definition at line 384 of file dma_common.h.
#define DMA_IEN_CH9DONE DMA_IEN_CHxDONE(9) |
Definition at line 383 of file dma_common.h.
#define DMA_IEN_CHxDONE | ( | x | ) | (1 << (x)) |
Definition at line 380 of file dma_common.h.
#define DMA_IEN_ERR (1 << 31) |
Definition at line 379 of file dma_common.h.
Definition at line 62 of file dma_common.h.
#define DMA_IF_CH0DONE DMA_IF_CHxDONE(0) |
Definition at line 343 of file dma_common.h.
#define DMA_IF_CH10DONE DMA_IF_CHxDONE(10) |
Definition at line 333 of file dma_common.h.
#define DMA_IF_CH11DONE DMA_IF_CHxDONE(11) |
Definition at line 332 of file dma_common.h.
#define DMA_IF_CH1DONE DMA_IF_CHxDONE(1) |
Definition at line 342 of file dma_common.h.
#define DMA_IF_CH2DONE DMA_IF_CHxDONE(2) |
Definition at line 341 of file dma_common.h.
#define DMA_IF_CH3DONE DMA_IF_CHxDONE(3) |
Definition at line 340 of file dma_common.h.
#define DMA_IF_CH4DONE DMA_IF_CHxDONE(4) |
Definition at line 339 of file dma_common.h.
#define DMA_IF_CH5DONE DMA_IF_CHxDONE(5) |
Definition at line 338 of file dma_common.h.
#define DMA_IF_CH6DONE DMA_IF_CHxDONE(6) |
Definition at line 337 of file dma_common.h.
#define DMA_IF_CH7DONE DMA_IF_CHxDONE(7) |
Definition at line 336 of file dma_common.h.
#define DMA_IF_CH8DONE DMA_IF_CHxDONE(8) |
Definition at line 335 of file dma_common.h.
#define DMA_IF_CH9DONE DMA_IF_CHxDONE(9) |
Definition at line 334 of file dma_common.h.
#define DMA_IF_CHxDONE | ( | x | ) | (1 << (x)) |
Definition at line 331 of file dma_common.h.
#define DMA_IF_ERR (1UL << 31) |
Definition at line 330 of file dma_common.h.
Definition at line 64 of file dma_common.h.
#define DMA_IFC_CH0DONE DMA_IFC_CHxDONE(0) |
Definition at line 376 of file dma_common.h.
#define DMA_IFC_CH10DONE DMA_IFC_CHxDONE(10) |
Definition at line 366 of file dma_common.h.
#define DMA_IFC_CH11DONE DMA_IFC_CHxDONE(11) |
Definition at line 365 of file dma_common.h.
#define DMA_IFC_CH1DONE DMA_IFC_CHxDONE(1) |
Definition at line 375 of file dma_common.h.
#define DMA_IFC_CH2DONE DMA_IFC_CHxDONE(2) |
Definition at line 374 of file dma_common.h.
#define DMA_IFC_CH3DONE DMA_IFC_CHxDONE(3) |
Definition at line 373 of file dma_common.h.
#define DMA_IFC_CH4DONE DMA_IFC_CHxDONE(4) |
Definition at line 372 of file dma_common.h.
#define DMA_IFC_CH5DONE DMA_IFC_CHxDONE(5) |
Definition at line 371 of file dma_common.h.
#define DMA_IFC_CH6DONE DMA_IFC_CHxDONE(6) |
Definition at line 370 of file dma_common.h.
#define DMA_IFC_CH7DONE DMA_IFC_CHxDONE(7) |
Definition at line 369 of file dma_common.h.
#define DMA_IFC_CH8DONE DMA_IFC_CHxDONE(8) |
Definition at line 368 of file dma_common.h.
#define DMA_IFC_CH9DONE DMA_IFC_CHxDONE(9) |
Definition at line 367 of file dma_common.h.
#define DMA_IFC_CHxDONE | ( | x | ) | (1 << (x)) |
Definition at line 364 of file dma_common.h.
#define DMA_IFC_ERR (1 << 31) |
Definition at line 363 of file dma_common.h.
Definition at line 63 of file dma_common.h.
#define DMA_IFS_CH0DONE DMA_IFS_CHxDONE(0) |
Definition at line 360 of file dma_common.h.
#define DMA_IFS_CH10DONE DMA_IFS_CHxDONE(10) |
Definition at line 350 of file dma_common.h.
#define DMA_IFS_CH11DONE DMA_IFS_CHxDONE(11) |
Definition at line 349 of file dma_common.h.
#define DMA_IFS_CH1DONE DMA_IFS_CHxDONE(1) |
Definition at line 359 of file dma_common.h.
#define DMA_IFS_CH2DONE DMA_IFS_CHxDONE(2) |
Definition at line 358 of file dma_common.h.
#define DMA_IFS_CH3DONE DMA_IFS_CHxDONE(3) |
Definition at line 357 of file dma_common.h.
#define DMA_IFS_CH4DONE DMA_IFS_CHxDONE(4) |
Definition at line 356 of file dma_common.h.
#define DMA_IFS_CH5DONE DMA_IFS_CHxDONE(5) |
Definition at line 355 of file dma_common.h.
#define DMA_IFS_CH6DONE DMA_IFS_CHxDONE(6) |
Definition at line 354 of file dma_common.h.
#define DMA_IFS_CH7DONE DMA_IFS_CHxDONE(7) |
Definition at line 353 of file dma_common.h.
#define DMA_IFS_CH8DONE DMA_IFS_CHxDONE(8) |
Definition at line 352 of file dma_common.h.
#define DMA_IFS_CH9DONE DMA_IFS_CHxDONE(9) |
Definition at line 351 of file dma_common.h.
#define DMA_IFS_CHxDONE | ( | x | ) | (1 << (x)) |
Definition at line 348 of file dma_common.h.
#define DMA_IFS_ERR (1 << 31) |
Definition at line 347 of file dma_common.h.
#define DMA_LOOP0 DMA_LOOPx(0) |
Definition at line 70 of file dma_common.h.
#define DMA_LOOP1 DMA_LOOPx(1) |
Definition at line 71 of file dma_common.h.
#define DMA_LOOP_EN (1 << 16) |
Definition at line 414 of file dma_common.h.
#define DMA_LOOP_WIDTH | ( | v | ) | (((v) << DMA_LOOP_WIDTH_SHIFT) & DMA_LOOP_WIDTH_MASK) |
Definition at line 417 of file dma_common.h.
#define DMA_LOOP_WIDTH_MASK (0x3FF << DMA_LOOP_WIDTH_SHIFT) |
Definition at line 416 of file dma_common.h.
#define DMA_LOOP_WIDTH_SHIFT (0) |
Definition at line 415 of file dma_common.h.
Definition at line 69 of file dma_common.h.
Definition at line 67 of file dma_common.h.
#define DMA_RDS_RDSCH0 DMA_RDS_RDSCHx(0) |
Definition at line 411 of file dma_common.h.
#define DMA_RDS_RDSCH1 DMA_RDS_RDSCHx(1) |
Definition at line 410 of file dma_common.h.
#define DMA_RDS_RDSCH10 DMA_RDS_RDSCHx(10) |
Definition at line 401 of file dma_common.h.
#define DMA_RDS_RDSCH11 DMA_RDS_RDSCHx(11) |
Definition at line 400 of file dma_common.h.
#define DMA_RDS_RDSCH2 DMA_RDS_RDSCHx(2) |
Definition at line 409 of file dma_common.h.
#define DMA_RDS_RDSCH3 DMA_RDS_RDSCHx(3) |
Definition at line 408 of file dma_common.h.
#define DMA_RDS_RDSCH4 DMA_RDS_RDSCHx(4) |
Definition at line 407 of file dma_common.h.
#define DMA_RDS_RDSCH5 DMA_RDS_RDSCHx(5) |
Definition at line 406 of file dma_common.h.
#define DMA_RDS_RDSCH6 DMA_RDS_RDSCHx(6) |
Definition at line 405 of file dma_common.h.
#define DMA_RDS_RDSCH7 DMA_RDS_RDSCHx(7) |
Definition at line 404 of file dma_common.h.
#define DMA_RDS_RDSCH8 DMA_RDS_RDSCHx(8) |
Definition at line 403 of file dma_common.h.
#define DMA_RDS_RDSCH9 DMA_RDS_RDSCHx(9) |
Definition at line 402 of file dma_common.h.
#define DMA_RDS_RDSCHx | ( | i | ) | (1 << (i)) |
Definition at line 399 of file dma_common.h.
#define DMA_RECT0 DMA_RECT(0) |
Definition at line 74 of file dma_common.h.
#define DMA_RECT_DSTSTRIDE | ( | v | ) | (((v) << DMA_RECT_DSTSTRIDE_SHIFT) & DMA_RECT_DSTSTRIDE_MASK) |
Definition at line 423 of file dma_common.h.
#define DMA_RECT_DSTSTRIDE_MASK (0x7FF << DMA_RECT_DSTSTRIDE_SHIFT) |
Definition at line 422 of file dma_common.h.
#define DMA_RECT_DSTSTRIDE_SHIFT (21) |
Definition at line 421 of file dma_common.h.
#define DMA_RECT_HEIGHT | ( | v | ) | (((v) << DMA_RECT_HEIGHT_SHIFT) & DMA_RECT_HEIGHT_MASK) |
Definition at line 433 of file dma_common.h.
#define DMA_RECT_HEIGHT_MASK (0x3FF << DMA_RECT_HEIGHT_SHIFT) |
Definition at line 432 of file dma_common.h.
#define DMA_RECT_HEIGHT_SHIFT (0) |
Definition at line 431 of file dma_common.h.
#define DMA_RECT_SRCSTRIDE | ( | v | ) | (((v) << DMA_RECT_SRCSTRIDE_SHIFT) & DMA_RECT_SRCSTRIDE_MASK) |
Definition at line 428 of file dma_common.h.
#define DMA_RECT_SRCSTRIDE_MASK (0x7FF << DMA_RECT_SRCSTRIDE_SHIFT) |
Definition at line 427 of file dma_common.h.
#define DMA_RECT_SRCSTRIDE_SHIFT (10) |
Definition at line 426 of file dma_common.h.
Definition at line 73 of file dma_common.h.
#define dma_set_alt_count | ( | ch, | |
count | |||
) | dma_desc_set_count(DMA_ALTCTRLBASE, ch, count) |
Definition at line 885 of file dma_common.h.
#define dma_set_alt_dest_address | ( | ch, | |
dest | |||
) | dma_desc_set_dest_address(DMA_ALTCTRLBASE, ch, dest) |
Definition at line 904 of file dma_common.h.
#define dma_set_alt_dest_inc | ( | ch, | |
inc | |||
) | dma_desc_set_dest_inc(DMA_ALTCTRLBASE, ch, inc) |
Definition at line 862 of file dma_common.h.
#define dma_set_alt_dest_size | ( | ch, | |
size | |||
) | dma_desc_set_dest_size(DMA_ALTCTRLBASE, ch, size) |
Definition at line 860 of file dma_common.h.
#define dma_set_alt_mode | ( | ch, | |
mode | |||
) | dma_desc_set_mode(DMA_ALTCTRLBASE, ch, mode) |
Definition at line 909 of file dma_common.h.
#define dma_set_alt_r_power | ( | ch, | |
r_power | |||
) | dma_desc_set_r_power(DMA_ALTCTRLBASE, ch, r_power) |
Definition at line 871 of file dma_common.h.
#define dma_set_alt_src_address | ( | ch, | |
src | |||
) | dma_desc_set_src_address(DMA_ALTCTRLBASE, ch, src) |
Definition at line 900 of file dma_common.h.
#define dma_set_alt_src_inc | ( | ch, | |
inc | |||
) | dma_desc_set_src_inc(DMA_ALTCTRLBASE, ch, inc) |
Definition at line 866 of file dma_common.h.
#define dma_set_alt_src_size | ( | ch, | |
size | |||
) | dma_desc_set_src_size(DMA_ALTCTRLBASE, ch, size) |
Definition at line 864 of file dma_common.h.
#define dma_set_alt_user_data | ( | ch, | |
user_data | |||
) | dma_desc_set_user_data(DMA_ALTCTRLBASE, ch, user_data) |
Definition at line 890 of file dma_common.h.
#define dma_set_count | ( | ch, | |
count | |||
) | dma_desc_set_count(DMA_CTRLBASE, ch, count) |
Definition at line 883 of file dma_common.h.
#define dma_set_dest_address | ( | ch, | |
dest | |||
) | dma_desc_set_dest_address(DMA_CTRLBASE, ch, dest) |
Definition at line 902 of file dma_common.h.
#define dma_set_dest_inc | ( | ch, | |
inc | |||
) | dma_desc_set_dest_inc(DMA_CTRLBASE, ch, inc) |
Definition at line 853 of file dma_common.h.
#define dma_set_dest_size | ( | ch, | |
size | |||
) | dma_desc_set_dest_size(DMA_CTRLBASE, ch, size) |
Definition at line 851 of file dma_common.h.
#define dma_set_mode | ( | ch, | |
mode | |||
) | dma_desc_set_mode(DMA_CTRLBASE, ch, mode) |
Definition at line 907 of file dma_common.h.
#define dma_set_r_power | ( | ch, | |
r_power | |||
) | dma_desc_set_r_power(DMA_CTRLBASE, ch, r_power) |
Definition at line 869 of file dma_common.h.
#define dma_set_src_address | ( | ch, | |
src | |||
) | dma_desc_set_src_address(DMA_CTRLBASE, ch, src) |
Definition at line 898 of file dma_common.h.
#define dma_set_src_inc | ( | ch, | |
inc | |||
) | dma_desc_set_src_inc(DMA_CTRLBASE, ch, inc) |
Definition at line 857 of file dma_common.h.
#define dma_set_src_size | ( | ch, | |
size | |||
) | dma_desc_set_src_size(DMA_CTRLBASE, ch, size) |
Definition at line 855 of file dma_common.h.
#define dma_set_user_data | ( | ch, | |
user_data | |||
) | dma_desc_set_user_data(DMA_CTRLBASE, ch, user_data) |
Definition at line 888 of file dma_common.h.
Definition at line 42 of file dma_common.h.
#define DMA_STATUS_CHNUM_MASK (0x1F << DMA_STATUS_CHNUM_SHIFT) |
Definition at line 92 of file dma_common.h.
#define DMA_STATUS_CHNUM_SHIFT (16) |
Definition at line 91 of file dma_common.h.
#define DMA_STATUS_EN (1 << 0) |
Definition at line 110 of file dma_common.h.
#define DMA_STATUS_STATE | ( | v | ) | (((v) << DMA_STATUS_STATE_SHIFT) & DMA_STATUS_STATE_MASK) |
Definition at line 96 of file dma_common.h.
#define DMA_STATUS_STATE_DONE 9 |
Definition at line 107 of file dma_common.h.
#define DMA_STATUS_STATE_IDLE 0 |
Definition at line 98 of file dma_common.h.
#define DMA_STATUS_STATE_MASK (0xF << DMA_STATUS_STATE_SHIFT) |
Definition at line 95 of file dma_common.h.
#define DMA_STATUS_STATE_PERSCATTRANS 10 |
Definition at line 108 of file dma_common.h.
#define DMA_STATUS_STATE_RDCHCTRLDATA 1 |
Definition at line 99 of file dma_common.h.
#define DMA_STATUS_STATE_RDDSTENDPTR 3 |
Definition at line 101 of file dma_common.h.
#define DMA_STATUS_STATE_RDSRCDATA 4 |
Definition at line 102 of file dma_common.h.
#define DMA_STATUS_STATE_RDSRCENDPTR 2 |
Definition at line 100 of file dma_common.h.
#define DMA_STATUS_STATE_SHIFT (4) |
Definition at line 94 of file dma_common.h.
#define DMA_STATUS_STATE_STALLED 8 |
Definition at line 106 of file dma_common.h.
#define DMA_STATUS_STATE_WAITREQCLR 6 |
Definition at line 104 of file dma_common.h.
#define DMA_STATUS_STATE_WRCHCTRLDATA 7 |
Definition at line 105 of file dma_common.h.
#define DMA_STATUS_STATE_WRDSTDATA 5 |
Definition at line 103 of file dma_common.h.
enum dma_mem |
Enumerator | |
---|---|
DMA_MEM_BYTE | |
DMA_MEM_HALF_WORD | |
DMA_MEM_WORD | |
DMA_MEM_NONE |
Definition at line 723 of file dma_common.h.
enum dma_mode |
Enumerator | |
---|---|
DMA_MODE_INVALID | |
DMA_MODE_BASIC | |
DMA_MODE_AUTO_REQUEST | |
DMA_MODE_PING_PONG | |
DMA_MODE_MEM_SCAT_GATH_PRIM | |
DMA_MODE_MEM_SCAT_GATH_ALT | |
DMA_MODE_PERIPH_SCAT_GATH_PRIM | |
DMA_MODE_PERIPH_SCAT_GATH_ALT |
Definition at line 731 of file dma_common.h.
enum dma_r_power |
Enumerator | |
---|---|
DMA_R_POWER_1 | |
DMA_R_POWER_2 | |
DMA_R_POWER_4 | |
DMA_R_POWER_8 | |
DMA_R_POWER_16 | |
DMA_R_POWER_32 | |
DMA_R_POWER_64 | |
DMA_R_POWER_128 | |
DMA_R_POWER_256 | |
DMA_R_POWER_512 | |
DMA_R_POWER_1024 |
Definition at line 743 of file dma_common.h.
void dma_channel_reset | ( | enum dma_ch | ch | ) |
Reset channel.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 334 of file dma_common.c.
References CHANNEL_SUPPORT_LOOP, DMA_CHALTC, DMA_CHALTC_CHxSALTC, DMA_CHENC, DMA_CHENC_CHxSENC, DMA_CHPRIC, DMA_CHPRIC_CHxSPRIC, DMA_CHx_CTRL, DMA_IFC, DMA_IFC_CHxDONE, and DMA_LOOPx.
void dma_clear_bus_error_flag | ( | void | ) |
Clear bus error flag.
Definition at line 201 of file dma_common.c.
References DMA_ERRORC, and DMA_ERRORC_ERRORC.
void dma_clear_bus_error_interrupt_flag | ( | void | ) |
Clear bus error interrupt flag.
Definition at line 260 of file dma_common.c.
References DMA_IFC, and DMA_IFC_ERR.
void dma_clear_done_interrupt_flag | ( | enum dma_ch | ch | ) |
Clear channel done interrupt flag.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 269 of file dma_common.c.
References DMA_IFC, and DMA_IFC_CHxDONE.
void dma_desc_disable_next_useburst | ( | uint32_t | desc_base, |
enum dma_ch | ch | ||
) |
Disable next useburst.
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
Definition at line 491 of file dma_common.c.
References DMA_DESC_CH_CFG_NEXT_USEBURST, and DMA_DESC_CHx_CFG.
void dma_desc_enable_next_useburst | ( | uint32_t | desc_base, |
enum dma_ch | ch | ||
) |
Enable next useburst.
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
Definition at line 480 of file dma_common.c.
References DMA_DESC_CHx_CFG.
uint32_t dma_desc_get_user_data | ( | uint32_t | desc_base, |
enum dma_ch | ch | ||
) |
Extract user data field from channel descriptor.
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
Definition at line 531 of file dma_common.c.
References DMA_DESC_CHx_USER_DATA.
void dma_desc_set_count | ( | uint32_t | desc_base, |
enum dma_ch | ch, | ||
uint16_t | count | ||
) |
Set number (count) of transfer to be performed.
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
[in] | count | Count |
Definition at line 503 of file dma_common.c.
References DMA_DESC_CH_CFG_N_MINUS_1, and DMA_DESC_CHx_CFG.
void dma_desc_set_dest_address | ( | uint32_t | desc_base, |
enum dma_ch | ch, | ||
uint32_t | dest_start | ||
) |
Assign Destination address to DMA Channel.
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
[in] | dest_start | Destination data start address this function uses dma_calc_end_from_start to calculate the dest data end address from dest_start |
Definition at line 599 of file dma_common.c.
References dma_calc_end_from_start(), DMA_DESC_CH_CFG_DEST_INC_MASK, DMA_DESC_CH_CFG_DEST_INC_SHIFT, DMA_DESC_CH_CFG_N_MINUS_1_MASK, DMA_DESC_CH_CFG_N_MINUS_1_SHIFT, DMA_DESC_CHx_CFG, and DMA_DESC_CHx_DEST_DATA_END_PTR.
Set destination increment.
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
[in] | inc | Increment (use DMA_MEM_*) |
Definition at line 417 of file dma_common.c.
References DMA_DESC_CH_CFG_DEST_INC, and DMA_DESC_CHx_CFG.
Set desination size.
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
[in] | size | Size (use DMA_MEM_*) |
Definition at line 401 of file dma_common.c.
References DMA_DESC_CH_CFG_DEST_SIZE, and DMA_DESC_CHx_CFG.
Set the channel mode ("Cycle control")
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
[in] | mode | Mode (use DMA_MODE_*) |
Definition at line 619 of file dma_common.c.
References DMA_DESC_CH_CFG_CYCLE_CTRL, and DMA_DESC_CHx_CFG.
void dma_desc_set_r_power | ( | uint32_t | desc_base, |
enum dma_ch | ch, | ||
enum dma_r_power | r_power | ||
) |
Set R Power.
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
[in] | r_power | R Power (Use DMA_R_POWER_*) |
Definition at line 465 of file dma_common.c.
References DMA_DESC_CH_CFG_R_POWER, and DMA_DESC_CHx_CFG.
void dma_desc_set_src_address | ( | uint32_t | desc_base, |
enum dma_ch | ch, | ||
uint32_t | src_start | ||
) |
Assign Source address to DMA Channel.
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
[in] | src_start | Source data start address this function uses dma_calc_end_from_start to calculate the src data end address from src_start |
Definition at line 576 of file dma_common.c.
References dma_calc_end_from_start(), DMA_DESC_CH_CFG_N_MINUS_1_MASK, DMA_DESC_CH_CFG_N_MINUS_1_SHIFT, DMA_DESC_CH_CFG_SRC_INC_MASK, DMA_DESC_CH_CFG_SRC_INC_SHIFT, DMA_DESC_CHx_CFG, and DMA_DESC_CHx_SRC_DATA_END_PTR.
Set source increment.
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
[in] | inc | Increment (use DMA_MEM_*) |
Definition at line 449 of file dma_common.c.
References DMA_DESC_CH_CFG_SRC_INC, and DMA_DESC_CHx_CFG.
Set source size.
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
[in] | size | Size (use DMA_MEM_*) |
Definition at line 433 of file dma_common.c.
References DMA_DESC_CH_CFG_SRC_SIZE, and DMA_DESC_CHx_CFG.
void dma_desc_set_user_data | ( | uint32_t | desc_base, |
enum dma_ch | ch, | ||
uint32_t | user_data | ||
) |
Store user data field in channel descriptor.
[in] | desc_base | start of memory location that contain channel descriptor |
[in] | ch | Channel (use DMA_CHx) |
[in] | user_data | User data |
Definition at line 518 of file dma_common.c.
References DMA_DESC_CHx_USER_DATA.
void dma_disable | ( | void | ) |
void dma_disable_alternate_structure | ( | enum dma_ch | ch | ) |
Disable channel alternate structure.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 156 of file dma_common.c.
References DMA_CHALTC, and DMA_CHALTC_CHxSALTC.
void dma_disable_bus_error_interrupt | ( | void | ) |
void dma_disable_channel | ( | enum dma_ch | ch | ) |
Disable channel.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 147 of file dma_common.c.
References DMA_CHENC, and DMA_CHENC_CHxSENC.
void dma_disable_done_interrupt | ( | enum dma_ch | ch | ) |
Disable channel done interrupt.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 303 of file dma_common.c.
References DMA_IEN.
void dma_disable_loop | ( | enum dma_ch | ch | ) |
Disable channel loop.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 385 of file dma_common.c.
References CHANNEL_SUPPORT_LOOP, and DMA_LOOPx.
void dma_disable_periph_request | ( | enum dma_ch | ch | ) |
Disable channel peripherial request.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 129 of file dma_common.c.
References DMA_CHREQMASKS, and DMA_CHREQMASKS_CHxSREQMASKS.
void dma_disable_priority | ( | enum dma_ch | ch | ) |
Disable channel high priority.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 183 of file dma_common.c.
References DMA_CHPRIC, and DMA_CHPRIC_CHxSPRIC.
void dma_enable | ( | void | ) |
same as dma_enable_with_unprivileged_access()
Definition at line 51 of file dma_common.c.
References dma_enable_with_unprivileged_access().
void dma_enable_alternate_structure | ( | enum dma_ch | ch | ) |
Enable channel alternate structure.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 165 of file dma_common.c.
References DMA_CHALTS, and DMA_CHALTS_CHxSALTS.
void dma_enable_burst_only | ( | enum dma_ch | ch | ) |
Enable channel burst only.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 102 of file dma_common.c.
References DMA_CHUSEBURSTS, and DMA_CHUSEBURSTS_CHxSUSEBURSTS.
void dma_enable_bus_error_interrupt | ( | void | ) |
Enable bus error interrupt.
Definition at line 277 of file dma_common.c.
References DMA_IEN, and DMA_IEN_ERR.
void dma_enable_channel | ( | enum dma_ch | ch | ) |
Enable channel.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 138 of file dma_common.c.
References DMA_CHENS, and DMA_CHENS_CHxSENS.
void dma_enable_done_interrupt | ( | enum dma_ch | ch | ) |
Enable channel done interrupt.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 294 of file dma_common.c.
References DMA_IEN, and DMA_IEN_CHxDONE.
void dma_enable_loop | ( | enum dma_ch | ch | ) |
Enable channel loop.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 372 of file dma_common.c.
References CHANNEL_SUPPORT_LOOP, DMA_LOOP_EN, and DMA_LOOPx.
void dma_enable_periph_request | ( | enum dma_ch | ch | ) |
Enable channel peripherial request.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 120 of file dma_common.c.
References DMA_CHREQMASKC, and DMA_CHREQMASKC_CHxSREQMASKC.
void dma_enable_priority | ( | enum dma_ch | ch | ) |
Enable channel high priority.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 174 of file dma_common.c.
References DMA_CHPRIS, and DMA_CHPRIS_CHxSPRIC.
void dma_enable_single_and_burst | ( | enum dma_ch | ch | ) |
Enable channel single and burst.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 111 of file dma_common.c.
References DMA_CHUSEBURSTC, and DMA_CHUSEBURSTC_CHxSUSEBURSTC.
void dma_enable_with_privileged_access | ( | void | ) |
Enable DMA with privileged access.
Definition at line 33 of file dma_common.c.
References DMA_CONFIG, DMA_CONFIG_CHPROT, and DMA_CONFIG_EN.
void dma_enable_with_unprivileged_access | ( | void | ) |
Enable DMA with un-privileged access.
Definition at line 42 of file dma_common.c.
References DMA_CONFIG, and DMA_CONFIG_EN.
Referenced by dma_enable().
void dma_generate_software_request | ( | enum dma_ch | ch | ) |
Generate a software request on channel.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 93 of file dma_common.c.
References DMA_CHSWREQ, and DMA_CHSWREQ_CHxSWREQ.
bool dma_get_bus_error_flag | ( | void | ) |
Get bus error flag.
true | if flag is set |
false | if flag is not set |
Definition at line 193 of file dma_common.c.
References DMA_ERRORC, and DMA_ERRORC_ERRORC.
bool dma_get_bus_error_interrupt_flag | ( | void | ) |
Get bus error interrupt flag.
true | if flag is set |
false | if flag is not set |
Definition at line 223 of file dma_common.c.
References DMA_IF, and DMA_IF_ERR.
bool dma_get_done_interrupt_flag | ( | enum dma_ch | ch | ) |
Get channel done interrupt flag.
[in] | ch | Channel (use DMA_CHx) |
true | if flag is set |
false | if flag is not set |
Definition at line 235 of file dma_common.c.
References DMA_IF, and DMA_IF_CHxDONE.
bool dma_get_request_flag | ( | enum dma_ch | ch | ) |
Get channel request flag.
[in] | ch | Channel (use DMA_CHx) |
true | if flag is set |
false | if flag is not set |
Definition at line 212 of file dma_common.c.
References DMA_CHREQSTATUS, and DMA_CHREQSTATUS_CHxSREQSTATUS.
bool dma_get_wait_on_request_flag | ( | enum dma_ch | ch | ) |
Get channel wait on request status flag.
true | if flag is set |
false | if flag is not set |
Definition at line 83 of file dma_common.c.
References DMA_CHWAITSTATUS, and DMA_CHWAITSTATUS_CHxWAITSTATUS.
void dma_set_bus_error_interrupt_flag | ( | void | ) |
Set bus error interrupt flag.
Definition at line 243 of file dma_common.c.
References DMA_IFS, and DMA_IFS_ERR.
void dma_set_desc_address | ( | uint32_t | desc_base | ) |
Set channel's descriptor address.
[in] | desc_base | Address of channel's descriptor address |
Definition at line 69 of file dma_common.c.
References DMA_CTRLBASE.
void dma_set_done_interrupt_flag | ( | enum dma_ch | ch | ) |
Set channel done interrupt flag.
[in] | ch | Channel (use DMA_CHx) |
Definition at line 252 of file dma_common.c.
References DMA_IFS, and DMA_IFS_CHxDONE.
void dma_set_loop_count | ( | enum dma_ch | ch, |
uint16_t | count | ||
) |
Set channel loop width to ( count + 1)
[in] | ch | Channel (use DMA_CHx) |
[in] | count | Count |
Definition at line 358 of file dma_common.c.
References CHANNEL_SUPPORT_LOOP, DMA_LOOP_WIDTH, and DMA_LOOPx.
void dma_set_signal | ( | enum dma_ch | ch, |
uint32_t | signal | ||
) |
Set channel source signal.
[in] | ch | Channel (use DMA_CHx) |
[in] | signal | Signal (use DMA_CH_CTRL_SIGSEL_*) |
Definition at line 324 of file dma_common.c.
References DMA_CHx_CTRL.
void dma_set_source | ( | enum dma_ch | ch, |
uint32_t | source | ||
) |
Set channel source.
[in] | ch | Channel (use DMA_CHx) |
[in] | source | Source (use DMA_CH_CTRL_SOURCESEL_*) |
Definition at line 313 of file dma_common.c.
References DMA_CHx_CTRL.