#ifndef __getBusData_Legacy_h__
#define __getBusData_Legacy_h__

#include "Output_Test_OrthOsc2.h"



/**Example for Sfunction generated with Legacy code tool from Mathworks
 * @param in_bus: A bus
 * @param p,q Outputs from bus data.
 */
INLINE_Fwc void getBusData_Legacy(Data_Output_Test_OrthOsc2* in_bus, float* p, float* q) 
{

  *p = in_bus->pq1[0].re;
  *q = in_bus->pq1[0].im;

}





INLINE_Fwc void outBus_Legacy(uint32 h, Data_Output_Test_OrthOsc2* out_bus){
     
  out_bus->pq1[0].re = h;  
}




#endif  //__getBusData_Legacy_h__
