USBB pipe DMA drivers
[USBB low-level driver module]


Detailed Description

These macros manage the common features of the pipe DMA channels.


Defines

#define Host_disable_pipe_dma_interrupt(pdma)   (AVR32_USBB_uhinteclr = AVR32_USBB_UHINTECLR_DMA1INTEC_MASK << ((pdma) - 1))
 disables the selected pipe DMA channel interrupt
#define Host_disable_pipe_int_dis_hdma_req(p)   (AVR32_USBB_upconxclr(p) = AVR32_USBB_UPCONXCLR_PDISHDMAC_MASK)
 disables the disabling of HDMA requests by pipe interrupts
#define Host_enable_pipe_dma_interrupt(pdma)   (AVR32_USBB_uhinteset = AVR32_USBB_UHINTESET_DMA1INTES_MASK << ((pdma) - 1))
 enables the selected pipe DMA channel interrupt
#define Host_enable_pipe_int_dis_hdma_req(p)   (AVR32_USBB_upconxset(p) = AVR32_USBB_UPCONXSET_PDISHDMAS_MASK)
 enables the disabling of HDMA requests by pipe interrupts
#define Host_raise_pipe_dma_interrupt(pdma)   (AVR32_USBB_uhintset = AVR32_USBB_UHINTSET_DMA1INTS_MASK << ((pdma) - 1))
 raises the selected pipe DMA channel interrupt
#define Is_host_pipe_dma_interrupt(pdma)   (Tst_bits(AVR32_USBB_uhint, AVR32_USBB_UHINT_DMA1INT_MASK << ((pdma) - 1)))
 tests if an interrupt is triggered by the selected pipe DMA channel
#define Is_host_pipe_dma_interrupt_enabled(pdma)   (Tst_bits(AVR32_USBB_uhinte, AVR32_USBB_UHINTE_DMA1INTE_MASK << ((pdma) - 1)))
 tests if the selected pipe DMA channel interrupt is enabled
#define Is_host_pipe_int_dis_hdma_req_enabled(p)   (Tst_bits(AVR32_USBB_upconx(p), AVR32_USBB_UPCONX_PDISHDMA_MASK))
 tests if the disabling of HDMA requests by pipe interrupts si enabled


Define Documentation

#define Host_disable_pipe_dma_interrupt ( pdma   )     (AVR32_USBB_uhinteclr = AVR32_USBB_UHINTECLR_DMA1INTEC_MASK << ((pdma) - 1))

disables the selected pipe DMA channel interrupt

Definition at line 1569 of file usb_drv.h.

#define Host_disable_pipe_int_dis_hdma_req (  )     (AVR32_USBB_upconxclr(p) = AVR32_USBB_UPCONXCLR_PDISHDMAC_MASK)

disables the disabling of HDMA requests by pipe interrupts

Definition at line 1558 of file usb_drv.h.

#define Host_enable_pipe_dma_interrupt ( pdma   )     (AVR32_USBB_uhinteset = AVR32_USBB_UHINTESET_DMA1INTES_MASK << ((pdma) - 1))

enables the selected pipe DMA channel interrupt

Definition at line 1567 of file usb_drv.h.

#define Host_enable_pipe_int_dis_hdma_req (  )     (AVR32_USBB_upconxset(p) = AVR32_USBB_UPCONXSET_PDISHDMAS_MASK)

enables the disabling of HDMA requests by pipe interrupts

Definition at line 1556 of file usb_drv.h.

#define Host_raise_pipe_dma_interrupt ( pdma   )     (AVR32_USBB_uhintset = AVR32_USBB_UHINTSET_DMA1INTS_MASK << ((pdma) - 1))

raises the selected pipe DMA channel interrupt

Definition at line 1563 of file usb_drv.h.

#define Is_host_pipe_dma_interrupt ( pdma   )     (Tst_bits(AVR32_USBB_uhint, AVR32_USBB_UHINT_DMA1INT_MASK << ((pdma) - 1)))

tests if an interrupt is triggered by the selected pipe DMA channel

Definition at line 1565 of file usb_drv.h.

#define Is_host_pipe_dma_interrupt_enabled ( pdma   )     (Tst_bits(AVR32_USBB_uhinte, AVR32_USBB_UHINTE_DMA1INTE_MASK << ((pdma) - 1)))

tests if the selected pipe DMA channel interrupt is enabled

Definition at line 1571 of file usb_drv.h.

#define Is_host_pipe_int_dis_hdma_req_enabled (  )     (Tst_bits(AVR32_USBB_upconx(p), AVR32_USBB_UPCONX_PDISHDMA_MASK))

tests if the disabling of HDMA requests by pipe interrupts si enabled

Definition at line 1560 of file usb_drv.h.


Generated on Fri Feb 19 02:27:54 2010 for AVR32 - USB Enumeration Example by  doxygen 1.5.5