Home
last modified time | relevance | path

Searched refs:DMA_FLAG_ADD (Results 1 – 16 of 16) sorted by relevance

/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f4xx/standard_peripheral/source/
Dgd32f4xx_dma.c63 DMA_INTC0(dma_periph) |= DMA_FLAG_ADD(DMA_CHINTF_RESET_VALUE, channelx); in dma_deinit()
66 DMA_INTC1(dma_periph) |= DMA_FLAG_ADD(DMA_CHINTF_RESET_VALUE, channelx); in dma_deinit()
709 if(DMA_INTF0(dma_periph) & DMA_FLAG_ADD(flag, channelx)) { in dma_flag_get()
716 if(DMA_INTF1(dma_periph) & DMA_FLAG_ADD(flag, channelx)) { in dma_flag_get()
743 DMA_INTC0(dma_periph) |= DMA_FLAG_ADD(flag, channelx); in dma_flag_clear()
746 DMA_INTC1(dma_periph) |= DMA_FLAG_ADD(flag, channelx); in dma_flag_clear()
823 interrupt_flag = DMA_INTF0(dma_periph) & DMA_FLAG_ADD(interrupt, channelx); in dma_interrupt_flag_get()
827 interrupt_flag = DMA_INTF0(dma_periph) & DMA_FLAG_ADD(interrupt, channelx); in dma_interrupt_flag_get()
831 interrupt_flag = DMA_INTF0(dma_periph) & DMA_FLAG_ADD(interrupt, channelx); in dma_interrupt_flag_get()
835 interrupt_flag = DMA_INTF0(dma_periph) & DMA_FLAG_ADD(interrupt, channelx); in dma_interrupt_flag_get()
[all …]
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f3x0/standard_peripheral/source/
Dgd32f3x0_dma.c56 DMA_INTC |= DMA_FLAG_ADD(DMA_CHINTF_RESET_VALUE, channelx); in dma_deinit()
440 if(RESET != (DMA_INTF & DMA_FLAG_ADD(flag, channelx))){ in dma_flag_get()
465 DMA_INTC |= DMA_FLAG_ADD(flag, channelx); in dma_flag_clear()
487 interrupt_flag = DMA_INTF & DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_get()
491 interrupt_flag = DMA_INTF & DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_get()
495 interrupt_flag = DMA_INTF & DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_get()
525 DMA_INTC |= DMA_FLAG_ADD(flag,channelx); in dma_interrupt_flag_clear()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e50x/standard_peripheral/source/
Dgd32e50x_dma.c68 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(DMA_CHINTF_RESET_VALUE, channelx); in dma_deinit()
578 if(RESET != (DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx))){ in dma_flag_get()
609 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(flag, channelx); in dma_flag_clear()
685 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_get()
689 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_get()
693 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_get()
729 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_clear()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f403/standard_peripheral/source/
Dgd32f403_dma.c68 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(DMA_CHINTF_RESET_VALUE, channelx); in dma_deinit()
571 if(RESET != (DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx))){ in dma_flag_get()
598 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(flag, channelx); in dma_flag_clear()
622 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_get()
626 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_get()
630 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_get()
663 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_clear()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e10x/standard_peripheral/source/
Dgd32e10x_dma.c69 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(DMA_CHINTF_RESET_VALUE, channelx); in dma_deinit()
572 if(RESET != (DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx))){ in dma_flag_get()
599 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(flag, channelx); in dma_flag_clear()
624 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_get()
629 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_get()
634 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_get()
667 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(flag, channelx); in dma_interrupt_flag_clear()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32vf103/standard_peripheral/source/
Dgd32vf103_dma.c67 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(DMA_CHINTF_RESET_VALUE, (uint32_t)channelx); in dma_deinit()
565 if(DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, (uint32_t)channelx)){ in dma_flag_get()
592 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(flag, (uint32_t)channelx); in dma_flag_clear()
617 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, (uint32_t)channelx); in dma_interrupt_flag_get()
622 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, (uint32_t)channelx); in dma_interrupt_flag_get()
627 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, (uint32_t)channelx); in dma_interrupt_flag_get()
660 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(flag, (uint32_t)channelx); in dma_interrupt_flag_clear()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32l23x/standard_peripheral/source/
Dgd32l23x_dma.c57 DMA_INTC |= DMA_FLAG_ADD(DMA_CHINTF_RESET_VALUE, channelx); in dma_deinit()
465 if(RESET != (DMA_INTF & DMA_FLAG_ADD(flag, channelx))) { in dma_flag_get()
490 DMA_INTC |= DMA_FLAG_ADD(flag, channelx); in dma_flag_clear()
512 interrupt_flag = DMA_INTF & DMA_FLAG_ADD(int_flag, channelx); in dma_interrupt_flag_get()
516 interrupt_flag = DMA_INTF & DMA_FLAG_ADD(int_flag, channelx); in dma_interrupt_flag_get()
520 interrupt_flag = DMA_INTF & DMA_FLAG_ADD(int_flag, channelx); in dma_interrupt_flag_get()
550 DMA_INTC |= DMA_FLAG_ADD(int_flag, channelx); in dma_interrupt_flag_clear()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32a50x/standard_peripheral/source/
Dgd32a50x_dma.c59 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(DMA_CHINTF_RESET_VALUE, channelx); in dma_deinit()
500 if(0U != (DMA_INTF(dma_periph) & DMA_FLAG_ADD(flag, channelx))) { in dma_flag_get()
526 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(flag, channelx); in dma_flag_clear()
587 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(int_flag, channelx); in dma_interrupt_flag_get()
591 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(int_flag, channelx); in dma_interrupt_flag_get()
595 interrupt_flag = DMA_INTF(dma_periph) & DMA_FLAG_ADD(int_flag, channelx); in dma_interrupt_flag_get()
626 DMA_INTC(dma_periph) |= DMA_FLAG_ADD(int_flag, channelx); in dma_interrupt_flag_clear()
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f3x0/standard_peripheral/include/
Dgd32f3x0_dma.h148 #define DMA_FLAG_ADD(flag,shift) ((flag) << ((uint32_t)(shift) * 4U)) /*!< DMA … macro
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f403/standard_peripheral/include/
Dgd32f403_dma.h148 #define DMA_FLAG_ADD(flag, shift) ((flag) << ((shift) * 4U)) /*!< DM… macro
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32vf103/standard_peripheral/include/
Dgd32vf103_dma.h149 #define DMA_FLAG_ADD(flag, shift) ((flag) << ((shift) * 4U)) /*!< DM… macro
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e10x/standard_peripheral/include/
Dgd32e10x_dma.h142 #define DMA_FLAG_ADD(flag, shift) ((flag) << ((shift) * 4U)) /*!< DM… macro
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32e50x/standard_peripheral/include/
Dgd32e50x_dma.h149 #define DMA_FLAG_ADD(flag, shift) ((flag) << ((shift) * 4U)) /*!< DM… macro
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32f4xx/standard_peripheral/include/
Dgd32f4xx_dma.h227 #define DMA_FLAG_ADD(flag,channel) ((uint32_t)((flag)<<((((uint32_t)(channel)*6U))+((uint32_… macro
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32l23x/standard_peripheral/include/
Dgd32l23x_dma.h314 #define DMA_FLAG_ADD(flag,shift) ((flag) << ((uint32_t)(shift) * 4U)) … macro
/hal_gigadevice-3.7.0-3.6.0-3.5.0-3.4.0/gd32a50x/standard_peripheral/include/
Dgd32a50x_dma.h371 #define DMA_FLAG_ADD(flag, shift) ((uint32_t)flag << ((uint32_t)(shift) * 4U)) /*!< DMA… macro