⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 csl_nandaux.h

📁 TI达芬奇dm644x各硬件模块测试代码
💻 H
📖 第 1 页 / 共 5 页
字号:

            hNand            Handle to NAND instance

     @endverbatim
 *
 *   <b> Return Value </b>  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *    @n None
 *
 *   @b Modifies
 *   @n  None
 *
 *   @b Example
 *   @verbatim

        CSL_nandIodftMisrOff (hNand);

     @endverbatim
 * ===========================================================================
 */
CSL_IDEF_INLINE
void CSL_nandIodftMisrOff (
    /** Pointer to the object that holds reference to the
     *  instance of NAND requested after the call
     */
    CSL_NandHandle        hNand
)
{
    CSL_FINS(hNand->regs->IODFTGCR, NAND_IODFTGCR_MT, FALSE);
}


/** ===========================================================================
 *   @n@b CSL_nandIodftOpgld
 *
 *   @b Description
 *   @n This function Sets the Load pattern generator's initial value of the 
 *      NAND module.
 *
 *   @b Arguments
 *   @verbatim

            hNand            Handle to NAND instance

     @endverbatim
 *
 *   <b> Return Value </b>  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *    @n None
 *
 *   @b Modifies
 *   @n  None
 *
 *   @b Example
 *   @verbatim

        CSL_nandIodftOpgld (hNand);

     @endverbatim
 * ===========================================================================
 */
CSL_IDEF_INLINE
void CSL_nandIodftOpgld (
    /** Pointer to the object that holds reference to the
     *  instance of NAND requested after the call
     */
    CSL_NandHandle        hNand
)
{
    CSL_FINS(hNand->regs->IODFTGCR, NAND_IODFTGCR_OPGLD, TRUE);
}


/** ===========================================================================
 *   @n@b CSL_nandIodftMmsOpReg
 *
 *   @b Description
 *   @n This function Sets the Sources of MISR input bit  to output register.
 *
 *   @b Arguments
 *   @verbatim

            hNand            Handle to NAND instance

     @endverbatim
 *
 *   <b> Return Value </b>  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *    @n None
 *
 *   @b Modifies
 *   @n  None
 *
 *   @b Example
 *   @verbatim

        CSL_nandIodftMmsOpReg (hNand);

     @endverbatim
 * ===========================================================================
 */
CSL_IDEF_INLINE
void CSL_nandIodftMmsOpReg (
    /** Pointer to the object that holds reference to the
     *  instance of NAND requested after the call
     */
    CSL_NandHandle        hNand
)
{
    CSL_FINS(hNand->regs->IODFTGCR, NAND_IODFTGCR_MMS, FALSE);
}


/** ===========================================================================
 *  @n@b CSL_nandIodftMmsInpCap
 *
 *  @b Description
 *  @n This function Sets the Sources of MISR input bit  to input capture.
 *
 *  @b Arguments
 *  @verbatim

           hNand            Handle to NAND instance

    @endverbatim
 *
 *  <b> Return Value </b>  None
 *
 *  <b> Pre Condition </b>
 *  @n  None
 *
 *  <b> Post Condition </b>
 *  @n None
 *
 *  @b Modifies
 *  @n  None
 *
 *  @b Example
 *  @verbatim

       CSL_nandIodftMmsInpCap (hNand);

    @endverbatim
 * ===========================================================================
 */
CSL_IDEF_INLINE
void CSL_nandIodftMmsInpCap (
    /** Pointer to the object that holds reference to the
     *  instance of NAND requested after the call
     */
    CSL_NandHandle        hNand
)
{
    CSL_FINS(hNand->regs->IODFTGCR, NAND_IODFTGCR_MMS, TRUE);
}


/** ===========================================================================
 *   @n@b CSL_nandIodftEselTest
 *
 *   @b Description
 *   @n This function Sets the Output enable select to Test mode.
 *
 *   @b Arguments
 *   @verbatim

            hNand            Handle to NAND instance

     @endverbatim
 *
 *   <b> Return Value </b>  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *    @n None
 *
 *   @b Modifies
 *   @n  None
 *
 *   @b Example
 *   @verbatim

        CSL_nandIodftEselTest (hNand);

     @endverbatim
 * ===========================================================================
 */
CSL_IDEF_INLINE
void CSL_nandIodftEselTest (
    /** Pointer to the object that holds reference to the
     *  instance of NAND requested after the call
     */
    CSL_NandHandle        hNand
)
{
    CSL_FINS(hNand->regs->IODFTGCR, NAND_IODFTGCR_ESEL, FALSE);
}


/** ===========================================================================
 *   @n@b CSL_nandIodftEselNormal
 *
 *   @b Description
 *   @n This function Sets the Output enable select to Normal Functional mode.
 *
 *   @b Arguments
 *   @verbatim

            hNand            Handle to NAND instance

     @endverbatim
 *
 *   <b> Return Value </b>  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *    @n None
 *
 *   @b Modifies
 *   @n  None
 *
 *   @b Example
 *   @verbatim

        CSL_nandIodftEselNormal (hNand);

     @endverbatim
 * ===========================================================================
 */
CSL_IDEF_INLINE
void CSL_nandIodftEselNormal (
    /** Pointer to the object that holds reference to the
     *  instance of NAND requested after the call
     */
    CSL_NandHandle        hNand
)
{
    CSL_FINS(hNand->regs->IODFTGCR, NAND_IODFTGCR_ESEL, TRUE);
}


/** ===========================================================================
 *   @n@b CSL_nandIodftToenEnable
 *
 *   @b Description
 *   @n This function Sets the Test output enable control bit to Output enabled.
 *
 *   @b Arguments
 *   @verbatim

            hNand            Handle to NAND instance

     @endverbatim
 *
 *   <b> Return Value </b>  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *    @n None
 *
 *   @b Modifies
 *   @n  None
 *
 *   @b Example
 *   @verbatim

        CSL_nandIodftToenEnable (hNand);

     @endverbatim
 * ===========================================================================
 */
CSL_IDEF_INLINE
void CSL_nandIodftToenEnable (
    /** Pointer to the object that holds reference to the
     *  instance of NAND requested after the call
     */
    CSL_NandHandle        hNand
)
{
    CSL_FINS(hNand->regs->IODFTGCR, NAND_IODFTGCR_TOEN, FALSE);
}


/** ===========================================================================
 *   @n@b CSL_nandIodftToenDisable
 *
 *   @b Description
 *   @n This function Sets the Test output enable control bit to Output 
 *      disabled.
 *
 *   @b Arguments
 *   @verbatim

            hNand            Handle to NAND instance

     @endverbatim
 *
 *   <b> Return Value </b>  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *    @n None
 *
 *   @b Modifies
 *   @n  None
 *
 *   @b Example
 *   @verbatim

        CSL_nandIodftToenDisable (hNand);

     @endverbatim
 * ===========================================================================
 */
CSL_IDEF_INLINE
void CSL_nandIodftToenDisable (
    /** Pointer to the object that holds reference to the
     *  instance of NAND requested after the call
     */
    CSL_NandHandle        hNand
)
{
    CSL_FINS(hNand->regs->IODFTGCR, NAND_IODFTGCR_TOEN, TRUE);
}

    
/** ===========================================================================
 *   @n@b CSL_nandIodftSetMisrState
 *
 *   @b Description
 *   @n This function Sets the NAND module MISR state.
 *
 *   @b Arguments
 *   @verbatim

            hNand            Handle to NAND instance
            arg              this is the veriable of type Uint16.

     @endverbatim
 *
 *   <b> Return Value </b>  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *    @n None
 *
 *   @b Modifies
 *   @n  None
 *
 *   @b Example
 *   @verbatim

        CSL_nandIodftSetMisrState (hNand,arg);

     @endverbatim
 * ===========================================================================
 */
CSL_IDEF_INLINE
void CSL_nandIodftSetMisrState (
    /** Pointer to the object that holds reference to the
     *  instance of NAND requested after the call
     */
    CSL_NandHandle        hNand,
    Uint16                arg
)
{
    CSL_FINS(hNand->regs->IODFTGCR, NAND_IODFTGCR_MC, arg);
}


/** ===========================================================================
 *   @n@b CSL_nandIodftSetPatternCode
 *
 *   @b Description
 *   @n This function sets the NAND module Pattern Code.
 *
 *   @b Arguments
 *   @verbatim

            hNand            Handle to NAND instance
            arg              this is the veriable of type Uint16.

     @endverbatim
 *
 *   <b> Return Value </b>  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *    @n None
 *
 *   @b Modifies
 *   @n  None
 *
 *   @b Example
 *   @verbatim

        CSL_nandIodftSetPatternCode (hNand,arg);

     @endverbatim
 * ===========================================================================
 */
CSL_IDEF_INLINE
void CSL_nandIodftSetPatternCode (
    /** Pointer to the object that holds reference to the
     *  instance of NAND requested after the call
     */
    CSL_NandHandle        hNand,
    Uint16                arg
)
{
    CSL_FINS(hNand->regs->IODFTGCR, NAND_IODFTGCR_PC, arg);
}


/** ===========================================================================
 *   @n@b CSL_nandIodftFuncMode
 *
 *   @b Description
 *   @n This function sets the Functional Mode enable to Functional Mode.
 *
 *   @b Arguments
 *   @verbatim

            hNand            Handle to NAND instance

     @endverbatim
 *
 *   <b> Return Value </b>  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *    @n None
 *
 *   @b Modifies
 *   @n  None
 *
 *   @b Example
 *   @verbatim

        CSL_nandIodftFuncMode (hNand);

     @endverbatim
 * ===========================================================================
 */
CSL_IDEF_INLINE
void CSL_nandIodftFuncMode (
    /** Pointer to the object that holds reference to the
     *  instance of NAND requested after the call
     */
    CSL_NandHandle        hNand

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -