libnds
Functions
ndma.h File Reference

NDMA helpers. More...

#include <nds/ndstypes.h>

Functions

static int ndmaBusy (uint8_t channel)
 Determines if the specified NDMA channel is busy. More...
 

Detailed Description

NDMA helpers.

Function Documentation

◆ ndmaBusy()

static int ndmaBusy ( uint8_t  channel)
inlinestatic

Determines if the specified NDMA channel is busy.

Parameters
channelthe NDMA channel to check (0 - 3).
Returns
non zero if busy, 0 if channel is free.