Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/edma/
Dfsl_edma.c814 static uint8_t startInstanceNum; in EDMA_GetInstanceOffset() local
817 startInstanceNum = (uint8_t)EDMA_GetInstance(DMA0); in EDMA_GetInstanceOffset()
819 startInstanceNum = (uint8_t)EDMA_GetInstance(DMA1); in EDMA_GetInstanceOffset()
821 startInstanceNum = (uint8_t)EDMA_GetInstance(DMA2); in EDMA_GetInstanceOffset()
823 startInstanceNum = (uint8_t)EDMA_GetInstance(DMA3); in EDMA_GetInstanceOffset()
826 assert(startInstanceNum <= instance); in EDMA_GetInstanceOffset()
828 return instance - startInstanceNum; in EDMA_GetInstanceOffset()