PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
CHIP: LPC11u6x DMA trigger selection driver
[CHIP: LPC11u6x DMA Controller driver]
Data Structures | |
struct | LPC_DMATRIGMUX_T |
DMA trigger pin muxing structure. More... | |
Enumerations | |
enum | DMA_TRIGSRC_T { DMATRIG_ADC0_SEQA_IRQ = 0, DMATRIG_ADC0_SEQB_IRQ, DMATRIG_CT16B0_MAT0, DMATRIG_CT16B1_MAT0, DMATRIG_CT32B0_MAT0, DMATRIG_CT32B1_MAT0, DMATRIG_PINT0, DMATRIG_PINT1, DMATRIG_SCT0_DMA0, DMATRIG_SCT0_DMA1, DMATRIG_SCT1_DMA0, DMATRIG_SCT1_DMA1 } |
Functions | |
STATIC INLINE void | Chip_DMA_SetHWTrigger (LPC_DMATRIGMUX_T *pDMATRIG, DMA_CHID_T ch, DMA_TRIGSRC_T trig) |
Select a trigger source for a DMA channel. |
Enumeration Type Documentation
enum DMA_TRIGSRC_T |
- Enumerator:
Definition at line 445 of file dma_11u6x.h.
Function Documentation
STATIC INLINE void Chip_DMA_SetHWTrigger | ( | LPC_DMATRIGMUX_T * | pDMATRIG, |
DMA_CHID_T | ch, | ||
DMA_TRIGSRC_T | trig | ||
) |
Select a trigger source for a DMA channel.
- Parameters:
-
pDMATRIG : The base of DMA trigger setup block on the chip ch : DMA channel ID trig : Trigger source for the DMA channel
- Returns:
- Nothing
- Note:
- A DMA trigger source only needs to be setup when the DMA is setup for hardware trigger mode (when Chip_DMA_SetupChannelConfig() is called with DMA_CFG_HWTRIGEN as OR'ed option).
Definition at line 470 of file dma_11u6x.h.
Generated on Tue Jul 12 2022 21:03:52 by 1.7.2