mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 18:03:59 +09:00
907 lines
22 KiB
Plaintext
907 lines
22 KiB
Plaintext
|
|
Marking local functions:
|
|
|
|
|
|
Marking externally visible functions: Flexio_Mcl_Ip_ClearPinStatus Flexio_Mcl_Ip_SetTimerDMARequest Flexio_Mcl_Ip_Init Flexio_Mcl_Ip_SetTimerInterrupt Flexio_Mcl_Ip_GetAllTimerInterrupt Flexio_Mcl_Ip_SetShifterDMARequest Flexio_Mcl_Ip_GetAllPinsInterrupt Flexio_Mcl_Ip_GetAllPinsStatus Flexio_Mcl_Ip_SetShifterInterrupt Flexio_Mcl_Ip_SetShifterErrorInterrupt Flexio_Mcl_Ip_GetAllShifterErrorInterrupt Flexio_Mcl_Ip_GetAllShifterInterrupt Flexio_Mcl_Ip_ClearTimerStatus Flexio_Mcl_Ip_GetAllTimerStatus Flexio_Mcl_Ip_GetTimerInterruptEnable Flexio_Mcl_Ip_GetTimerStatus Flexio_Mcl_Ip_ClearShifterErrorStatus Flexio_Mcl_Ip_GetAllShifterErrorStatus Flexio_Mcl_Ip_GetShifterErrorStatus Flexio_Mcl_Ip_ClearShifterStatus Flexio_Mcl_Ip_GetAllShifterStatus Flexio_Mcl_Ip_GetShifterStatus Flexio_Mcl_Ip_SetEnable Flexio_Mcl_Ip_SetDebugEnable Flexio_Mcl_Ip_SetSoftwareReset
|
|
|
|
|
|
Marking externally visible variables:
|
|
|
|
|
|
Reclaiming functions:
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
Symbol table:
|
|
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_46/40 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_46) @06a387e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetTimerDMARequest/23
|
|
Calls:
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_46/39 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_46) @06a38700
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetTimerDMARequest/23
|
|
Calls:
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_45/38 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_45) @06a38460
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetTimerInterrupt/21
|
|
Calls:
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_45/37 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_45) @06a38380
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetTimerInterrupt/21
|
|
Calls:
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_44/36 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_44) @06a380e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetShifterDMARequest/19
|
|
Calls:
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_44/35 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_44) @06a38000
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetShifterDMARequest/19
|
|
Calls:
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_43/34 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_43) @069f3c40
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetShifterInterrupt/16
|
|
Calls:
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_43/33 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_43) @069f3b60
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetShifterInterrupt/16
|
|
Calls:
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_42/32 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_42) @069f39a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetShifterErrorInterrupt/15
|
|
Calls:
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_42/31 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_42) @069f38c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetShifterErrorInterrupt/15
|
|
Calls:
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_41/30 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_41) @069eed20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetEnable/2
|
|
Calls:
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_41/29 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_41) @069eec40
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetEnable/2
|
|
Calls:
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_40/28 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_40) @069eea80
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetDebugEnable/1
|
|
Calls:
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_40/27 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_40) @069ee9a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetDebugEnable/1
|
|
Calls:
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_39/26 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_39) @069ee7e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetSoftwareReset/0
|
|
Calls:
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_39/25 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_39) @069ee700
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Flexio_Mcl_Ip_SetSoftwareReset/0
|
|
Calls:
|
|
Flexio_Mcl_Ip_ClearPinStatus/24 (Flexio_Mcl_Ip_ClearPinStatus) @069ee2a0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_SetTimerDMARequest/23 (Flexio_Mcl_Ip_SetTimerDMARequest) @069ee000
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_46/40 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_46/39
|
|
Flexio_Mcl_Ip_Init/22 (Flexio_Mcl_Ip_Init) @06994b60
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls: Flexio_Mcl_Ip_SetSoftwareReset/0
|
|
Flexio_Mcl_Ip_SetTimerInterrupt/21 (Flexio_Mcl_Ip_SetTimerInterrupt) @06994620
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_45/38 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_45/37
|
|
Flexio_Mcl_Ip_GetAllTimerInterrupt/20 (Flexio_Mcl_Ip_GetAllTimerInterrupt) @069940e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_SetShifterDMARequest/19 (Flexio_Mcl_Ip_SetShifterDMARequest) @06994d20
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_44/36 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_44/35
|
|
Flexio_Mcl_Ip_GetAllPinsInterrupt/18 (Flexio_Mcl_Ip_GetAllPinsInterrupt) @06994a80
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_GetAllPinsStatus/17 (Flexio_Mcl_Ip_GetAllPinsStatus) @069947e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_SetShifterInterrupt/16 (Flexio_Mcl_Ip_SetShifterInterrupt) @06994540
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_43/34 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_43/33
|
|
Flexio_Mcl_Ip_SetShifterErrorInterrupt/15 (Flexio_Mcl_Ip_SetShifterErrorInterrupt) @069942a0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_42/32 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_42/31
|
|
Flexio_Mcl_Ip_GetAllShifterErrorInterrupt/14 (Flexio_Mcl_Ip_GetAllShifterErrorInterrupt) @06994000
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_GetAllShifterInterrupt/13 (Flexio_Mcl_Ip_GetAllShifterInterrupt) @06991b60
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_ClearTimerStatus/12 (Flexio_Mcl_Ip_ClearTimerStatus) @06991620
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_GetAllTimerStatus/11 (Flexio_Mcl_Ip_GetAllTimerStatus) @069910e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_GetTimerInterruptEnable/10 (Flexio_Mcl_Ip_GetTimerInterruptEnable) @06991d20
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_GetTimerStatus/9 (Flexio_Mcl_Ip_GetTimerStatus) @06991a80
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_ClearShifterErrorStatus/8 (Flexio_Mcl_Ip_ClearShifterErrorStatus) @069917e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_GetAllShifterErrorStatus/7 (Flexio_Mcl_Ip_GetAllShifterErrorStatus) @06991540
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_GetShifterErrorStatus/6 (Flexio_Mcl_Ip_GetShifterErrorStatus) @069912a0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_ClearShifterStatus/5 (Flexio_Mcl_Ip_ClearShifterStatus) @06991000
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_GetAllShifterStatus/4 (Flexio_Mcl_Ip_GetAllShifterStatus) @0698db60
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_GetShifterStatus/3 (Flexio_Mcl_Ip_GetShifterStatus) @0698d620
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Flexio_Mcl_Ip_SetEnable/2 (Flexio_Mcl_Ip_SetEnable) @0698dd20
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_41/30 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_41/29
|
|
Flexio_Mcl_Ip_SetDebugEnable/1 (Flexio_Mcl_Ip_SetDebugEnable) @0698da80
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_40/28 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_40/27
|
|
Flexio_Mcl_Ip_SetSoftwareReset/0 (Flexio_Mcl_Ip_SetSoftwareReset) @0698d7e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by: Flexio_Mcl_Ip_Init/22
|
|
Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_39/26 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_39/25
|
|
Flexio_Mcl_Ip_ClearPinStatus (struct FLEXIO_Type * baseAddr, uint8 pin)
|
|
{
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = baseAddr->PINSTAT;
|
|
_2 = (int) pin;
|
|
_3 = 1 << _2;
|
|
_4 = (unsigned char) _3;
|
|
_5 = (long unsigned int) _4;
|
|
_6 = _1 | _5;
|
|
baseAddr->PINSTAT = _6;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_SetTimerDMARequest (struct FLEXIO_Type * baseAddr, uint8 requestMask, boolean enable)
|
|
{
|
|
uint32 tmp;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_46 ();
|
|
# DEBUG BEGIN_STMT
|
|
tmp = baseAddr->TIMERSDEN;
|
|
# DEBUG BEGIN_STMT
|
|
if (enable != 0)
|
|
goto <bb 3>; [INV]
|
|
else
|
|
goto <bb 4>; [INV]
|
|
|
|
<bb 3> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (long unsigned int) requestMask;
|
|
tmp = tmp | _1;
|
|
goto <bb 5>; [INV]
|
|
|
|
<bb 4> :
|
|
# DEBUG BEGIN_STMT
|
|
_2 = (long unsigned int) requestMask;
|
|
_3 = ~_2;
|
|
tmp = tmp & _3;
|
|
|
|
<bb 5> :
|
|
# DEBUG BEGIN_STMT
|
|
baseAddr->TIMERSDEN = tmp;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_46 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_Init (struct FLEXIO_Type * baseAddr)
|
|
{
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
Flexio_Mcl_Ip_SetSoftwareReset (baseAddr, 1);
|
|
# DEBUG BEGIN_STMT
|
|
baseAddr->CTRL = 0;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_SetTimerInterrupt (struct FLEXIO_Type * baseAddr, uint8 interruptMask, boolean enable)
|
|
{
|
|
uint32 tmp;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_45 ();
|
|
# DEBUG BEGIN_STMT
|
|
tmp = baseAddr->TIMIEN;
|
|
# DEBUG BEGIN_STMT
|
|
if (enable != 0)
|
|
goto <bb 3>; [INV]
|
|
else
|
|
goto <bb 4>; [INV]
|
|
|
|
<bb 3> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (long unsigned int) interruptMask;
|
|
tmp = tmp | _1;
|
|
goto <bb 5>; [INV]
|
|
|
|
<bb 4> :
|
|
# DEBUG BEGIN_STMT
|
|
_2 = (long unsigned int) interruptMask;
|
|
_3 = ~_2;
|
|
tmp = tmp & _3;
|
|
|
|
<bb 5> :
|
|
# DEBUG BEGIN_STMT
|
|
baseAddr->TIMIEN = tmp;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_45 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_GetAllTimerInterrupt (const struct FLEXIO_Type * baseAddr)
|
|
{
|
|
uint32 D.4781;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
D.4781 = baseAddr->TIMIEN;
|
|
return D.4781;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_SetShifterDMARequest (struct FLEXIO_Type * baseAddr, uint8 requestMask, boolean enable)
|
|
{
|
|
uint32 tmp;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_44 ();
|
|
# DEBUG BEGIN_STMT
|
|
tmp = baseAddr->SHIFTSDEN;
|
|
# DEBUG BEGIN_STMT
|
|
if (enable != 0)
|
|
goto <bb 3>; [INV]
|
|
else
|
|
goto <bb 4>; [INV]
|
|
|
|
<bb 3> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (long unsigned int) requestMask;
|
|
tmp = tmp | _1;
|
|
goto <bb 5>; [INV]
|
|
|
|
<bb 4> :
|
|
# DEBUG BEGIN_STMT
|
|
_2 = (long unsigned int) requestMask;
|
|
_3 = ~_2;
|
|
tmp = tmp & _3;
|
|
|
|
<bb 5> :
|
|
# DEBUG BEGIN_STMT
|
|
baseAddr->SHIFTSDEN = tmp;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_44 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_GetAllPinsInterrupt (const struct FLEXIO_Type * baseAddr)
|
|
{
|
|
uint32 D.4776;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
D.4776 = baseAddr->PINIEN;
|
|
return D.4776;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_GetAllPinsStatus (const struct FLEXIO_Type * baseAddr)
|
|
{
|
|
uint32 D.4774;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
D.4774 = baseAddr->PINSTAT;
|
|
return D.4774;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_SetShifterInterrupt (struct FLEXIO_Type * baseAddr, uint8 interruptMask, boolean enable)
|
|
{
|
|
uint32 tmp;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_43 ();
|
|
# DEBUG BEGIN_STMT
|
|
tmp = baseAddr->SHIFTSIEN;
|
|
# DEBUG BEGIN_STMT
|
|
if (enable != 0)
|
|
goto <bb 3>; [INV]
|
|
else
|
|
goto <bb 4>; [INV]
|
|
|
|
<bb 3> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (long unsigned int) interruptMask;
|
|
tmp = tmp | _1;
|
|
goto <bb 5>; [INV]
|
|
|
|
<bb 4> :
|
|
# DEBUG BEGIN_STMT
|
|
_2 = (long unsigned int) interruptMask;
|
|
_3 = ~_2;
|
|
tmp = tmp & _3;
|
|
|
|
<bb 5> :
|
|
# DEBUG BEGIN_STMT
|
|
baseAddr->SHIFTSIEN = tmp;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_43 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_SetShifterErrorInterrupt (struct FLEXIO_Type * baseAddr, uint8 interruptMask, boolean enable)
|
|
{
|
|
uint32 tmp;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_42 ();
|
|
# DEBUG BEGIN_STMT
|
|
tmp = baseAddr->SHIFTEIEN;
|
|
# DEBUG BEGIN_STMT
|
|
if (enable != 0)
|
|
goto <bb 3>; [INV]
|
|
else
|
|
goto <bb 4>; [INV]
|
|
|
|
<bb 3> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (long unsigned int) interruptMask;
|
|
tmp = tmp | _1;
|
|
goto <bb 5>; [INV]
|
|
|
|
<bb 4> :
|
|
# DEBUG BEGIN_STMT
|
|
_2 = (long unsigned int) interruptMask;
|
|
_3 = ~_2;
|
|
tmp = tmp & _3;
|
|
|
|
<bb 5> :
|
|
# DEBUG BEGIN_STMT
|
|
baseAddr->SHIFTEIEN = tmp;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_42 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_GetAllShifterErrorInterrupt (const struct FLEXIO_Type * baseAddr)
|
|
{
|
|
uint32 D.4766;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
D.4766 = baseAddr->SHIFTEIEN;
|
|
return D.4766;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_GetAllShifterInterrupt (const struct FLEXIO_Type * baseAddr)
|
|
{
|
|
uint32 D.4764;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
D.4764 = baseAddr->SHIFTSIEN;
|
|
return D.4764;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_ClearTimerStatus (struct FLEXIO_Type * baseAddr, uint8 timer)
|
|
{
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) timer;
|
|
_2 = 1 << _1;
|
|
baseAddr->TIMSTAT = _2;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_GetAllTimerStatus (const struct FLEXIO_Type * baseAddr)
|
|
{
|
|
uint32 D.4762;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
D.4762 = baseAddr->TIMSTAT;
|
|
return D.4762;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_GetTimerInterruptEnable (const struct FLEXIO_Type * baseAddr, uint8 timer)
|
|
{
|
|
boolean D.4760;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = baseAddr->TIMIEN;
|
|
_2 = (int) timer;
|
|
_3 = _1 >> _2;
|
|
_4 = _3 & 1;
|
|
D.4760 = _4 != 0;
|
|
return D.4760;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_GetTimerStatus (const struct FLEXIO_Type * baseAddr, uint8 timer)
|
|
{
|
|
boolean D.4758;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = baseAddr->TIMSTAT;
|
|
_2 = (int) timer;
|
|
_3 = _1 >> _2;
|
|
_4 = _3 & 1;
|
|
D.4758 = _4 != 0;
|
|
return D.4758;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_ClearShifterErrorStatus (struct FLEXIO_Type * baseAddr, uint8 shifter)
|
|
{
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) shifter;
|
|
_2 = 1 << _1;
|
|
baseAddr->SHIFTERR = _2;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_GetAllShifterErrorStatus (const struct FLEXIO_Type * baseAddr)
|
|
{
|
|
uint32 D.4756;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
D.4756 = baseAddr->SHIFTERR;
|
|
return D.4756;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_GetShifterErrorStatus (const struct FLEXIO_Type * baseAddr, uint8 shifter)
|
|
{
|
|
boolean D.4754;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = baseAddr->SHIFTERR;
|
|
_2 = (int) shifter;
|
|
_3 = _1 >> _2;
|
|
_4 = _3 & 1;
|
|
D.4754 = _4 != 0;
|
|
return D.4754;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_ClearShifterStatus (struct FLEXIO_Type * baseAddr, uint8 shifter)
|
|
{
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) shifter;
|
|
_2 = 1 << _1;
|
|
baseAddr->SHIFTSTAT = _2;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_GetAllShifterStatus (const struct FLEXIO_Type * baseAddr)
|
|
{
|
|
uint32 D.4752;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
D.4752 = baseAddr->SHIFTSTAT;
|
|
return D.4752;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_GetShifterStatus (const struct FLEXIO_Type * baseAddr, uint8 shifter)
|
|
{
|
|
boolean D.4750;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = baseAddr->SHIFTSTAT;
|
|
_2 = (int) shifter;
|
|
_3 = _1 >> _2;
|
|
_4 = _3 & 1;
|
|
D.4750 = _4 != 0;
|
|
return D.4750;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_SetEnable (struct FLEXIO_Type * baseAddr, boolean enable)
|
|
{
|
|
uint32 regValue;
|
|
long unsigned int iftmp.2;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_41 ();
|
|
# DEBUG BEGIN_STMT
|
|
regValue = baseAddr->CTRL;
|
|
# DEBUG BEGIN_STMT
|
|
regValue = regValue & 4294967294;
|
|
# DEBUG BEGIN_STMT
|
|
if (enable != 0)
|
|
goto <bb 3>; [INV]
|
|
else
|
|
goto <bb 4>; [INV]
|
|
|
|
<bb 3> :
|
|
iftmp.2 = 1;
|
|
goto <bb 5>; [INV]
|
|
|
|
<bb 4> :
|
|
iftmp.2 = 0;
|
|
|
|
<bb 5> :
|
|
regValue = iftmp.2 | regValue;
|
|
# DEBUG BEGIN_STMT
|
|
baseAddr->CTRL = regValue;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_41 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_SetDebugEnable (struct FLEXIO_Type * baseAddr, boolean enable)
|
|
{
|
|
uint32 regValue;
|
|
long unsigned int iftmp.1;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_40 ();
|
|
# DEBUG BEGIN_STMT
|
|
regValue = baseAddr->CTRL;
|
|
# DEBUG BEGIN_STMT
|
|
regValue = regValue & 3221225471;
|
|
# DEBUG BEGIN_STMT
|
|
if (enable != 0)
|
|
goto <bb 3>; [INV]
|
|
else
|
|
goto <bb 4>; [INV]
|
|
|
|
<bb 3> :
|
|
iftmp.1 = 1073741824;
|
|
goto <bb 5>; [INV]
|
|
|
|
<bb 4> :
|
|
iftmp.1 = 0;
|
|
|
|
<bb 5> :
|
|
regValue = iftmp.1 | regValue;
|
|
# DEBUG BEGIN_STMT
|
|
baseAddr->CTRL = regValue;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_40 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Mcl_Ip_SetSoftwareReset (struct FLEXIO_Type * baseAddr, boolean enable)
|
|
{
|
|
uint32 regValue;
|
|
long unsigned int iftmp.0;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_39 ();
|
|
# DEBUG BEGIN_STMT
|
|
regValue = baseAddr->CTRL;
|
|
# 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->CTRL = regValue;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_39 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|