From d2e42029ec04c3f224580f8007cdfbbfe0fc47a6 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Fri, 26 May 2017 18:45:56 +0200 Subject: Initial Commit --- ...__a_p_i_ga5bfaf97236d417072fe606f24bb3c8ad.html | 133 +++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 ucs2-lib/doc/html/group___g___u_c_s___l_l_d___a_p_i_ga5bfaf97236d417072fe606f24bb3c8ad.html (limited to 'ucs2-lib/doc/html/group___g___u_c_s___l_l_d___a_p_i_ga5bfaf97236d417072fe606f24bb3c8ad.html') diff --git a/ucs2-lib/doc/html/group___g___u_c_s___l_l_d___a_p_i_ga5bfaf97236d417072fe606f24bb3c8ad.html b/ucs2-lib/doc/html/group___g___u_c_s___l_l_d___a_p_i_ga5bfaf97236d417072fe606f24bb3c8ad.html new file mode 100644 index 0000000..f0b0cc9 --- /dev/null +++ b/ucs2-lib/doc/html/group___g___u_c_s___l_l_d___a_p_i_ga5bfaf97236d417072fe606f24bb3c8ad.html @@ -0,0 +1,133 @@ + + + + + +UNICENS: Ucs_Lld_RxAllocateCb_t + + + + + + + + + + + + + + + +
+
+
+ + + + + + + +
Logo +
UNICENS V2.1.0-3491
+
User Manual and API Reference
+ +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
+ + + + +
typedef Ucs_Lld_RxMsg_t*(* Ucs_Lld_RxAllocateCb_t)(void *inst_ptr, uint16_t buffer_size)
+
+ +

Allocates an Rx message object.

+
Parameters
+ + + +
inst_ptrReference to an internal UNICENS handler
buffer_sizeThe size in bytes of the received Rx message. Valid values: 6..72.
+
+
+
Returns
The Rx message object or NULL if no message object is available. In the latter case the low-level driver can wait until Ucs_Lld_RxMsgAvailableCb_t() is invoked. The low-level driver is allowed to pre-allocate Rx messages with the maximum size of 72 bytes. After writing received data into Ucs_Lld_RxMsg_t::data_ptr the low-level driver must set Ucs_Lld_RxMsg_t::data_size to the actual message size.
+
Warning
The function will also return NULL if the requested buffer_size exceeds the valid range. In such a case the UNICENS cannot guarantee that Ucs_Lld_RxMsgAvailableCb_t() is called as expected. Received messages exceeding the valid range must be discarded by the LLD.
+ +
+
+
+
+ + + + + + -- cgit 1.2.3-korg