From ec59d20bafb3acaaff2bbcab185a074825319e20 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Mon, 12 Jun 2017 11:17:04 +0200 Subject: Update package * use sub module for ucs2-lib (tmp fork from IoT.bzh github) * add packaging for native build Signed-off-by: Ronan Le Martret --- ..._data__t_ab3de88c423837727c463947f57895e49.html | 168 --------------------- 1 file changed, 168 deletions(-) delete mode 100644 ucs2-lib/doc/html/struct_ucs___rm___init_data__t_ab3de88c423837727c463947f57895e49.html (limited to 'ucs2-lib/doc/html/struct_ucs___rm___init_data__t_ab3de88c423837727c463947f57895e49.html') diff --git a/ucs2-lib/doc/html/struct_ucs___rm___init_data__t_ab3de88c423837727c463947f57895e49.html b/ucs2-lib/doc/html/struct_ucs___rm___init_data__t_ab3de88c423837727c463947f57895e49.html deleted file mode 100644 index b31a0a4..0000000 --- a/ucs2-lib/doc/html/struct_ucs___rm___init_data__t_ab3de88c423837727c463947f57895e49.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - -UNICENS: Ucs_Rm_InitData_t::xrm - - - - - - - - - - - - - - - -
-
-
- - - - - - - -
Logo -
UNICENS V2.1.0-3491
-
User Manual and API Reference
- -
-
- - - -
-
- -
-
-
- -
- - - - -
- -
- -
- -
-
- - - - -
Ucs_Xrm_InitData_t xrm
-
- -

Initialization structure of the Extended Resource Manager.

-


- Example

-
Ucs_InitData_t ucs_init_data;
-
(void)Ucs_SetDefaultConfig(&ucs_init_data);
-
-
// Routing Management init section.
-
ucs_init_data.rm.xrm.most_port_status_fptr = &App_MostPortStatusCb;
-
ucs_init_data.rm.xrm.check_unmute_fptr = &App_CheckUnmuteStatusCb;
-
ucs_init_data.rm.xrm.debug_resource_status_fptr = &App_OnDebuggingXrmResources;
-
-
// Handle MOST Port Status event here
-
void App_MostPortStatusCb(uint16_t most_port_handle,
-
Ucs_Most_PortAvail_t availability,
- -
uint16_t free_streaming_bw)
-
{
-
// Do what needs to be..
-
}
-
-
// Handle the Mute Pin check here
-
void App_CheckUnmuteStatusCb (uint16_t node_address)
-
{
-
// Check the state of the mute pin here before unmuting
-
}
-
-
// Debug interface for the XRM resources
-
void App_OnDebuggingXrmResources (Ucs_Xrm_ResourceType_t resource_type, Ucs_Xrm_ResObject_t *resource_ptr, Ucs_Xrm_ResourceInfos_t resource_infos, void *user_ptr)
-
{
-
switch (resource_infos)
-
{
- -
// Resource has been built
-
break;
- -
// resource has been destroyed
-
break;
- -
//Resource cannot be built
-
break;
-
default:
-
// Resource cannot be destroyed
-
break;
-
}
-
}
-
-
-
-
-
- - - - - - -- cgit 1.2.3-korg