co_register co_register_create(const char *name, co_type type); Header Fileco.h DescriptionThis function creates a register object. This function must be called from within the configuration function of your application. ArgumentsThe arguments for co_register_create are as follows:
Return ValueA pointer to the created register. This return value may subsequently be used as an argument to function co_process_create. It returns NULL and sets co_errno to CO_ENOERROR if the type argument is NULL. NotesRegister names, as specified in the first argument to co_register_create, must be unique across the application when using the Application Monitor. |