# NNS_G2dGetCellDataByIdx

## Syntax

      #include <nnsys/g2d/load/g2d_NCE_load.h>

      const NNSG2dCellData* NNS_G2dGetCellDataByIdx(
          const NNSG2dCellDataBank*   pCellData,
          u16                         idx );

## Arguments

`pCellData` | [IN] Cell data bank
`idx` | [IN] Index

## Return Values

Cell data.

## Description

Gets the cell data with the index assignment from the cell data bank. Returns `NULL` when an invalid index is specified.

## See Also

None.

## Revision History

2004/05/28 Initial version.

CONFIDENTIAL