Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
USBB pipe DMA drivers

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

Macros

#define Host_disable_pipe_dma_interrupt(pdma)   (AVR32_USBB_uhinteclr = AVR32_USBB_UHINTECLR_DMA1INTEC_MASK << ((pdma) - 1))
 disables the selected pipe DMA channel interrupt More...
 
#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 More...
 
#define Host_enable_pipe_dma_interrupt(pdma)   (AVR32_USBB_uhinteset = AVR32_USBB_UHINTESET_DMA1INTES_MASK << ((pdma) - 1))
 enables the selected pipe DMA channel interrupt More...
 
#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 More...
 
#define Host_raise_pipe_dma_interrupt(pdma)   (AVR32_USBB_uhintset = AVR32_USBB_UHINTSET_DMA1INTS_MASK << ((pdma) - 1))
 raises the selected pipe DMA channel interrupt More...
 
#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 More...
 
#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 More...
 
#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 More...
 

#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