TC234_startup.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. * TC234_startup.h
  3. *
  4. * Created on: 04.11.2015
  5. * Author: uacqk
  6. */
  7. /**
  8. * @ mainpage motortest
  9. * blabla bub
  10. */
  11. #ifndef TC234_STARTUP_H_
  12. #define TC234_STARTUP_H_
  13. #include <stdio.h>
  14. #include "RS232_Interface.h"
  15. #include "pwm_generation.h"
  16. #include "Tricore/Compilers/CompilerTasking.h"
  17. #include "GPIO_driver.h"
  18. #include "open_loop_pwm.h"
  19. #include "_Lib/Math/StdReal.h"
  20. #include "SysSe/MotorDrive/SpaceVectorModulation.h"
  21. #include "SysSe/MotorDrive/Tables.h"
  22. #include "Spi_interface.h"
  23. #include "Cpu/Std/Platform_types.h"
  24. #include "Qspi/Spi/IfxQspi_Spi.h"
  25. #include "Dma_Daisy_chain.h"
  26. #include "Scu/Std/IfxScuCcu.h"
  27. #include "_Reg/IfxStm_reg.h"
  28. #include "dma_linked_list.h"
  29. #include "inc_encoder.h"
  30. #include "vector_control.h"
  31. #include "lockstepp_test.h"
  32. #include "vadc_interface.h"
  33. #define CONTROL_ISR_PRIO 100
  34. #define DMA_TEST_PRIO 110
  35. typedef struct {
  36. float a;
  37. float b;
  38. } mystr;
  39. mystr test_komplex(mystr m);
  40. void execute_dma_transmit(spi_config * config);
  41. static void polling_wait_ms(float32 time);
  42. #endif /* TC234_STARTUP_H_ */