You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[doc = " Trigger the XCP event 'event' for stack relative or absolute addressing\n @param event Event id.\n Assumes XCP address extension XCP_ADDR_EXT_REL is used for stack relative addressing and XCP_ADDR_EXT_ABS for absolute addressing."]
22
+
pubfnXcpEvent(event:tXcpEventId);
22
23
}
23
24
unsafeextern"C"{
24
-
pubfnXcpEvent(event:tXcpEventId);
25
+
#[doc = " Trigger the XCP event 'event' for stack relative or absolute addressing and with explicitly given base address for relative addressing mode (DYN)\n @param event\n @param base address pointer for the relative (XCP_ADDR_EXT_DYN) addressing mode (from A2lSetRelativeAddrMode(base)).\n Assumes XCP_ADDR_EXT_REL is used for stack relative addressing and XCP_ADDR_EXT_ABS for absolute addressing."]
#[doc = " Set log level\nLog level 4 provides a trace of all XCP commands and responses.\n@param level (0 = no logging, 1 = error, 2 = warning, 3 = info, 4 = debug, 5 = trace)"]
28
30
pubfnXcpSetLogLevel(level:u8);
29
31
}
30
32
unsafeextern"C"{
31
-
#[doc = " Initialize the XCP singleton, must be called befor starting the server"]
33
+
#[doc = " Initialize the XCP singleton, activate XCP, must be called before starting the server\n If XCP is not activated, the server will not start and all XCP instrumentation will be passive with minimal overhead\n @param activate If true, the XCP library is activated"]
32
34
pubfnXcpInit(activate:bool);
33
35
}
34
36
unsafeextern"C"{
@@ -42,15 +44,15 @@ unsafe extern "C" {
42
44
pubfnXcpDisconnect();
43
45
}
44
46
unsafeextern"C"{
45
-
#[doc = " Send terminate session event to the XCP client"]
47
+
#[doc = " Send terminate session event to the XCP client\n Force the XCP client to terminate the session"]
46
48
pubfnXcpSendTerminateSessionEvent();
47
49
}
48
50
unsafeextern"C"{
49
-
#[doc = " Send a message to the XCP client"]
51
+
#[doc = " Send a message to the XCP client\n @param str Message to send, appears in the XCP client write log window"]
50
52
pubfnXcpPrint(str_:*const::std::os::raw::c_char);
51
53
}
52
54
unsafeextern"C"{
53
-
#[doc = " Get the current DAQ clock value\n @return time in CLOCK_TICKS_PER_S units"]
55
+
#[doc = " Get the current DAQ clock value\n @return time in CLOCK_TICKS_PER_S units\n Resolution and epoch is defined in main_cfg.h\n Epoch may be PTP or arbitrary\n Resolution is 1ns or 1us"]
0 commit comments