
Marking local functions:


Marking externally visible functions:


Marking externally visible variables: extOscCallbacks


Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:

UpdateClockState/16 (UpdateClockState) @06eb2540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: ResetFxoscOsconBypEocvGmSel/2 SetFxoscOsconBypEocvGmSel/3 ResetSxoscOsconEocv/4 SetSxoscOsconEocv/5 
  Calls: 
Clock_Ip_TimeDelay/15 (Clock_Ip_TimeDelay) @06eb2460
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SetFxoscOsconBypEocvGmSel/3 SetSxoscOsconEocv/5 
  Calls: 
xosc/14 (xosc) @06eb3168
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: SetSxoscOsconEocv/5 (read)SetSxoscOsconEocv/5 (read)ResetSxoscOsconEocv/4 (read)ResetSxoscOsconEocv/4 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetFxoscOsconBypEocvGmSel/3 (read)ResetFxoscOsconBypEocvGmSel/2 (read)ResetFxoscOsconBypEocvGmSel/2 (read)
  Availability: not_available
  Varpool flags: read-only
ReportClockErrors/13 (ReportClockErrors) @06eb2380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SetFxoscOsconBypEocvGmSel/3 SetFxoscOsconBypEocvGmSel/3 SetFxoscOsconBypEocvGmSel/3 SetSxoscOsconEocv/5 SetSxoscOsconEocv/5 
  Calls: 
ClockTimeoutExpired/12 (ClockTimeoutExpired) @06eb22a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SetFxoscOsconBypEocvGmSel/3 SetFxoscOsconBypEocvGmSel/3 SetSxoscOsconEocv/5 SetSxoscOsconEocv/5 
  Calls: 
ClockStartTimeout/11 (ClockStartTimeout) @06eb21c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SetFxoscOsconBypEocvGmSel/3 SetFxoscOsconBypEocvGmSel/3 SetSxoscOsconEocv/5 SetSxoscOsconEocv/5 
  Calls: 
McMeEnterKey/10 (McMeEnterKey) @06eb20e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SetFxoscOsconBypEocvGmSel/3 SetSxoscOsconEocv/5 
  Calls: 
mcmeTriggerPartitions/9 (mcmeTriggerPartitions) @06eb3000
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: SetSxoscOsconEocv/5 (read)SetSxoscOsconEocv/5 (read)SetSxoscOsconEocv/5 (read)SetSxoscOsconEocv/5 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetFxoscOsconBypEocvGmSel/3 (read)
  Availability: not_available
  Varpool flags: read-only
mcmeSetPartitions/8 (mcmeSetPartitions) @06da7f78
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: SetSxoscOsconEocv/5 (read)SetSxoscOsconEocv/5 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetFxoscOsconBypEocvGmSel/3 (read)
  Availability: not_available
  Varpool flags: read-only
mcmeGetPartitions/7 (mcmeGetPartitions) @06da7f30
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: SetSxoscOsconEocv/5 (read)SetSxoscOsconEocv/5 (read)ResetSxoscOsconEocv/4 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetFxoscOsconBypEocvGmSel/3 (read)ResetFxoscOsconBypEocvGmSel/2 (read)
  Availability: not_available
  Varpool flags: read-only
clockFeatures/6 (clockFeatures) @06da7ee8
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: SetSxoscOsconEocv/5 (read)SetSxoscOsconEocv/5 (read)SetSxoscOsconEocv/5 (read)SetSxoscOsconEocv/5 (read)ResetSxoscOsconEocv/4 (read)ResetSxoscOsconEocv/4 (read)ResetSxoscOsconEocv/4 (read)ResetSxoscOsconEocv/4 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetFxoscOsconBypEocvGmSel/3 (read)ResetFxoscOsconBypEocvGmSel/2 (read)ResetFxoscOsconBypEocvGmSel/2 (read)ResetFxoscOsconBypEocvGmSel/2 (read)ResetFxoscOsconBypEocvGmSel/2 (read)
  Availability: not_available
  Varpool flags: read-only
SetSxoscOsconEocv/5 (SetSxoscOsconEocv) @06d9fb60
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)mcmeGetPartitions/7 (read)mcmeSetPartitions/8 (read)mcmeSetPartitions/8 (read)mcmeTriggerPartitions/9 (read)mcmeTriggerPartitions/9 (read)mcmeTriggerPartitions/9 (read)mcmeTriggerPartitions/9 (read)mcmeGetPartitions/7 (read)xosc/14 (read)xosc/14 (read)
  Referring: extOscCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: ReportClockErrors/13 UpdateClockState/16 ClockTimeoutExpired/12 Clock_Ip_TimeDelay/15 ClockStartTimeout/11 ReportClockErrors/13 ClockTimeoutExpired/12 ClockStartTimeout/11 McMeEnterKey/10 
ResetSxoscOsconEocv/4 (ResetSxoscOsconEocv) @06d9f700
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)mcmeGetPartitions/7 (read)xosc/14 (read)xosc/14 (read)
  Referring: extOscCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: UpdateClockState/16 
SetFxoscOsconBypEocvGmSel/3 (SetFxoscOsconBypEocvGmSel) @06d9f460
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)mcmeGetPartitions/7 (read)mcmeSetPartitions/8 (read)mcmeSetPartitions/8 (read)mcmeTriggerPartitions/9 (read)mcmeTriggerPartitions/9 (read)mcmeTriggerPartitions/9 (read)mcmeTriggerPartitions/9 (read)mcmeGetPartitions/7 (read)xosc/14 (read)xosc/14 (read)
  Referring: extOscCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: ReportClockErrors/13 ReportClockErrors/13 UpdateClockState/16 ClockTimeoutExpired/12 Clock_Ip_TimeDelay/15 ClockStartTimeout/11 ReportClockErrors/13 ClockTimeoutExpired/12 ClockStartTimeout/11 McMeEnterKey/10 
ResetFxoscOsconBypEocvGmSel/2 (ResetFxoscOsconBypEocvGmSel) @06dd4c40
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)mcmeGetPartitions/7 (read)xosc/14 (read)xosc/14 (read)
  Referring: extOscCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: UpdateClockState/16 
ExternalOscillatorEmpty/1 (ExternalOscillatorEmpty) @06dd4e00
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: 
  Referring: extOscCallbacks/0 (addr)extOscCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: 
extOscCallbacks/0 (extOscCallbacks) @06dceb40
  Type: variable definition analyzed
  Visibility: externally_visible public
  References: ExternalOscillatorEmpty/1 (addr)ExternalOscillatorEmpty/1 (addr)ResetFxoscOsconBypEocvGmSel/2 (addr)SetFxoscOsconBypEocvGmSel/3 (addr)ResetSxoscOsconEocv/4 (addr)SetSxoscOsconEocv/5 (addr)
  Referring: 
  Availability: available
  Varpool flags: initialized read-only const-value-known
SetSxoscOsconEocv (const struct Clock_Ip_XoscConfigType * config)
{
  uint32 enableRequest;
  uint32 collection;
  uint32 partition;
  uint32 SxoscStatus;
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  boolean TimeoutOccurred;
  uint32 instance;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = config->name;
  _2 = (int) _1;
  _3 = clockFeatures[_2][0];
  instance = (uint32) _3;
  # DEBUG BEGIN_STMT
  TimeoutOccurred = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _4 = config->name;
  _5 = (int) _4;
  _6 = clockFeatures[_5][3];
  partition = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = config->name;
  _8 = (int) _7;
  _9 = clockFeatures[_8][4];
  collection = (uint32) _9;
  # DEBUG BEGIN_STMT
  _10 = config->name;
  _11 = (int) _10;
  _12 = clockFeatures[_11][5];
  enableRequest = (uint32) _12;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _13 = config->enable;
  if (_13 != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 18>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  if (partition != 255)
    goto <bb 4>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 4> :
  if (collection != 255)
    goto <bb 5>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 5> :
  if (enableRequest != 255)
    goto <bb 6>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _14 = mcmeGetPartitions[partition];
  _15 = _14->PRTN_COFB_STAT[collection];
  _16 = _15 >> enableRequest;
  _17 = _16 & 1;
  if (_17 == 0)
    goto <bb 7>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  _18 = mcmeSetPartitions[partition];
  _19 = _18->PRTN_COFB_CLKEN[collection];
  _20 = 1 << enableRequest;
  _21 = mcmeSetPartitions[partition];
  _22 = _19 | _20;
  _21->PRTN_COFB_CLKEN[collection] = _22;
  # DEBUG BEGIN_STMT
  _23 = mcmeTriggerPartitions[partition];
  _24 = _23->PRTN_PCONF;
  _25 = mcmeTriggerPartitions[partition];
  _26 = _24 | 1;
  _25->PRTN_PCONF = _26;
  # DEBUG BEGIN_STMT
  _27 = mcmeTriggerPartitions[partition];
  _28 = _27->PRTN_PUPD;
  _29 = mcmeTriggerPartitions[partition];
  _30 = _28 | 1;
  _29->PRTN_PUPD = _30;
  # DEBUG BEGIN_STMT
  McMeEnterKey ();
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 8> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.0_31 = TimeoutTicks;
  TimeoutOccurred = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.0_31);
  # DEBUG BEGIN_STMT
  _32 = mcmeGetPartitions[partition];
  _33 = _32->PRTN_COFB_STAT[collection];
  _34 = _33 >> enableRequest;
  _35 = _34 & 1;
  if (_35 == 0)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  _36 = ~TimeoutOccurred;
  if (_36 != 0)
    goto <bb 8>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred != 0)
    goto <bb 11>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  _37 = config->name;
  ReportClockErrors (1, _37);

  <bb 12> :
  # DEBUG BEGIN_STMT
  _38 = config->startupDelay;
  _39 = (long unsigned int) _38;
  _40 = _39 << 16;
  _41 = _40 & 16711680;
  _42 = xosc[instance];
  _43 = _41 | 1;
  _42->CTRL = _43;
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 13> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Clock_Ip_TimeDelay ();
  # DEBUG BEGIN_STMT
  _44 = xosc[instance];
  _45 = _44->STAT;
  _46 = _45 >> 31;
  SxoscStatus = _46 & 1;
  # DEBUG BEGIN_STMT
  TimeoutTicks.1_47 = TimeoutTicks;
  TimeoutOccurred = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.1_47);
  # DEBUG BEGIN_STMT
  if (SxoscStatus == 0)
    goto <bb 14>; [INV]
  else
    goto <bb 15>; [INV]

  <bb 14> :
  _48 = ~TimeoutOccurred;
  if (_48 != 0)
    goto <bb 13>; [INV]
  else
    goto <bb 15>; [INV]

  <bb 15> :
  # DEBUG BEGIN_STMT
  _49 = ~TimeoutOccurred;
  if (_49 != 0)
    goto <bb 16>; [INV]
  else
    goto <bb 17>; [INV]

  <bb 16> :
  # DEBUG BEGIN_STMT
  _50 = config->name;
  UpdateClockState (_50, 255);
  goto <bb 18>; [INV]

  <bb 17> :
  # DEBUG BEGIN_STMT
  _51 = config->name;
  ReportClockErrors (1, _51);

  <bb 18> :
  StartTime = {CLOBBER};
  ElapsedTime = {CLOBBER};
  TimeoutTicks = {CLOBBER};
  return;

}


ResetSxoscOsconEocv (const struct Clock_Ip_XoscConfigType * config)
{
  uint32 enableRequest;
  uint32 collection;
  uint32 partition;
  uint32 instance;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = config->name;
  _2 = (int) _1;
  _3 = clockFeatures[_2][0];
  instance = (uint32) _3;
  # DEBUG BEGIN_STMT
  _4 = config->name;
  _5 = (int) _4;
  _6 = clockFeatures[_5][3];
  partition = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = config->name;
  _8 = (int) _7;
  _9 = clockFeatures[_8][4];
  collection = (uint32) _9;
  # DEBUG BEGIN_STMT
  _10 = config->name;
  _11 = (int) _10;
  _12 = clockFeatures[_11][5];
  enableRequest = (uint32) _12;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (partition != 255)
    goto <bb 3>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 3> :
  if (collection != 255)
    goto <bb 4>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 4> :
  if (enableRequest != 255)
    goto <bb 5>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  _13 = mcmeGetPartitions[partition];
  _14 = _13->PRTN_COFB_STAT[collection];
  _15 = _14 >> enableRequest;
  _16 = _15 & 1;
  if (_16 != 0)
    goto <bb 6>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _17 = xosc[instance];
  _18 = _17->CTRL;
  _19 = xosc[instance];
  _20 = _18 & 4294967294;
  _19->CTRL = _20;

  <bb 7> :
  # DEBUG BEGIN_STMT
  _21 = config->name;
  UpdateClockState (_21, 0);
  return;

}


SetFxoscOsconBypEocvGmSel (const struct Clock_Ip_XoscConfigType * config)
{
  uint32 enableRequest;
  uint32 collection;
  uint32 partition;
  uint32 instance;
  uint32 FxoscStatus;
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  boolean TimeoutOccurred;

  <bb 2> :
  # DEBUG BEGIN_STMT
  TimeoutOccurred = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = config->name;
  _2 = (int) _1;
  _3 = clockFeatures[_2][0];
  instance = (uint32) _3;
  # DEBUG BEGIN_STMT
  _4 = config->name;
  _5 = (int) _4;
  _6 = clockFeatures[_5][3];
  partition = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = config->name;
  _8 = (int) _7;
  _9 = clockFeatures[_8][4];
  collection = (uint32) _9;
  # DEBUG BEGIN_STMT
  _10 = config->name;
  _11 = (int) _10;
  _12 = clockFeatures[_11][5];
  enableRequest = (uint32) _12;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _13 = config->enable;
  if (_13 != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 21>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  if (partition != 255)
    goto <bb 4>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 4> :
  if (collection != 255)
    goto <bb 5>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 5> :
  if (enableRequest != 255)
    goto <bb 6>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _14 = mcmeGetPartitions[partition];
  _15 = _14->PRTN_COFB_STAT[collection];
  _16 = _15 >> enableRequest;
  _17 = _16 & 1;
  if (_17 == 0)
    goto <bb 7>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  _18 = mcmeSetPartitions[partition];
  _19 = _18->PRTN_COFB_CLKEN[collection];
  _20 = 1 << enableRequest;
  _21 = mcmeSetPartitions[partition];
  _22 = _19 | _20;
  _21->PRTN_COFB_CLKEN[collection] = _22;
  # DEBUG BEGIN_STMT
  _23 = mcmeTriggerPartitions[partition];
  _24 = _23->PRTN_PCONF;
  _25 = mcmeTriggerPartitions[partition];
  _26 = _24 | 1;
  _25->PRTN_PCONF = _26;
  # DEBUG BEGIN_STMT
  _27 = mcmeTriggerPartitions[partition];
  _28 = _27->PRTN_PUPD;
  _29 = mcmeTriggerPartitions[partition];
  _30 = _28 | 1;
  _29->PRTN_PUPD = _30;
  # DEBUG BEGIN_STMT
  McMeEnterKey ();
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 8> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.2_31 = TimeoutTicks;
  TimeoutOccurred = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.2_31);
  # DEBUG BEGIN_STMT
  _32 = mcmeGetPartitions[partition];
  _33 = _32->PRTN_COFB_STAT[collection];
  _34 = _33 >> enableRequest;
  _35 = _34 & 1;
  if (_35 == 0)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  _36 = ~TimeoutOccurred;
  if (_36 != 0)
    goto <bb 8>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred != 0)
    goto <bb 11>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  _37 = config->name;
  ReportClockErrors (1, _37);

  <bb 12> :
  # DEBUG BEGIN_STMT
  _38 = config->bypassOption;
  _39 = (long unsigned int) _38;
  _40 = _39 << 31;
  _41 = config->startupDelay;
  _42 = (long unsigned int) _41;
  _43 = _42 << 16;
  _44 = _43 & 16711680;
  _45 = _40 | _44;
  _46 = config->transConductance;
  _47 = (long unsigned int) _46;
  _48 = _47 << 4;
  _49 = _48 & 255;
  _50 = _45 | _49;
  _51 = config->compEn;
  _52 = (long unsigned int) _51;
  _53 = _52 << 24;
  _54 = _53 & 16777216;
  _55 = _50 | _54;
  _56 = xosc[instance];
  _57 = _55 | 1;
  _56->CTRL = _57;
  # DEBUG BEGIN_STMT
  _58 = config->compEn;
  if (_58 != 0)
    goto <bb 13>; [INV]
  else
    goto <bb 21>; [INV]

  <bb 13> :
  # DEBUG BEGIN_STMT
  _59 = config->bypassOption;
  if (_59 == 0)
    goto <bb 14>; [INV]
  else
    goto <bb 20>; [INV]

  <bb 14> :
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 15> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Clock_Ip_TimeDelay ();
  # DEBUG BEGIN_STMT
  _60 = xosc[instance];
  _61 = _60->STAT;
  _62 = _61 >> 31;
  FxoscStatus = _62 & 1;
  # DEBUG BEGIN_STMT
  TimeoutTicks.3_63 = TimeoutTicks;
  TimeoutOccurred = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.3_63);
  # DEBUG BEGIN_STMT
  if (FxoscStatus == 0)
    goto <bb 16>; [INV]
  else
    goto <bb 17>; [INV]

  <bb 16> :
  _64 = ~TimeoutOccurred;
  if (_64 != 0)
    goto <bb 15>; [INV]
  else
    goto <bb 17>; [INV]

  <bb 17> :
  # DEBUG BEGIN_STMT
  _65 = ~TimeoutOccurred;
  if (_65 != 0)
    goto <bb 18>; [INV]
  else
    goto <bb 19>; [INV]

  <bb 18> :
  # DEBUG BEGIN_STMT
  _66 = config->name;
  UpdateClockState (_66, 255);
  goto <bb 21>; [INV]

  <bb 19> :
  # DEBUG BEGIN_STMT
  _67 = config->name;
  ReportClockErrors (1, _67);
  goto <bb 21>; [INV]

  <bb 20> :
  # DEBUG BEGIN_STMT
  _68 = config->name;
  ReportClockErrors (2, _68);

  <bb 21> :
  StartTime = {CLOBBER};
  ElapsedTime = {CLOBBER};
  TimeoutTicks = {CLOBBER};
  return;

}


ResetFxoscOsconBypEocvGmSel (const struct Clock_Ip_XoscConfigType * config)
{
  boolean isGatedInMcMe;
  uint32 enableRequest;
  uint32 collection;
  uint32 partition;
  uint32 instance;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = config->name;
  _2 = (int) _1;
  _3 = clockFeatures[_2][0];
  instance = (uint32) _3;
  # DEBUG BEGIN_STMT
  _4 = config->name;
  _5 = (int) _4;
  _6 = clockFeatures[_5][3];
  partition = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = config->name;
  _8 = (int) _7;
  _9 = clockFeatures[_8][4];
  collection = (uint32) _9;
  # DEBUG BEGIN_STMT
  _10 = config->name;
  _11 = (int) _10;
  _12 = clockFeatures[_11][5];
  enableRequest = (uint32) _12;
  # DEBUG BEGIN_STMT
  isGatedInMcMe = 1;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (partition != 255)
    goto <bb 3>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 3> :
  if (collection != 255)
    goto <bb 4>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 4> :
  if (enableRequest != 255)
    goto <bb 5>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  _13 = mcmeGetPartitions[partition];
  _14 = _13->PRTN_COFB_STAT[collection];
  _15 = _14 >> enableRequest;
  _16 = _15 & 1;
  if (_16 != 0)
    goto <bb 6>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  isGatedInMcMe = 0;
  goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  isGatedInMcMe = 0;

  <bb 8> :
  # DEBUG BEGIN_STMT
  _17 = ~isGatedInMcMe;
  if (_17 != 0)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  _18 = xosc[instance];
  _19 = _18->CTRL;
  _20 = xosc[instance];
  _21 = _19 & 4294967294;
  _20->CTRL = _21;

  <bb 10> :
  # DEBUG BEGIN_STMT
  _22 = config->name;
  UpdateClockState (_22, 0);
  return;

}


ExternalOscillatorEmpty (const struct Clock_Ip_XoscConfigType * config)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  return;

}


