Detailed Description
These macros manage the common features of the endpoint DMA channels.
|
Defines |
#define | Is_usb_endpoint_dma_interrupt(epdma) (Tst_bits(AVR32_USBB_udint, AVR32_USBB_UDINT_DMA1INT_MASK << ((epdma) - 1))) |
| tests if an interrupt is triggered by the selected endpoint DMA channel
|
#define | Is_usb_endpoint_dma_interrupt_enabled(epdma) (Tst_bits(AVR32_USBB_udinte, AVR32_USBB_UDINTE_DMA1INTE_MASK << ((epdma) - 1))) |
| tests if the selected endpoint DMA channel interrupt is enabled
|
#define | Is_usb_endpoint_int_dis_hdma_req_enabled(ep) (Tst_bits(AVR32_USBB_ueconx(ep), AVR32_USBB_UECONX_EPDISHDMA_MASK)) |
| tests if the disabling of HDMA requests by endpoint interrupts is enabled
|
#define | Usb_disable_endpoint_dma_interrupt(epdma) (AVR32_USBB_udinteclr = AVR32_USBB_UDINTECLR_DMA1INTEC_MASK << ((epdma) - 1)) |
| disables the selected endpoint DMA channel interrupt
|
#define | Usb_disable_endpoint_int_dis_hdma_req(ep) (AVR32_USBB_ueconxclr(ep) = AVR32_USBB_UECONXCLR_EPDISHDMAC_MASK) |
| disables the disabling of HDMA requests by endpoint interrupts
|
#define | Usb_enable_endpoint_dma_interrupt(epdma) (AVR32_USBB_udinteset = AVR32_USBB_UDINTESET_DMA1INTES_MASK << ((epdma) - 1)) |
| enables the selected endpoint DMA channel interrupt
|
#define | Usb_enable_endpoint_int_dis_hdma_req(ep) (AVR32_USBB_ueconxset(ep) = AVR32_USBB_UECONXSET_EPDISHDMAS_MASK) |
| enables the disabling of HDMA requests by endpoint interrupts
|
#define | Usb_raise_endpoint_dma_interrupt(epdma) (AVR32_USBB_udintset = AVR32_USBB_UDINTSET_DMA1INTS_MASK << ((epdma) - 1)) |
| raises the selected endpoint DMA channel interrupt
|
Define Documentation
#define Is_usb_endpoint_dma_interrupt |
( |
epdma |
|
) |
(Tst_bits(AVR32_USBB_udint, AVR32_USBB_UDINT_DMA1INT_MASK << ((epdma) - 1))) |
tests if an interrupt is triggered by the selected endpoint DMA channel
Definition at line 938 of file usb_drv.h.
#define Is_usb_endpoint_dma_interrupt_enabled |
( |
epdma |
|
) |
(Tst_bits(AVR32_USBB_udinte, AVR32_USBB_UDINTE_DMA1INTE_MASK << ((epdma) - 1))) |
tests if the selected endpoint DMA channel interrupt is enabled
Definition at line 944 of file usb_drv.h.
#define Is_usb_endpoint_int_dis_hdma_req_enabled |
( |
ep |
|
) |
(Tst_bits(AVR32_USBB_ueconx(ep), AVR32_USBB_UECONX_EPDISHDMA_MASK)) |
tests if the disabling of HDMA requests by endpoint interrupts is enabled
Definition at line 933 of file usb_drv.h.
#define Usb_disable_endpoint_dma_interrupt |
( |
epdma |
|
) |
(AVR32_USBB_udinteclr = AVR32_USBB_UDINTECLR_DMA1INTEC_MASK << ((epdma) - 1)) |
disables the selected endpoint DMA channel interrupt
Definition at line 942 of file usb_drv.h.
#define Usb_disable_endpoint_int_dis_hdma_req |
( |
ep |
|
) |
(AVR32_USBB_ueconxclr(ep) = AVR32_USBB_UECONXCLR_EPDISHDMAC_MASK) |
disables the disabling of HDMA requests by endpoint interrupts
Definition at line 931 of file usb_drv.h.
#define Usb_enable_endpoint_dma_interrupt |
( |
epdma |
|
) |
(AVR32_USBB_udinteset = AVR32_USBB_UDINTESET_DMA1INTES_MASK << ((epdma) - 1)) |
enables the selected endpoint DMA channel interrupt
Definition at line 940 of file usb_drv.h.
#define Usb_enable_endpoint_int_dis_hdma_req |
( |
ep |
|
) |
(AVR32_USBB_ueconxset(ep) = AVR32_USBB_UECONXSET_EPDISHDMAS_MASK) |
enables the disabling of HDMA requests by endpoint interrupts
Definition at line 929 of file usb_drv.h.
#define Usb_raise_endpoint_dma_interrupt |
( |
epdma |
|
) |
(AVR32_USBB_udintset = AVR32_USBB_UDINTSET_DMA1INTS_MASK << ((epdma) - 1)) |
raises the selected endpoint DMA channel interrupt
Definition at line 936 of file usb_drv.h.