mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
171 lines
4.5 KiB
Plaintext
171 lines
4.5 KiB
Plaintext
|
|
Marking local functions: Flexio_Pwm_Ip_GetPinState
|
|
|
|
|
|
Marking externally visible functions: Flexio_Pwm_Ip_IrqHandler
|
|
|
|
|
|
Marking externally visible variables:
|
|
|
|
|
|
Reclaiming functions:
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
Symbol table:
|
|
|
|
pinIrqMask/25 (pinIrqMask) @06921438
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Flexio_Pwm_Ip_IrqHandler/21 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
timerIrqMask/24 (timerIrqMask) @06921360
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Flexio_Pwm_Ip_IrqHandler/21 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
Flexio_Pwm_Ip_aState/23 (Flexio_Pwm_Ip_aState) @069212d0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Flexio_Pwm_Ip_IrqHandler/21 (read)Flexio_Pwm_Ip_IrqHandler/21 (read)Flexio_Pwm_Ip_IrqHandler/21 (read)Flexio_Pwm_Ip_IrqHandler/21 (read)Flexio_Pwm_Ip_IrqHandler/21 (read)Flexio_Pwm_Ip_IrqHandler/21 (read)Flexio_Pwm_Ip_IrqHandler/21 (read)Flexio_Pwm_Ip_IrqHandler/21 (read)Flexio_Pwm_Ip_IrqHandler/21 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
Flexio_Pwm_Ip_aBasePtr/22 (Flexio_Pwm_Ip_aBasePtr) @06921288
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Flexio_Pwm_Ip_IrqHandler/21 (read)
|
|
Availability: not_available
|
|
Varpool flags: read-only
|
|
Flexio_Pwm_Ip_IrqHandler/21 (Flexio_Pwm_Ip_IrqHandler) @0691b2a0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Flexio_Pwm_Ip_aBasePtr/22 (read)Flexio_Pwm_Ip_aState/23 (read)timerIrqMask/24 (read)Flexio_Pwm_Ip_aState/23 (read)Flexio_Pwm_Ip_aState/23 (read)Flexio_Pwm_Ip_aState/23 (read)pinIrqMask/25 (read)Flexio_Pwm_Ip_aState/23 (read)Flexio_Pwm_Ip_aState/23 (read)Flexio_Pwm_Ip_aState/23 (read)Flexio_Pwm_Ip_aState/23 (read)Flexio_Pwm_Ip_aState/23 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls: Flexio_Pwm_Ip_GetPinState/1
|
|
Indirect call
|
|
Indirect call
|
|
Indirect call
|
|
Flexio_Pwm_Ip_GetPinState/1 (Flexio_Pwm_Ip_GetPinState) @068c2b60
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring:
|
|
Availability: local
|
|
Function flags: body local optimize_size
|
|
Called by: Flexio_Pwm_Ip_IrqHandler/21
|
|
Calls:
|
|
Flexio_Pwm_Ip_IrqHandler (uint8 channelId, uint8 timerFlags, uint32 pinFlags)
|
|
{
|
|
boolean pinState;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = Flexio_Pwm_Ip_aBasePtr[0];
|
|
_2 = (int) channelId;
|
|
_3 = Flexio_Pwm_Ip_aState[_2];
|
|
_4 = _3->pinId;
|
|
pinState = Flexio_Pwm_Ip_GetPinState (_1, _4);
|
|
# DEBUG BEGIN_STMT
|
|
timerIrqMask.0_5 = timerIrqMask;
|
|
_6 = timerFlags & timerIrqMask.0_5;
|
|
_7 = (unsigned int) _6;
|
|
_8 = (int) channelId;
|
|
_9 = Flexio_Pwm_Ip_aState[_8];
|
|
_10 = _9->timerId;
|
|
_11 = (int) _10;
|
|
_12 = _7 >> _11;
|
|
_13 = _12 & 1;
|
|
if (_13 != 0)
|
|
goto <bb 3>; [INV]
|
|
else
|
|
goto <bb 4>; [INV]
|
|
|
|
<bb 3> :
|
|
# DEBUG BEGIN_STMT
|
|
_14 = (int) channelId;
|
|
_15 = Flexio_Pwm_Ip_aState[_14];
|
|
_16 = _15->callback.cbFunction;
|
|
_17 = (int) channelId;
|
|
_18 = Flexio_Pwm_Ip_aState[_17];
|
|
_19 = _18->callback.cbParameter;
|
|
_16 (0, _19);
|
|
|
|
<bb 4> :
|
|
# DEBUG BEGIN_STMT
|
|
pinIrqMask.1_20 = pinIrqMask;
|
|
_21 = pinFlags & pinIrqMask.1_20;
|
|
_22 = (int) channelId;
|
|
_23 = Flexio_Pwm_Ip_aState[_22];
|
|
_24 = _23->pinId;
|
|
_25 = (int) _24;
|
|
_26 = 1 << _25;
|
|
_27 = _21 & _26;
|
|
if (_27 != 0)
|
|
goto <bb 5>; [INV]
|
|
else
|
|
goto <bb 8>; [INV]
|
|
|
|
<bb 5> :
|
|
# DEBUG BEGIN_STMT
|
|
if (pinState != 0)
|
|
goto <bb 6>; [INV]
|
|
else
|
|
goto <bb 7>; [INV]
|
|
|
|
<bb 6> :
|
|
# DEBUG BEGIN_STMT
|
|
_28 = (int) channelId;
|
|
_29 = Flexio_Pwm_Ip_aState[_28];
|
|
_30 = _29->callback.cbFunction;
|
|
_31 = (int) channelId;
|
|
_32 = Flexio_Pwm_Ip_aState[_31];
|
|
_33 = _32->callback.cbParameter;
|
|
_30 (2, _33);
|
|
goto <bb 8>; [INV]
|
|
|
|
<bb 7> :
|
|
# DEBUG BEGIN_STMT
|
|
_34 = (int) channelId;
|
|
_35 = Flexio_Pwm_Ip_aState[_34];
|
|
_36 = _35->callback.cbFunction;
|
|
_37 = (int) channelId;
|
|
_38 = Flexio_Pwm_Ip_aState[_37];
|
|
_39 = _38->callback.cbParameter;
|
|
_36 (1, _39);
|
|
|
|
<bb 8> :
|
|
# DEBUG BEGIN_STMT
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Flexio_Pwm_Ip_GetPinState (const struct Flexio_Pwm_Ip_HwAddrType * const base, uint8 pin)
|
|
{
|
|
boolean D.4464;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = base->PIN;
|
|
_2 = (int) pin;
|
|
_3 = _1 >> _2;
|
|
_4 = _3 & 1;
|
|
D.4464 = _4 == 1;
|
|
return D.4464;
|
|
|
|
}
|
|
|
|
|