123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #ifndef __TOOL_H__
- #define __TOOL_H__
- #include "SEGGER_RTT.h"
- /*
- �5�
- #pragma pack(push, 1)
- struct {
- signed int Sine1;
- signed int Sine2;
- signed int Sine3;
- } acValBuffer;
- #pragma pack(pop)
- 貧中頁低勣窟僕議潤更悶�徭失協吶。
- �6�壓低勣窟僕議仇圭験峙旺窟僕�箭泌嶄僅�
- acValBuffer.Sine1 = Test_Counter1;
- acValBuffer.Sine2 = Test_Counter2;
- acValBuffer.Sine2 = Test_Counter3;
- SEGGER_RTT_Write(JS_RTT_Channel, &acValBuffer, sizeof(acValBuffer));
- �7�和中頁嶷泣���郊圭短嗤戻欺議。箭泌厘�窟膨倖方�曾倖int侏�曾倖short侏。
- #pragma pack(push, 1)
- struct {
- signed int Sine1;
- signed int Sine2;
- short Sine3;
- short Sine4;
- } acValBuffer;
- #pragma pack(pop)
- 椎担斤哘議兜兵晒勣個葎"JScope_I4I4I4"宸倖歌方祥勣個撹"JScope_I4I4I2I2^
- */
- #pragma pack(push, 1)
- typedef struct {
- signed int Sine1;
- signed int Sine2;
- signed int Sine3;
- signed int Sine4;
- signed int Sine5;
- signed int Sine6;
- }acValBuffer_t;
- #pragma pack(pop)
- void JS_RTT_Init(void);
- void JS_RTT_Print(signed int Sine1,signed int Sine2,signed int Sine3);
- void JS_RTT_Print_06(signed int Sine1,signed int Sine2,signed int Sine3,signed int Sine4,signed int Sine5,signed int Sine6);
- #endif
|