iLLD_TC27xD  1.0
Utility Functions
Collaboration diagram for Utility Functions:

Functions

IFX_INLINE void IfxMtu_enableModule (void)
 Enables the MTU module. More...
 
IFX_INLINE boolean IfxMtu_isModuleEnabled (void)
 Returns the status of whether the module is enabled or not. More...
 
IFX_EXTERN void IfxMtu_disableMbistShell (IfxMtu_MbistSel mbistSel)
 Disables the MBIST Shell of the given SRAM. More...
 
IFX_EXTERN void IfxMtu_enableMbistShell (IfxMtu_MbistSel mbistSel)
 Enables the MBIST Shell of the given SRAM. More...
 
IFX_EXTERN boolean IfxMtu_isAutoInitRunning (IfxMtu_MbistSel mbistSel)
 Returns TRUE if Auto-Initialisation is running for the given SRAM. More...
 

Detailed Description

Function Documentation

IFX_EXTERN void IfxMtu_disableMbistShell ( IfxMtu_MbistSel  mbistSel)

Disables the MBIST Shell of the given SRAM.

Parameters
mbistSelMemory Selection
Returns
None

Usage Example

IfxMtu_disableMbistShell(IfxMtu_MbistSel_cpu0Dtag);
// Note: Wait for Auto-initilisation to be completed for auto-init memories like cpu-Dtag, cpu-Ptag, Cpu-Dcache, Cpu-Pcache
while (IfxMtu_isAutoInitRunning(IfxMtu_MbistSel_cpu0Dtag))
{}

Definition at line 184 of file IfxMtu.c.

Referenced by IfxMtu_clearSramContinue(), IfxMtu_runCheckerBoardTest(), IfxMtu_runMarchUTest(), and IfxMtu_runNonDestructiveInversionTest().

IFX_EXTERN void IfxMtu_enableMbistShell ( IfxMtu_MbistSel  mbistSel)

Enables the MBIST Shell of the given SRAM.

Parameters
mbistSelMemory Selection
Returns
None

Usage Example

// Enable MTU clock
{
}
{
IfxMtu_enableMbistShell(IfxMtu_MbistSel_cpu0Dtag);
// Note: Wait for Auto-initilisation to be completed for auto-init memories like cpu-Dtag, cpu-Ptag, Cpu-Dcache, Cpu-Pcache,
while (IfxMtu_isAutoInitRunning(IfxMtu_MbistSel_cpu0Dtag))
{}
}

Definition at line 207 of file IfxMtu.c.

Referenced by IfxMtu_clearSramStart(), IfxMtu_runCheckerBoardTest(), IfxMtu_runMarchUTest(), and IfxMtu_runNonDestructiveInversionTest().

IFX_INLINE void IfxMtu_enableModule ( void  )

Enables the MTU module.

Returns
None

Definition at line 512 of file IfxMtu.h.

Referenced by IfxEray_Eray_initModule().

IFX_EXTERN boolean IfxMtu_isAutoInitRunning ( IfxMtu_MbistSel  mbistSel)

Returns TRUE if Auto-Initialisation is running for the given SRAM.

Should be polled after MBIST enableMbistShell to ensure that an auto-init operation is finished before starting a new operation.

Parameters
mbistSelMemory Selection
Returns
TRUE if auto-initialisation running.

Definition at line 287 of file IfxMtu.c.

Referenced by IfxMtu_clearSramContinue(), IfxMtu_clearSramStart(), IfxMtu_runCheckerBoardTest(), IfxMtu_runMarchUTest(), and IfxMtu_runNonDestructiveInversionTest().

IFX_INLINE boolean IfxMtu_isModuleEnabled ( void  )

Returns the status of whether the module is enabled or not.

Returns

Definition at line 519 of file IfxMtu.h.