ADM/GW/Debug_FLASH/RTD/src/Lpi2c_Ip_HwAccess.c.016i.visibility

123 lines
2.4 KiB
Plaintext

Marking local functions: LPI2C_Set_SlaveSoftwareReset LPI2C_Set_MasterSoftwareReset
Marking externally visible functions: LPI2C_Init
Marking externally visible variables:
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
LPI2C_Init/76 (LPI2C_Init) @05d918c0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: body optimize_size
Called by:
Calls: LPI2C_Set_SlaveSoftwareReset/50 LPI2C_Set_MasterSoftwareReset/4
LPI2C_Set_SlaveSoftwareReset/50 (LPI2C_Set_SlaveSoftwareReset) @05d7a8c0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: body local optimize_size
Called by: LPI2C_Init/76
Calls:
LPI2C_Set_MasterSoftwareReset/4 (LPI2C_Set_MasterSoftwareReset) @05d447e0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: body local optimize_size
Called by: LPI2C_Init/76
Calls:
LPI2C_Init (struct LPI2C_Type * baseAddr)
{
<bb 2> :
# DEBUG BEGIN_STMT
LPI2C_Set_MasterSoftwareReset (baseAddr, 1);
# DEBUG BEGIN_STMT
LPI2C_Set_SlaveSoftwareReset (baseAddr, 1);
# DEBUG BEGIN_STMT
baseAddr->MCR = 0;
# DEBUG BEGIN_STMT
baseAddr->SCR = 0;
return;
}
LPI2C_Set_SlaveSoftwareReset (struct LPI2C_Type * baseAddr, boolean enable)
{
uint32 regValue;
long unsigned int iftmp.1;
<bb 2> :
# DEBUG BEGIN_STMT
regValue = baseAddr->SCR;
# DEBUG BEGIN_STMT
regValue = regValue & 4294967293;
# DEBUG BEGIN_STMT
if (enable != 0)
goto <bb 3>; [INV]
else
goto <bb 4>; [INV]
<bb 3> :
iftmp.1 = 2;
goto <bb 5>; [INV]
<bb 4> :
iftmp.1 = 0;
<bb 5> :
regValue = iftmp.1 | regValue;
# DEBUG BEGIN_STMT
baseAddr->SCR = regValue;
return;
}
LPI2C_Set_MasterSoftwareReset (struct LPI2C_Type * baseAddr, boolean enable)
{
uint32 regValue;
long unsigned int iftmp.0;
<bb 2> :
# DEBUG BEGIN_STMT
regValue = baseAddr->MCR;
# DEBUG BEGIN_STMT
regValue = regValue & 4294967293;
# DEBUG BEGIN_STMT
if (enable != 0)
goto <bb 3>; [INV]
else
goto <bb 4>; [INV]
<bb 3> :
iftmp.0 = 2;
goto <bb 5>; [INV]
<bb 4> :
iftmp.0 = 0;
<bb 5> :
regValue = iftmp.0 | regValue;
# DEBUG BEGIN_STMT
baseAddr->MCR = regValue;
return;
}