📄 csl_nandaux.h
字号:
* @b Example
* @verbatim
CSL_nandCs2EccStart (hNand);
@endverbatim
* ===========================================================================
*/
CSL_IDEF_INLINE
void CSL_nandCs2EccStart (
/** Pointer to the object that holds reference to the
* instance of NAND requested after the call
*/
CSL_NandHandle hNand
)
{
CSL_FINS(hNand->regs->NANDFCR, NAND_NANDFCR_CS2ECC, TRUE);
}
/** ===========================================================================
* @n@b CSL_nandCs5NandEnable
*
* @b Description
* @n This function enables the NAND Chip Select 5 bit in Controler 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_nandCs5NandEnable (hNand);
@endverbatim
* ===========================================================================
*/
CSL_IDEF_INLINE
void CSL_nandCs5NandEnable (
/** Pointer to the object that holds reference to the
* instance of NAND requested after the call
*/
CSL_NandHandle hNand
)
{
CSL_FINS(hNand->regs->NANDFCR, NAND_NANDFCR_CS5NAND, TRUE);
}
/** ===========================================================================
* @n@b CSL_nandCs5NandDisable
*
* @b Description
* @n This function disables the NAND Chip Select 5 bit in Controler
* 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_nandCs5NandDisable (hNand);
@endverbatim
* ===========================================================================
*/
CSL_IDEF_INLINE
void CSL_nandCs5NandDisable (
/** Pointer to the object that holds reference to the
* instance of NAND requested after the call
*/
CSL_NandHandle hNand
)
{
CSL_FINS(hNand->regs->NANDFCR, NAND_NANDFCR_CS5NAND, FALSE);
}
/** ===========================================================================
* @n@b CSL_nandCs4NandEnable
*
* @b Description
* @n This function enables the NAND Chip Select 4 bit in Controler 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_nandCs4NandEnable (hNand);
@endverbatim
* ===========================================================================
*/
CSL_IDEF_INLINE
void CSL_nandCs4NandEnable (
/** Pointer to the object that holds reference to the
* instance of NAND requested after the call
*/
CSL_NandHandle hNand
)
{
CSL_FINS(hNand->regs->NANDFCR, NAND_NANDFCR_CS4NAND, TRUE);
}
/** ===========================================================================
* @n@b CSL_nandCs4NandDisable
*
* @b Description
* @n This function disables the NAND Chip Select 4 bit in Controler 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_nandCs4NandDisable (hNand);
@endverbatim
* ===========================================================================
*/
CSL_IDEF_INLINE
void CSL_nandCs4NandDisable (
/** Pointer to the object that holds reference to the
* instance of NAND requested after the call
*/
CSL_NandHandle hNand
)
{
CSL_FINS(hNand->regs->NANDFCR, NAND_NANDFCR_CS4NAND, FALSE);
}
/** ===========================================================================
* @n@b CSL_nandCs3NandEnable
*
* @b Description
* @n This function enables the NAND Chip Select 3 bit in Controler 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_nandCs3NandEnable (hNand);
@endverbatim
* ===========================================================================
*/
CSL_IDEF_INLINE
void CSL_nandCs3NandEnable (
/** Pointer to the object that holds reference to the
* instance of NAND requested after the call
*/
CSL_NandHandle hNand
)
{
CSL_FINS(hNand->regs->NANDFCR, NAND_NANDFCR_CS3NAND, TRUE);
}
/** ===========================================================================
* @n@b CSL_nandCs3NandDisable
*
* @b Description
* @n This function disables the NAND Chip Select 3 bit in Controler 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_nandCs3NandDisable (hNand);
@endverbatim
* ===========================================================================
*/
CSL_IDEF_INLINE
void CSL_nandCs3NandDisable (
/** Pointer to the object that holds reference to the
* instance of NAND requested after the call
*/
CSL_NandHandle hNand
)
{
CSL_FINS(hNand->regs->NANDFCR, NAND_NANDFCR_CS3NAND, FALSE);
}
/** ===========================================================================
* @n@b CSL_nandCs2NandEnable
*
* @b Description
* @n This function enables the NAND Chip Select 2 bit in Controler 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_nandCs2NandEnable (hNand);
@endverbatim
* ===========================================================================
*/
CSL_IDEF_INLINE
void CSL_nandCs2NandEnable (
/** Pointer to the object that holds reference to the
* instance of NAND requested after the call
*/
CSL_NandHandle hNand
)
{
CSL_FINS(hNand->regs->NANDFCR, NAND_NANDFCR_CS2NAND, TRUE);
}
/** ===========================================================================
* @n@b CSL_nandCs2NandDisable
*
* @b Description
* @n This function disables the NAND Chip Select 5 bit in Controler 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_nandCs2NandDisable (hNand);
@endverbatim
* ===========================================================================
*/
CSL_IDEF_INLINE
void CSL_nandCs2NandDisable (
/** Pointer to the object that holds reference to the
* instance of NAND requested after the call
*/
CSL_NandHandle hNand
)
{
CSL_FINS(hNand->regs->NANDFCR, NAND_NANDFCR_CS2NAND, FALSE);
}
/** ===========================================================================
* @n@b CSL_nandIodftSetTlec
*
* @b Description
* @n This function sets the number of cycles of Misr signature in IODFT Test
* Logic Execution counter Register.
*
* @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_nandIodftSetTlec (hNand,arg);
@endverbatim
* ===========================================================================
*/
CSL_IDEF_INLINE
void CSL_nandIodftSetTlec (
/** 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->IODFTECR, NAND_IODFTECR_TLEC, arg);
}
/** ===========================================================================
* @n@b CSL_nandIodftMisrOn
*
* @b Description
* @n This function Sets the MISR State of the NAND module.
*
* @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_nandIodftMisrOn (hNand,arg);
@endverbatim
* ===========================================================================
*/
CSL_IDEF_INLINE
void CSL_nandIodftMisrOn (
/** 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);
CSL_FINS(hNand->regs->IODFTGCR, NAND_IODFTGCR_MT, TRUE);
}
/** ===========================================================================
* @n@b CSL_nandIodftMisrOff
*
* @b Description
* @n This function Clears the MISR state of the NAND module.
*
* @b Arguments
* @verbatim
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -