Logo
UNICENS V2.1.0-3491
User Manual and API Reference
bool Ucs_Rm_GetNodeAvailable ( Ucs_Inst_t self,
Ucs_Rm_Node_t node_ptr 
)

Retrieves the "available" flag information of the given node.

This function can be used to check whether the given node has been set to "available" or "not available".

Parameters
selfThe UNICENS instance pointer.
node_ptrReference to the node to be looked for.
Returns
The "availability" flag of the given node.



Example

// Main function
void main(uint8_t argc, char *argv[])
{
// ...
if (Ucs_Rm_GetNodeAvailable(ucs_inst_ptr, &slim_mic_node))
{
// Do whatever is necessary to be done
}
}