# MI_GetNDmaIntervalPrescaler

## Syntax

  `#include <twl/mi.h>`
  `u32 MI_GetNDmaIntervalPrescaler( u32 ndmaNo );`

## Arguments

ndmaNo | DMA number to get settings for (0-3).

## Return Values

Prescaler value of the block transfer interval timer.

## Description

Gets the prescaler setting of the block transfer interval timer.

It gets the prescaler setting of the block transfer interval timer for the new TWL DMA specified in ndmaNo.

The function can obtain the following values:

Value | Description
--- | ---
`MI_NDMA_INTERVAL_PS_1` | System clock (33.514 MHz)
`MI_NDMA_INTERVAL_PS_4` | 1/4th of the system clock
`MI_NDMA_INTERVAL_PS_16` | 1/16th of the system clock
`MI_NDMA_INTERVAL_PS_64` | 1/64th of the system clock

## See Also

`MI_SetNDmaInterval
`

## Revision History

2007/09/07 Initial version.

CONFIDENTIAL